Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: set license headers #2985

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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';
Loading