Skip to content

Commit

Permalink
add copyrights
Browse files Browse the repository at this point in the history
  • Loading branch information
zhammer committed Jan 29, 2024
1 parent e009a25 commit 0c7b928
Show file tree
Hide file tree
Showing 65 changed files with 260 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/database/awards.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { v4 as uuid } from 'uuid';
import { Knex } from 'knex';
import { Award } from '@seatgeek/plugin-awards-common';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/database/awards.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import {
PluginDatabaseManager,
resolvePackagePath,
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './service/router';
export { awardsPlugin as default } from './plugin';
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { loggerToWinstonLogger } from '@backstage/backend-common';
import {
coreServices,
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/run.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { getRootLogger } from '@backstage/backend-common';
import yn from 'yn';
import { startStandaloneServer } from './service/standaloneServer';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/service/router.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { DatabaseManager, getVoidLogger } from '@backstage/backend-common';
import {
BackstageIdentityResponse,
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/service/router.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { PluginDatabaseManager, errorHandler } from '@backstage/backend-common';
import express from 'express';
import Router from 'express-promise-router';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/service/standaloneServer.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import {
createServiceBuilder,
DatabaseManager,
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-backend/src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export {};
4 changes: 4 additions & 0 deletions plugins/awards-common/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './types';
4 changes: 4 additions & 0 deletions plugins/awards-common/src/types/award.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export interface Award {
uid: string;
name: string;
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards-common/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './award';
4 changes: 4 additions & 0 deletions plugins/awards/dev/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { createDevApp } from '@backstage/dev-utils';
import { awardsPlugin, AwardsPage } from '../src/plugin';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/api/AwardsBackendClient.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { DiscoveryApi, FetchApi } from '@backstage/core-plugin-api';
import { Award } from '@seatgeek/plugin-awards-common';
import { AwardsApi } from './types';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export type { AwardsApi } from './types';
export { awardsApiRef } from './types';
export { AwardsBackendApi } from './AwardsBackendClient';
4 changes: 4 additions & 0 deletions plugins/awards/src/api/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { createApiRef } from '@backstage/core-plugin-api';
import { Award } from '@seatgeek/plugin-awards-common';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import {
InfoCard,
Progress,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { rest } from 'msw';
import { setupServer } from 'msw/node';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardEditComponent/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardsEditComponent } from './AwardEditComponent';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { Progress, ResponseErrorPanel } from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';
import React from 'react';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardOwnersComponent/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardOwnersComponent } from './AwardOwnersComponent';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { Progress, ResponseErrorPanel } from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';
import React from 'react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardRecipientsComponent } from './AwardRecipientsComponent';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import {
InfoCard,
Progress,
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardViewComponent/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardViewComponent } from './AwardViewComponent';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { rest } from 'msw';
import { setupServer } from 'msw/node';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { Grid } from '@material-ui/core';
import { Header, Page, Content } from '@backstage/core-components';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardsEditPage/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardsEditPage } from './AwardsEditPage';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import {
Table,
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardsListComponent/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardsListComponent } from './AwardsListComponent';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { rest } from 'msw';
import { setupServer } from 'msw/node';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { Grid } from '@material-ui/core';
import { Header, Page, Content, LinkButton } from '@backstage/core-components';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardsListPage/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardsListPage } from './AwardsListPage';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { rest } from 'msw';
import { setupServer } from 'msw/node';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardsNewPage/AwardsNewPage.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { Grid } from '@material-ui/core';
import { Header, Page, Content } from '@backstage/core-components';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardsNewPage/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardsNewPage } from './AwardsNewPage';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { Grid } from '@material-ui/core';
import { Header, Page, Content } from '@backstage/core-components';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/AwardsViewPage/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { AwardsViewPage } from './AwardsViewPage';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import {
InfoCard,
Link,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './UserAwardsCard';
4 changes: 4 additions & 0 deletions plugins/awards/src/components/Cards/User/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './UserAwardsCard';
4 changes: 4 additions & 0 deletions plugins/awards/src/components/Cards/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './User';
4 changes: 4 additions & 0 deletions plugins/awards/src/components/UserCollectionCard.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { UserEntity } from '@backstage/catalog-model';
import { Avatar, InfoCard } from '@backstage/core-components';
import { EntityRefLink } from '@backstage/plugin-catalog-react';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './Cards';
export { AwardsEditPage } from './AwardsEditPage';
export { AwardsListPage } from './AwardsListPage';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export { awardsPlugin, AwardsPage } from './plugin';
export { UserAwardsCard } from './components';
export * from './api';
4 changes: 4 additions & 0 deletions plugins/awards/src/plugin.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { awardsPlugin } from './plugin';

describe('awards', () => {
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import {
createApiFactory,
createPlugin,
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/router.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import React from 'react';
import { Route, Routes } from 'react-router-dom';
import { AwardsListPage } from './components/AwardsListPage';
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/routes.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { createRouteRef, createSubRouteRef } from '@backstage/core-plugin-api';

export const rootRouteRef = createRouteRef({
Expand Down
4 changes: 4 additions & 0 deletions plugins/awards/src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import '@testing-library/jest-dom';
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { getVoidLogger } from '@backstage/backend-common';
import { TaskInvocationDefinition, TaskRunner } from '@backstage/backend-tasks';
import { ConfigReader } from '@backstage/config';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
import { Config } from '@backstage/config';
import {
EntityProvider,
Expand Down
4 changes: 4 additions & 0 deletions plugins/catalog-backend-module-okta/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export * from './OktaOrgDiscoveryEntityProvider';
4 changes: 4 additions & 0 deletions plugins/catalog-backend-module-okta/src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/*
* Copyright SeatGeek
* Licensed under the terms of the Apache-2.0 license. See LICENSE file in project root for terms.
*/
export {};
Loading

0 comments on commit 0c7b928

Please sign in to comment.