Skip to content

Commit

Permalink
chore: set license headers (#2985)
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinbarron authored Jan 29, 2024
1 parent 92a6b5e commit 00fe946
Show file tree
Hide file tree
Showing 19 changed files with 126 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

interface SectionsConfig {
/**
* Gets or sets whether the organization section is shown
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import { MgtPersonCardConfig } from './MgtPersonCardConfig';
import { expect } from '@open-wc/testing';
import { getMgtPersonCardScopes } from './getMgtPersonCardScopes';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import { MgtPersonCardConfig } from './MgtPersonCardConfig';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

export interface IExpandable {
isExpanded: boolean;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

@import '../../styles/shared-styles';

:host fluent-search {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import * as MicrosoftGraph from '@microsoft/microsoft-graph-types';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

/* eslint-disable @typescript-eslint/no-unused-expressions */
/**
* -------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation.
Expand Down
6 changes: 6 additions & 0 deletions packages/mgt-components/src/components/preview/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/
7 changes: 7 additions & 0 deletions packages/mgt-components/src/graph/isGraphError.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import { GraphError } from '@microsoft/microsoft-graph-client';

export const isGraphError = (e: unknown): e is GraphError => {
Expand Down
7 changes: 7 additions & 0 deletions packages/mgt-components/src/registerMgtComponents.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import {
registerMgtAgendaComponent,
registerMgtFileComponent,
Expand Down
7 changes: 7 additions & 0 deletions packages/mgt-element/src/providers/IProvider.tests.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import { IProvider } from './IProvider';
import { SimpleProvider } from './SimpleProvider';
import { expect } from '@open-wc/testing';
Expand Down
7 changes: 7 additions & 0 deletions packages/mgt-element/src/providers/needsAdditionalScopes.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import { Providers } from './Providers';

/**
Expand Down
7 changes: 7 additions & 0 deletions packages/mgt-element/src/utils/GraphHelpers.tests.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

/* eslint-disable @typescript-eslint/no-unused-expressions */
/**
* -------------------------------------------------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions packages/mgt-element/src/utils/equals.tests.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

/* eslint-disable @typescript-eslint/no-unused-expressions */
/**
* -------------------------------------------------------------------------------------------
Expand Down
7 changes: 7 additions & 0 deletions packages/mgt-element/src/utils/registerComponent.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

import { customElementHelper } from '../components/customElementHelper';

export const buildComponentName = (tagBase: string) => `${customElementHelper.prefix}-${tagBase}`;
Expand Down
2 changes: 1 addition & 1 deletion packages/mgt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
"publishConfig": {
"directory": "dist"
}
}
}
7 changes: 7 additions & 0 deletions packages/providers/mgt-msal2-provider/src/exports.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

export * from './Msal2Provider';
export * from './mgt-msal2-provider';
7 changes: 7 additions & 0 deletions packages/providers/mgt-proxy-provider/src/exports.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
/**
* -------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License.
* See License in the project root for license information.
* -------------------------------------------------------------------------------------------
*/

export * from './mgt-proxy-provider';
export * from './ProxyProvider';

0 comments on commit 00fe946

Please sign in to comment.