diff options
Diffstat (limited to 'frontend-old/node_modules/@firebase/installations-compat')
17 files changed, 450 insertions, 0 deletions
diff --git a/frontend-old/node_modules/@firebase/installations-compat/README.md b/frontend-old/node_modules/@firebase/installations-compat/README.md new file mode 100644 index 0000000..9d1a651 --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/README.md @@ -0,0 +1,5 @@ +# @firebase/installations-compat + +This is a compatability layer for the Firebase Installations SDK + +**This package is not intended for direct usage, and should only be used via the officially supported [firebase](https://www.npmjs.com/package/firebase) package.**
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/index.esm.js b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/index.esm.js new file mode 100644 index 0000000..2c6b46e --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/index.esm.js @@ -0,0 +1,70 @@ +import firebase from '@firebase/app-compat'; +import { Component } from '@firebase/component'; +import { getId, getToken, deleteInstallations, onIdChange } from '@firebase/installations'; + +const name = "@firebase/installations-compat"; +const version = "0.2.19"; + +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class InstallationsCompat { + constructor(app, _delegate) { + this.app = app; + this._delegate = _delegate; + } + getId() { + return getId(this._delegate); + } + getToken(forceRefresh) { + return getToken(this._delegate, forceRefresh); + } + delete() { + return deleteInstallations(this._delegate); + } + onIdChange(callback) { + return onIdChange(this._delegate, callback); + } +} + +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +function registerInstallations(instance) { + instance.INTERNAL.registerComponent(new Component('installations-compat', container => { + const app = container.getProvider('app-compat').getImmediate(); + const installations = container + .getProvider('installations') + .getImmediate(); + return new InstallationsCompat(app, installations); + }, "PUBLIC" /* ComponentType.PUBLIC */)); + instance.registerVersion(name, version); +} +registerInstallations(firebase); +//# sourceMappingURL=index.esm.js.map diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/index.esm.js.map b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/index.esm.js.map new file mode 100644 index 0000000..ab9376b --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/index.esm.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.esm.js","sources":["../../src/installationsCompat.ts","../../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\nimport {\n Installations,\n deleteInstallations,\n getId,\n getToken,\n IdChangeCallbackFn,\n IdChangeUnsubscribeFn,\n onIdChange\n} from '@firebase/installations';\n\nexport class InstallationsCompat\n implements FirebaseInstallationsCompat, _FirebaseService\n{\n constructor(public app: FirebaseApp, readonly _delegate: Installations) {}\n\n getId(): Promise<string> {\n return getId(this._delegate);\n }\n getToken(forceRefresh?: boolean): Promise<string> {\n return getToken(this._delegate, forceRefresh);\n }\n delete(): Promise<void> {\n return deleteInstallations(this._delegate);\n }\n onIdChange(callback: IdChangeCallbackFn): IdChangeUnsubscribeFn {\n return onIdChange(this._delegate, callback);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport { name, version } from '../package.json';\nimport { Component, ComponentType } from '@firebase/component';\nimport { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types';\nimport { InstallationsCompat } from './installationsCompat';\n\ndeclare module '@firebase/component' {\n interface NameServiceMapping {\n 'installations-compat': FirebaseInstallationsCompat;\n }\n}\n\nfunction registerInstallations(instance: _FirebaseNamespace): void {\n instance.INTERNAL.registerComponent(\n new Component(\n 'installations-compat',\n container => {\n const app = container.getProvider('app-compat').getImmediate()!;\n const installations = container\n .getProvider('installations')\n .getImmediate()!;\n return new InstallationsCompat(app, installations);\n },\n ComponentType.PUBLIC\n )\n );\n\n instance.registerVersion(name, version);\n}\n\nregisterInstallations(firebase as _FirebaseNamespace);\n\n/**\n * Define extension behavior of `registerInstallations`\n */\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n installations(app?: FirebaseApp): FirebaseInstallationsCompat;\n }\n interface FirebaseApp {\n installations(): FirebaseInstallationsCompat;\n }\n}\n"],"names":[],"mappings":";;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAcU,mBAAmB,CAAA;IAG9B,WAAmB,CAAA,GAAgB,EAAW,SAAwB,EAAA;QAAnD,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QAAW,IAAS,CAAA,SAAA,GAAT,SAAS,CAAe;KAAI;IAE1E,KAAK,GAAA;AACH,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC9B;AACD,IAAA,QAAQ,CAAC,YAAsB,EAAA;QAC7B,OAAO,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;KAC/C;IACD,MAAM,GAAA;AACJ,QAAA,OAAO,mBAAmB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC5C;AACD,IAAA,UAAU,CAAC,QAA4B,EAAA;QACrC,OAAO,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;KAC7C;AACF;;AC9CD;;;;;;;;;;;;;;;AAeG;AAcH,SAAS,qBAAqB,CAAC,QAA4B,EAAA;AACzD,IAAA,QAAQ,CAAC,QAAQ,CAAC,iBAAiB,CACjC,IAAI,SAAS,CACX,sBAAsB,EACtB,SAAS,IAAG;QACV,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAG,CAAC;QAChE,MAAM,aAAa,GAAG,SAAS;aAC5B,WAAW,CAAC,eAAe,CAAC;AAC5B,aAAA,YAAY,EAAG,CAAC;AACnB,QAAA,OAAO,IAAI,mBAAmB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;KACpD,EAAA,QAAA,4BAEF,CACF,CAAC;AAEF,IAAA,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AAC1C,CAAC;AAED,qBAAqB,CAAC,QAA8B,CAAC"}
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/package.json b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/package.json new file mode 100644 index 0000000..7c34deb --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/package.json @@ -0,0 +1 @@ +{"type":"module"}
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/index.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/index.d.ts new file mode 100644 index 0000000..1d6f1ac --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/index.d.ts @@ -0,0 +1,33 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types'; +declare module '@firebase/component' { + interface NameServiceMapping { + 'installations-compat': FirebaseInstallationsCompat; + } +} +/** + * Define extension behavior of `registerInstallations` + */ +declare module '@firebase/app-compat' { + interface FirebaseNamespace { + installations(app?: FirebaseApp): FirebaseInstallationsCompat; + } + interface FirebaseApp { + installations(): FirebaseInstallationsCompat; + } +} diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.d.ts new file mode 100644 index 0000000..de08cca --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.d.ts @@ -0,0 +1,28 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types'; +import { FirebaseApp, _FirebaseService } from '@firebase/app-compat'; +import { Installations, IdChangeCallbackFn, IdChangeUnsubscribeFn } from '@firebase/installations'; +export declare class InstallationsCompat implements FirebaseInstallationsCompat, _FirebaseService { + app: FirebaseApp; + readonly _delegate: Installations; + constructor(app: FirebaseApp, _delegate: Installations); + getId(): Promise<string>; + getToken(forceRefresh?: boolean): Promise<string>; + delete(): Promise<void>; + onIdChange(callback: IdChangeCallbackFn): IdChangeUnsubscribeFn; +} diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.test.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.test.d.ts new file mode 100644 index 0000000..b219bb7 --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/installationsCompat.test.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import './testing/setup'; diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/setup.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/setup.d.ts new file mode 100644 index 0000000..731d2d9 --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/setup.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export {}; diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/util.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/util.d.ts new file mode 100644 index 0000000..b944c7d --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/esm/src/testing/util.d.ts @@ -0,0 +1,20 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { FirebaseApp } from '@firebase/app-compat'; +import { Installations } from '@firebase/installations'; +export declare function getFakeApp(): FirebaseApp; +export declare function getFakeInstallations(): Installations; diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/index.cjs.js b/frontend-old/node_modules/@firebase/installations-compat/dist/index.cjs.js new file mode 100644 index 0000000..3bcb2f9 --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/index.cjs.js @@ -0,0 +1,76 @@ +'use strict'; + +var firebase = require('@firebase/app-compat'); +var component = require('@firebase/component'); +var installations = require('@firebase/installations'); + +function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + +var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase); + +const name = "@firebase/installations-compat"; +const version = "0.2.19"; + +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +class InstallationsCompat { + constructor(app, _delegate) { + this.app = app; + this._delegate = _delegate; + } + getId() { + return installations.getId(this._delegate); + } + getToken(forceRefresh) { + return installations.getToken(this._delegate, forceRefresh); + } + delete() { + return installations.deleteInstallations(this._delegate); + } + onIdChange(callback) { + return installations.onIdChange(this._delegate, callback); + } +} + +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +function registerInstallations(instance) { + instance.INTERNAL.registerComponent(new component.Component('installations-compat', container => { + const app = container.getProvider('app-compat').getImmediate(); + const installations = container + .getProvider('installations') + .getImmediate(); + return new InstallationsCompat(app, installations); + }, "PUBLIC" /* ComponentType.PUBLIC */)); + instance.registerVersion(name, version); +} +registerInstallations(firebase__default["default"]); +//# sourceMappingURL=index.cjs.js.map diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/index.cjs.js.map b/frontend-old/node_modules/@firebase/installations-compat/dist/index.cjs.js.map new file mode 100644 index 0000000..79117cb --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/index.cjs.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.cjs.js","sources":["../src/installationsCompat.ts","../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\nimport {\n Installations,\n deleteInstallations,\n getId,\n getToken,\n IdChangeCallbackFn,\n IdChangeUnsubscribeFn,\n onIdChange\n} from '@firebase/installations';\n\nexport class InstallationsCompat\n implements FirebaseInstallationsCompat, _FirebaseService\n{\n constructor(public app: FirebaseApp, readonly _delegate: Installations) {}\n\n getId(): Promise<string> {\n return getId(this._delegate);\n }\n getToken(forceRefresh?: boolean): Promise<string> {\n return getToken(this._delegate, forceRefresh);\n }\n delete(): Promise<void> {\n return deleteInstallations(this._delegate);\n }\n onIdChange(callback: IdChangeCallbackFn): IdChangeUnsubscribeFn {\n return onIdChange(this._delegate, callback);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport { name, version } from '../package.json';\nimport { Component, ComponentType } from '@firebase/component';\nimport { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types';\nimport { InstallationsCompat } from './installationsCompat';\n\ndeclare module '@firebase/component' {\n interface NameServiceMapping {\n 'installations-compat': FirebaseInstallationsCompat;\n }\n}\n\nfunction registerInstallations(instance: _FirebaseNamespace): void {\n instance.INTERNAL.registerComponent(\n new Component(\n 'installations-compat',\n container => {\n const app = container.getProvider('app-compat').getImmediate()!;\n const installations = container\n .getProvider('installations')\n .getImmediate()!;\n return new InstallationsCompat(app, installations);\n },\n ComponentType.PUBLIC\n )\n );\n\n instance.registerVersion(name, version);\n}\n\nregisterInstallations(firebase as _FirebaseNamespace);\n\n/**\n * Define extension behavior of `registerInstallations`\n */\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n installations(app?: FirebaseApp): FirebaseInstallationsCompat;\n }\n interface FirebaseApp {\n installations(): FirebaseInstallationsCompat;\n }\n}\n"],"names":["getId","getToken","deleteInstallations","onIdChange","Component","firebase"],"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAcU,mBAAmB,CAAA;IAG9B,WAAmB,CAAA,GAAgB,EAAW,SAAwB,EAAA;QAAnD,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QAAW,IAAS,CAAA,SAAA,GAAT,SAAS,CAAe;KAAI;IAE1E,KAAK,GAAA;AACH,QAAA,OAAOA,mBAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC9B;AACD,IAAA,QAAQ,CAAC,YAAsB,EAAA;QAC7B,OAAOC,sBAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;KAC/C;IACD,MAAM,GAAA;AACJ,QAAA,OAAOC,iCAAmB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC5C;AACD,IAAA,UAAU,CAAC,QAA4B,EAAA;QACrC,OAAOC,wBAAU,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;KAC7C;AACF;;AC9CD;;;;;;;;;;;;;;;AAeG;AAcH,SAAS,qBAAqB,CAAC,QAA4B,EAAA;AACzD,IAAA,QAAQ,CAAC,QAAQ,CAAC,iBAAiB,CACjC,IAAIC,mBAAS,CACX,sBAAsB,EACtB,SAAS,IAAG;QACV,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAG,CAAC;QAChE,MAAM,aAAa,GAAG,SAAS;aAC5B,WAAW,CAAC,eAAe,CAAC;AAC5B,aAAA,YAAY,EAAG,CAAC;AACnB,QAAA,OAAO,IAAI,mBAAmB,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC;KACpD,EAAA,QAAA,4BAEF,CACF,CAAC;AAEF,IAAA,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;AAC1C,CAAC;AAED,qBAAqB,CAACC,4BAA8B,CAAC;;"}
\ No newline at end of file diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/src/index.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/src/index.d.ts new file mode 100644 index 0000000..1d6f1ac --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/src/index.d.ts @@ -0,0 +1,33 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types'; +declare module '@firebase/component' { + interface NameServiceMapping { + 'installations-compat': FirebaseInstallationsCompat; + } +} +/** + * Define extension behavior of `registerInstallations` + */ +declare module '@firebase/app-compat' { + interface FirebaseNamespace { + installations(app?: FirebaseApp): FirebaseInstallationsCompat; + } + interface FirebaseApp { + installations(): FirebaseInstallationsCompat; + } +} diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/src/installationsCompat.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/src/installationsCompat.d.ts new file mode 100644 index 0000000..de08cca --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/src/installationsCompat.d.ts @@ -0,0 +1,28 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { FirebaseInstallations as FirebaseInstallationsCompat } from '@firebase/installations-types'; +import { FirebaseApp, _FirebaseService } from '@firebase/app-compat'; +import { Installations, IdChangeCallbackFn, IdChangeUnsubscribeFn } from '@firebase/installations'; +export declare class InstallationsCompat implements FirebaseInstallationsCompat, _FirebaseService { + app: FirebaseApp; + readonly _delegate: Installations; + constructor(app: FirebaseApp, _delegate: Installations); + getId(): Promise<string>; + getToken(forceRefresh?: boolean): Promise<string>; + delete(): Promise<void>; + onIdChange(callback: IdChangeCallbackFn): IdChangeUnsubscribeFn; +} diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/src/installationsCompat.test.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/src/installationsCompat.test.d.ts new file mode 100644 index 0000000..b219bb7 --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/src/installationsCompat.test.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import './testing/setup'; diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/src/testing/setup.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/src/testing/setup.d.ts new file mode 100644 index 0000000..731d2d9 --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/src/testing/setup.d.ts @@ -0,0 +1,17 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export {}; diff --git a/frontend-old/node_modules/@firebase/installations-compat/dist/src/testing/util.d.ts b/frontend-old/node_modules/@firebase/installations-compat/dist/src/testing/util.d.ts new file mode 100644 index 0000000..b944c7d --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/dist/src/testing/util.d.ts @@ -0,0 +1,20 @@ +/** + * @license + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { FirebaseApp } from '@firebase/app-compat'; +import { Installations } from '@firebase/installations'; +export declare function getFakeApp(): FirebaseApp; +export declare function getFakeInstallations(): Installations; diff --git a/frontend-old/node_modules/@firebase/installations-compat/package.json b/frontend-old/node_modules/@firebase/installations-compat/package.json new file mode 100644 index 0000000..3651d20 --- /dev/null +++ b/frontend-old/node_modules/@firebase/installations-compat/package.json @@ -0,0 +1,66 @@ +{ + "name": "@firebase/installations-compat", + "version": "0.2.19", + "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", + "main": "dist/index.cjs.js", + "module": "dist/esm/index.esm.js", + "browser": "dist/esm/index.esm.js", + "exports": { + ".": { + "types": "./dist/src/index.d.ts", + "require": "./dist/index.cjs.js", + "default": "./dist/esm/index.esm.js" + }, + "./package.json": "./package.json" + }, + "typings": "dist/src/index.d.ts", + "license": "Apache-2.0", + "files": [ + "dist" + ], + "scripts": { + "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", + "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'", + "build": "rollup -c", + "build:deps": "lerna run --scope @firebase/installations-compat --include-dependencies build", + "build:release": "rollup -c rollup.config.release.js", + "dev": "rollup -c -w", + "test": "yarn type-check && yarn test:karma && yarn lint", + "test:ci": "node ../../scripts/run_tests_in_ci.js", + "test:karma": "karma start", + "test:debug": "karma start --browsers=Chrome --auto-watch", + "trusted-type-check": "tsec -p tsconfig.json --noEmit", + "type-check": "tsc -p . --noEmit", + "serve": "yarn serve:build && yarn serve:host", + "serve:build": "rollup -c test-app/rollup.config.js", + "serve:host": "http-server -c-1 test-app" + }, + "repository": { + "directory": "packages/installations-compat", + "type": "git", + "url": "git+https://github.com/firebase/firebase-js-sdk.git" + }, + "bugs": { + "url": "https://github.com/firebase/firebase-js-sdk/issues" + }, + "devDependencies": { + "@firebase/app-compat": "0.5.0", + "rollup": "2.79.2", + "@rollup/plugin-commonjs": "21.1.0", + "@rollup/plugin-json": "6.1.0", + "@rollup/plugin-node-resolve": "16.0.0", + "rollup-plugin-typescript2": "0.36.0", + "rollup-plugin-uglify": "6.0.4", + "typescript": "5.5.4" + }, + "peerDependencies": { + "@firebase/app-compat": "0.x" + }, + "dependencies": { + "@firebase/installations": "0.6.19", + "@firebase/installations-types": "0.5.3", + "@firebase/util": "1.13.0", + "@firebase/component": "0.7.0", + "tslib": "^2.1.0" + } +} |
