Skip to content

Commit 3ab4140

Browse files
committed
chore: adds copyright headers
Signed-off-by: Rifa Achrinza <[email protected]>
1 parent d4737ff commit 3ab4140

18 files changed

+88
-1
lines changed

functions/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@
3030
"@types/chai": "^4.2.0",
3131
"ts-node": "^8.8.2"
3232
},
33-
"private": true
33+
"private": true,
34+
"license": "GPL-3.0+",
35+
"copyright.owner": "Singapore Government Agency"
3436
}

functions/src/config.example.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import FunctionConfig from "./opentrace/types/FunctionConfig";
27
import Authenticator from "./opentrace/utils/Authenticator";
38
import PinGenerator from "./opentrace/utils/PinGenerator";

functions/src/firebaseFunctions.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import * as functions from "firebase-functions";
27

38
import config from "./config";

functions/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import * as admin from "firebase-admin";
27
admin.initializeApp();
38

functions/src/opentrace/getHandshakePin.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import * as functions from "firebase-functions";
27

38
import config from "../config";

functions/src/opentrace/getTempIDs.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import * as moment from "moment";
27

38
import config from "../config";

functions/src/opentrace/getUploadToken.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import * as functions from "firebase-functions";
27
import * as admin from "firebase-admin";
38

functions/src/opentrace/processUploadedData.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import * as functions from "firebase-functions";
27
import {ObjectMetadata} from "firebase-functions/lib/providers/storage";
38

functions/src/opentrace/types/FunctionConfig.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
import Authenticator from "../utils/Authenticator";
27
import PinGenerator from "../utils/PinGenerator";
38

functions/src/opentrace/types/HeartBeatEvent.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright Singapore Government Agency 2020. All Rights Reserved.
2+
// Node module: functions
3+
// This file is licensed under the GNU General Public License v3.0 or later.
4+
// License text available at https://www.gnu.org/licenses/gpl-3.0-standalone.html
5+
16
interface HeartBeatEvent {
27
timestamp: number,
38
msg?: string,

0 commit comments

Comments
 (0)