@dereekb/firebase-server 10.0.5 → 10.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/mailgun/package.json +1 -1
- package/mailgun/src/lib/auth.mailgun.d.ts +2 -2
- package/mailgun/src/lib/auth.mailgun.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/auth/auth.context.d.ts +3 -3
- package/src/lib/auth/auth.service.d.ts +6 -6
- package/src/lib/auth/auth.service.js.map +1 -1
- package/src/lib/auth/auth.util.d.ts +2 -2
- package/src/lib/auth/auth.util.js.map +1 -1
- package/src/lib/firestore/driver.accessor.batch.d.ts +3 -3
- package/src/lib/firestore/driver.accessor.batch.js.map +1 -1
- package/src/lib/firestore/driver.accessor.d.ts +1 -1
- package/src/lib/firestore/driver.accessor.default.d.ts +3 -3
- package/src/lib/firestore/driver.accessor.default.js.map +1 -1
- package/src/lib/firestore/driver.accessor.transaction.d.ts +3 -3
- package/src/lib/firestore/driver.accessor.transaction.js.map +1 -1
- package/src/lib/firestore/driver.d.ts +1 -1
- package/src/lib/firestore/driver.query.d.ts +2 -2
- package/src/lib/firestore/driver.query.js.map +1 -1
- package/src/lib/firestore/firestore.d.ts +1 -1
- package/src/lib/firestore/firestore.js.map +1 -1
- package/src/lib/firestore/increment.d.ts +1 -1
- package/src/lib/function/assert.d.ts +2 -2
- package/src/lib/function/assert.js.map +1 -1
- package/src/lib/function/context.d.ts +1 -1
- package/src/lib/function/error.auth.d.ts +2 -2
- package/src/lib/function/error.d.ts +4 -4
- package/src/lib/function/error.js.map +1 -1
- package/src/lib/function/type.d.ts +3 -3
- package/src/lib/nest/app.d.ts +5 -5
- package/src/lib/nest/app.js.map +1 -1
- package/src/lib/nest/auth/auth.module.d.ts +3 -3
- package/src/lib/nest/auth/auth.module.js.map +1 -1
- package/src/lib/nest/auth/auth.util.d.ts +4 -4
- package/src/lib/nest/auth/auth.util.js.map +1 -1
- package/src/lib/nest/development/development.app.function.d.ts +8 -8
- package/src/lib/nest/development/development.app.function.js +2 -2
- package/src/lib/nest/development/development.app.function.js.map +1 -1
- package/src/lib/nest/development/development.assert.function.d.ts +1 -1
- package/src/lib/nest/development/development.function.d.ts +5 -5
- package/src/lib/nest/development/development.function.js.map +1 -1
- package/src/lib/nest/development/development.schedule.function.d.ts +3 -3
- package/src/lib/nest/env/env.service.d.ts +1 -1
- package/src/lib/nest/env/env.util.d.ts +2 -2
- package/src/lib/nest/firebase/firebase.module.d.ts +2 -2
- package/src/lib/nest/firestore/firestore.module.d.ts +3 -3
- package/src/lib/nest/firestore/firestore.module.js.map +1 -1
- package/src/lib/nest/function/call.d.ts +4 -4
- package/src/lib/nest/function/context.d.ts +1 -1
- package/src/lib/nest/function/context.js.map +1 -1
- package/src/lib/nest/function/nest.d.ts +3 -3
- package/src/lib/nest/function/schedule.d.ts +3 -3
- package/src/lib/nest/function/v1/call.d.ts +4 -4
- package/src/lib/nest/function/v1/call.js.map +1 -1
- package/src/lib/nest/function/v1/event.d.ts +5 -5
- package/src/lib/nest/function/v1/schedule.d.ts +3 -3
- package/src/lib/nest/function/v1/schedule.js.map +1 -1
- package/src/lib/nest/function/v2/blocking.d.ts +4 -4
- package/src/lib/nest/function/v2/call.d.ts +3 -3
- package/src/lib/nest/function/v2/call.js.map +1 -1
- package/src/lib/nest/function/v2/event.d.ts +4 -4
- package/src/lib/nest/function/v2/schedule.d.ts +4 -4
- package/src/lib/nest/function/v2/schedule.js.map +1 -1
- package/src/lib/nest/function/v2/taskqueue.d.ts +4 -4
- package/src/lib/nest/middleware/appcheck.d.ts +1 -1
- package/src/lib/nest/middleware/appcheck.decorator.js.map +1 -1
- package/src/lib/nest/middleware/appcheck.middleware.d.ts +4 -4
- package/src/lib/nest/middleware/appcheck.middleware.js.map +1 -1
- package/src/lib/nest/middleware/appcheck.module.d.ts +1 -1
- package/src/lib/nest/middleware/appcheck.module.js.map +1 -1
- package/src/lib/nest/middleware/rawbody.middleware.d.ts +3 -3
- package/src/lib/nest/middleware/rawbody.middleware.js.map +1 -1
- package/src/lib/nest/middleware/webhook.d.ts +1 -1
- package/src/lib/nest/middleware/webhook.js.map +1 -1
- package/src/lib/nest/model/create.model.function.d.ts +5 -5
- package/src/lib/nest/model/create.model.function.js.map +1 -1
- package/src/lib/nest/model/crud.assert.function.d.ts +2 -2
- package/src/lib/nest/model/delete.model.function.d.ts +5 -5
- package/src/lib/nest/model/delete.model.function.js.map +1 -1
- package/src/lib/nest/model/permission.error.d.ts +1 -1
- package/src/lib/nest/model/read.model.function.d.ts +5 -5
- package/src/lib/nest/model/read.model.function.js.map +1 -1
- package/src/lib/nest/model/specifier.function.d.ts +3 -3
- package/src/lib/nest/model/specifier.function.js.map +1 -1
- package/src/lib/nest/model/update.model.function.d.ts +5 -5
- package/src/lib/nest/model/update.model.function.js.map +1 -1
- package/src/lib/nest/nest.provider.d.ts +8 -8
- package/src/lib/nest/nest.provider.js.map +1 -1
- package/src/lib/nest/storage/storage.module.d.ts +3 -3
- package/src/lib/nest/storage/storage.module.js.map +1 -1
- package/src/lib/storage/driver.accessor.d.ts +3 -3
- package/src/lib/storage/driver.accessor.js.map +1 -1
- package/src/lib/storage/driver.d.ts +1 -1
- package/src/lib/storage/storage.d.ts +3 -3
- package/src/lib/storage/storage.js.map +1 -1
- package/src/lib/storage/storage.service.d.ts +1 -1
- package/test/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InjectionToken, ModuleMetadata, Provider } from '@nestjs/common';
|
|
2
|
-
import { FirestoreContext } from '@dereekb/firebase';
|
|
3
|
-
import { ClassLikeType } from '@dereekb/util';
|
|
1
|
+
import { type InjectionToken, type ModuleMetadata, type Provider } from '@nestjs/common';
|
|
2
|
+
import { type FirestoreContext } from '@dereekb/firebase';
|
|
3
|
+
import { type ClassLikeType } from '@dereekb/util';
|
|
4
4
|
/**
|
|
5
5
|
* Token to access the Firestore.
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firestore.module.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/firestore/firestore.module.ts"],"names":[],"mappings":";;;;AACA,
|
|
1
|
+
{"version":3,"file":"firestore.module.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/firestore/firestore.module.ts"],"names":[],"mappings":";;;;AACA,2CAAiG;AAGjG,yDAA+E;AAC/E,iEAAiE;AAEjE,eAAe;AACf;;GAEG;AACU,QAAA,wBAAwB,GAAmB,0BAA0B,CAAC;AAEnF;;GAEG;AACU,QAAA,gCAAgC,GAAmB,kCAAkC,CAAC;AAEnG;;GAEG;AAWI,IAAM,6BAA6B,2CAAnC,MAAM,6BAA6B;CAAG,CAAA;wCAAhC,6BAA6B;IAVzC,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,gCAAwB;gBACjC,UAAU,EAAE,CAAC,GAAkB,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,EAAE;gBACnD,MAAM,EAAE,CAAC,oCAAkB,CAAC;aAC7B;SACF;QACD,OAAO,EAAE,CAAC,gCAAwB,CAAC;KACpC,CAAC;GACW,6BAA6B,CAAG;AAE7C;;GAEG;AAYI,IAAM,oCAAoC,kDAA1C,MAAM,oCAAoC;CAAG,CAAA;+CAAvC,oCAAoC;IAXhD,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,6BAA6B,CAAC;QACxC,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,wCAAgC;gBACzC,UAAU,EAAE,8CAAkC;gBAC9C,MAAM,EAAE,CAAC,gCAAwB,CAAC;aACnC;SACF;QACD,OAAO,EAAE,CAAC,6BAA6B,EAAE,wCAAgC,CAAC;KAC3E,CAAC;GACW,oCAAoC,CAAG;AAUpD;;;;;;GAMG;AACH,SAAgB,8BAA8B,CAAI,EAAE,OAAO,EAAE,UAAU,EAA2C;IAChH,OAAO;QACL;YACE,OAAO;YACP,UAAU;YACV,MAAM,EAAE,CAAC,wCAAgC,CAAC;SAC3C;KACF,CAAC;AACJ,CAAC;AARD,wEAQC;AAKD;;;;;;GAMG;AACH,SAAgB,0BAA0B,CAAI,MAAkD;;IAC9F,OAAO;QACL,OAAO,EAAE,CAAC,oCAAoC,EAAE,GAAG,CAAC,MAAA,MAAM,CAAC,OAAO,mCAAI,EAAE,CAAC,CAAC;QAC1E,OAAO,EAAE,CAAC,oCAAoC,EAAE,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,MAAA,MAAM,CAAC,OAAO,mCAAI,EAAE,CAAC,CAAC;QAC1F,SAAS,EAAE,CAAC,GAAG,8BAA8B,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,MAAA,MAAM,CAAC,SAAS,mCAAI,EAAE,CAAC,CAAC;KACpF,CAAC;AACJ,CAAC;AAND,gEAMC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { CallableRequest } from 'firebase-functions/lib/common/providers/https';
|
|
3
|
-
import { NestApplicationContextRequest, NestContextCallableRequest, NestContextCallableRequestWithAuth } from './nest';
|
|
4
|
-
import { MakeNestContext } from '../nest.provider';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type CallableRequest } from 'firebase-functions/lib/common/providers/https';
|
|
3
|
+
import { type NestApplicationContextRequest, type NestContextCallableRequest, type NestContextCallableRequestWithAuth } from './nest';
|
|
4
|
+
import { type MakeNestContext } from '../nest.provider';
|
|
5
5
|
export type OnCallWithNestApplicationRequest<I> = NestApplicationContextRequest<CallableRequest<I>>;
|
|
6
6
|
/**
|
|
7
7
|
* Runnable function that is passed an INestApplicationContext in addition to the usual data/context provided by firebase.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TransformAndValidateFunctionResultFactory, TransformAndValidateObjectFactory } from '@dereekb/model';
|
|
1
|
+
import { type TransformAndValidateFunctionResultFactory, type TransformAndValidateObjectFactory } from '@dereekb/model';
|
|
2
2
|
/**
|
|
3
3
|
* Context used for building FirebaseServerActions. It contains references to reusable factories.
|
|
4
4
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/function/context.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/function/context.ts"],"names":[],"mappings":";;;AACA,0CAAwM;AACxM,2CAAoE;AACpE,wCAAoD;AACpD,gDAAuD;AAQvD,MAAsB,oCAAoC;CAGzD;AAHD,oFAGC;AAED,SAAgB,4BAA4B,CAAC,QAAqE;IAChH,yBACK,qCAAqC,CAAC,QAAQ,CAAC,EAClD;AACJ,CAAC;AAJD,oEAIC;AAMM,MAAM,4DAA4D,GAA0D,CAAC,OAAO,EAAE,EAAE;IAC7I,OAAO,CAAC,GAAG,CAAC,wEAAwE,EAAE,OAAO,CAAC,CAAC;AACjG,CAAC,CAAC;AAFW,QAAA,4DAA4D,gEAEvE;AAUF,SAAgB,qCAAqC,CAAC,QAAqE;IACzH,MAAM,oCAAoC,GAAG,qCAAqC,CAAC,QAAQ,CAAC,CAAC;IAC7F,MAAM,4CAA4C,GAAG,IAAA,mDAA2C,EAAC,oCAAoC,CAAC,CAAC;IAEvI,OAAO;QACL,oCAAoC;QACpC,4CAA4C;KAC7C,CAAC;AACJ,CAAC;AARD,sFAQC;AAED,SAAgB,qCAAqC,CAAC,WAAuE,KAAK;IAChI,MAAM,8BAA8B,GAAG,IAAI,uBAAc,EAAE,CAAC,sBAAsB,EAAE,CAAC;IACrF,MAAM,gBAAgB,GAAG,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,QAAQ,KAAK,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oEAA4D,CAAC,CAAC,CAAC,CAAC,0BAAmB,CAAC;IAE/K,OAAO,IAAA,yCAAiC,EAAC;QACvC,qBAAqB,EAAE,CAAC,eAAkC,EAAE,EAAE;YAC5D,MAAM,SAAS,GAAG,8BAA8B,CAAC,eAAe,CAAC,CAAC;YAClE,MAAM,OAAO,GAAI,SAA2B,CAAC,WAAW,EAAE,CAAC;YAC3D,gBAAgB,CAAC,OAAiB,CAAC,CAAC;YACpC,MAAM,IAAA,uBAAe,EAAC;gBACpB,IAAI,EAAE,kBAAkB;gBACxB,OAAO,EAAE,mDAAmD;gBAC5D,IAAI,EAAE,OAAO;aACd,CAAC,CAAC;QACL,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAhBD,sFAgBC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { INestApplicationContext } from '@nestjs/common';
|
|
2
|
-
import { CallableRequest } from 'firebase-functions/lib/common/providers/https';
|
|
3
|
-
import { CallableContextWithAuthData } from '../../function/context';
|
|
1
|
+
import { type INestApplicationContext } from '@nestjs/common';
|
|
2
|
+
import { type CallableRequest } from 'firebase-functions/lib/common/providers/https';
|
|
3
|
+
import { type CallableContextWithAuthData } from '../../function/context';
|
|
4
4
|
export type NestApplicationContextRequest<R> = R & {
|
|
5
5
|
readonly nestApplication: INestApplicationContext;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Minutes, PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { MakeNestContext, NestApplicationFunctionFactory } from '../nest.provider';
|
|
3
|
-
import { NestApplicationContextRequest, NestContextRequest } from './nest';
|
|
1
|
+
import { type Minutes, type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type MakeNestContext, type NestApplicationFunctionFactory } from '../nest.provider';
|
|
3
|
+
import { type NestApplicationContextRequest, type NestContextRequest } from './nest';
|
|
4
4
|
export interface OnScheduleConfig {
|
|
5
5
|
/**
|
|
6
6
|
* Scheduled time in a cron-tab format.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as functions from 'firebase-functions';
|
|
2
|
-
import { INestApplicationContext } from '@nestjs/common';
|
|
3
|
-
import { RunnableHttpFunction } from '../../../function/type';
|
|
4
|
-
import { MakeNestContext, NestApplicationFunctionFactory } from '../../nest.provider';
|
|
5
|
-
import { OnCallWithNestApplication, OnCallWithNestApplicationRequest, OnCallWithNestContext } from '../call';
|
|
2
|
+
import { type INestApplicationContext } from '@nestjs/common';
|
|
3
|
+
import { type RunnableHttpFunction } from '../../../function/type';
|
|
4
|
+
import { type MakeNestContext, type NestApplicationFunctionFactory } from '../../nest.provider';
|
|
5
|
+
import { type OnCallWithNestApplication, type OnCallWithNestApplicationRequest, type OnCallWithNestContext } from '../call';
|
|
6
6
|
export declare function makeOnCallWithNestApplicationRequest<I>(nestApplication: INestApplicationContext, data: I, context: functions.https.CallableContext): OnCallWithNestApplicationRequest<I>;
|
|
7
7
|
export type NestApplicationRunnableHttpFunctionFactory<I> = NestApplicationFunctionFactory<RunnableHttpFunction<I>>;
|
|
8
8
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v1/call.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAIhD,
|
|
1
|
+
{"version":3,"file":"call.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v1/call.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAIhD,kCAAqJ;AACrJ,wCAAoD;AAEpD,SAAgB,oCAAoC,CAAI,eAAwC,EAAE,IAAO,EAAE,OAAwC;IACjJ,uCACK,OAAO,KACV,eAAe;QACf,IAAI,IACJ;AACJ,CAAC;AAND,oFAMC;AAYD;;;;;GAKG;AACH,SAAgB,gCAAgC,CAAC,kBAAiF,IAAA,0BAAmB,GAAE;IACrJ,MAAM,gBAAgB,GAAG,eAAe,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;IAChE,OAAO,CAAO,EAAmC,EAAE,EAAE;QACnD,OAAO,CAAC,oBAAkD,EAAE,EAAE,CAAC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAO,EAAE,OAAwC,EAAE,EAAE,CAAC,oBAAoB,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,oCAAoC,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IACtP,CAAC,CAAC;AACJ,CAAC;AALD,4EAKC;AAOD;;;;;;GAMG;AACH,SAAgB,4BAA4B,CAAI,UAA4C,EAAE,eAAmC;IAC/H,OAAO,CAAO,EAAkC,EAAE,EAAE,CAAC,UAAU,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,IAAA,8BAAuB,EAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAC5I,CAAC;AAFD,oEAEC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import * as functions from 'firebase-functions';
|
|
3
|
-
import { EventContext } from 'firebase-functions';
|
|
4
|
-
import { MakeNestContext, NestApplicationFunctionFactory } from '../../nest.provider';
|
|
5
|
-
import { NestApplicationContextRequest, NestContextRequest } from '../nest';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import type * as functions from 'firebase-functions';
|
|
3
|
+
import { type EventContext } from 'firebase-functions';
|
|
4
|
+
import { type MakeNestContext, type NestApplicationFunctionFactory } from '../../nest.provider';
|
|
5
|
+
import { type NestApplicationContextRequest, type NestContextRequest } from '../nest';
|
|
6
6
|
export type EventContextWithData<I> = EventContext & {
|
|
7
7
|
data: I;
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as functions from 'firebase-functions';
|
|
2
|
-
import { INestApplicationContext } from '@nestjs/common';
|
|
3
|
-
import { MakeNestContext } from '../../nest.provider';
|
|
4
|
-
import { NestApplicationScheduleConfiguredFunctionFactory, OnScheduleConfig, OnScheduleWithNestApplication, OnScheduleWithNestApplicationRequest, OnScheduleWithNestContext } from '../schedule';
|
|
2
|
+
import { type INestApplicationContext } from '@nestjs/common';
|
|
3
|
+
import { type MakeNestContext } from '../../nest.provider';
|
|
4
|
+
import { type NestApplicationScheduleConfiguredFunctionFactory, type OnScheduleConfig, type OnScheduleWithNestApplication, type OnScheduleWithNestApplicationRequest, type OnScheduleWithNestContext } from '../schedule';
|
|
5
5
|
export declare function makeOnScheduleWithNestApplicationRequest(nestApplication: INestApplicationContext, scheduleContext?: functions.EventContext): OnScheduleWithNestApplicationRequest<functions.EventContext>;
|
|
6
6
|
export type NestApplicationScheduleCloudFunctionFactory<I = unknown> = NestApplicationScheduleConfiguredFunctionFactory<functions.CloudFunction<I>>;
|
|
7
7
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v1/schedule.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAGhD,
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v1/schedule.ts"],"names":[],"mappings":";;;AAAA,gDAAgD;AAGhD,0CAA2S;AAC3S,wCAAwG;AAGxG,SAAgB,wCAAwC,CAAC,eAAwC,EAAE,eAAwC;IACzI,OAAO;QACL,eAAe;QACf,eAAe;KAChB,CAAC;AACJ,CAAC;AALD,4FAKC;AAaD;;;;;GAKG;AACH,SAAgB,oCAAoC,CAAC,YAA+B;IAClF,OAAO,CAAO,aAA+B,EAAE,EAAyD,EAAE,EAAE;QAC1G,MAAM,QAAQ,GAAG,IAAA,mBAAY,EAAmB,CAAC,YAAY,EAAE,aAAa,CAAC,CAAqB,CAAC;QACnG,IAAI,IAAoB,CAAC;QAEzB,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE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|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { BlockingFunction } from 'firebase-functions';
|
|
3
|
-
import { MakeNestContext, NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
-
import { NestContextRequest } from '../nest';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type BlockingFunction } from 'firebase-functions';
|
|
3
|
+
import { type MakeNestContext, type NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
+
import { type NestContextRequest } from '../nest';
|
|
5
5
|
export type BlockingFunctionNestContextRequest<N, E extends object> = NestContextRequest<N, E>;
|
|
6
6
|
export type BlockingFunctionHandler<E extends object, O = unknown> = (event: E) => PromiseOrValue<O>;
|
|
7
7
|
export type NestContextBlockingFunctionHandler<N, E extends object, O = unknown> = (request: BlockingFunctionNestContextRequest<N, E>) => PromiseOrValue<O>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { https } from 'firebase-functions/v2';
|
|
2
|
-
import { CallableHttpFunction } from '../../../function/type';
|
|
3
|
-
import { MakeNestContext, NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
-
import { OnCallWithNestApplication, OnCallWithNestContext } from '../call';
|
|
2
|
+
import { type CallableHttpFunction } from '../../../function/type';
|
|
3
|
+
import { type MakeNestContext, type NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
+
import { type OnCallWithNestApplication, type OnCallWithNestContext } from '../call';
|
|
5
5
|
export type NestApplicationCallableHttpFunctionFactory<I, O = unknown> = NestApplicationFunctionFactory<CallableHttpFunction<I, O>>;
|
|
6
6
|
/**
|
|
7
7
|
* Factory function for generating a NestApplicationFunctionFactory for a HttpsFunctions/Runnable firebase function.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v2/call.ts"],"names":[],"mappings":";;;AACA,8CAA8C;AAG9C,
|
|
1
|
+
{"version":3,"file":"call.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v2/call.ts"],"names":[],"mappings":";;;AACA,8CAA8C;AAG9C,kCAA8G;AAY9G;;;;;GAKG;AACH,SAAgB,uCAAuC,CAAC,OAA8B,EAAE;IACtF,OAAO,CAAO,EAAmC,EAAE,EAAE;QACnD,OAAO,CAAC,oBAAkD,EAAE,EAAE,CAC5D,UAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,OAA2B,EAAE,EAAE,CACjD,oBAAoB,EAAE,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,EAAE,CAC9C,EAAE,iCACG,OAAO,KACV,eAAe,IACf,CACH,CACF,CAAC;IACN,CAAC,CAAC;AACJ,CAAC;AAZD,0FAYC;AAMD;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAI,UAAmD,EAAE,eAAmC;IAC7I,OAAO,CAAO,EAAkC,EAAE,EAAE,CAAC,UAAU,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,IAAA,8BAAuB,EAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AAC5I,CAAC;AAFD,kFAEC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { CloudEvent, CloudFunction } from 'firebase-functions/v2';
|
|
3
|
-
import { MakeNestContext, NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
-
import { NestContextRequest } from '../nest';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type CloudEvent, type CloudFunction } from 'firebase-functions/v2';
|
|
3
|
+
import { type MakeNestContext, type NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
+
import { type NestContextRequest } from '../nest';
|
|
5
5
|
export type CloudEventNestContextRequest<N, E extends CloudEvent<unknown>> = NestContextRequest<N, E>;
|
|
6
6
|
export type CloudEventHandler<E extends CloudEvent<unknown>, O = unknown> = (event: E) => PromiseOrValue<O>;
|
|
7
7
|
export type NestContextCloudEventHandler<N, E extends CloudEvent<unknown>, O = unknown> = (request: CloudEventNestContextRequest<N, E>) => PromiseOrValue<O>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { GlobalOptions } from 'firebase-functions/v2/options';
|
|
1
|
+
import { type GlobalOptions } from 'firebase-functions/v2/options';
|
|
2
2
|
import { scheduler } from 'firebase-functions/v2';
|
|
3
|
-
import { INestApplicationContext } from '@nestjs/common';
|
|
4
|
-
import { MakeNestContext } from '../../nest.provider';
|
|
5
|
-
import { NestApplicationScheduleConfiguredFunctionFactory, OnScheduleConfig, OnScheduleWithNestApplication, OnScheduleWithNestApplicationRequest, OnScheduleWithNestContext } from '../schedule';
|
|
3
|
+
import { type INestApplicationContext } from '@nestjs/common';
|
|
4
|
+
import { type MakeNestContext } from '../../nest.provider';
|
|
5
|
+
import { type NestApplicationScheduleConfiguredFunctionFactory, type OnScheduleConfig, type OnScheduleWithNestApplication, type OnScheduleWithNestApplicationRequest, type OnScheduleWithNestContext } from '../schedule';
|
|
6
6
|
export type OnScheduleConfigWithGlobalOptions = OnScheduleConfig & GlobalOptions;
|
|
7
7
|
export declare function makeOnScheduleHandlerWithNestApplicationRequest(nestApplication: INestApplicationContext, scheduleContext?: scheduler.ScheduledEvent): OnScheduleWithNestApplicationRequest<scheduler.ScheduledEvent>;
|
|
8
8
|
export type NestApplicationScheduleFunctionFactory = NestApplicationScheduleConfiguredFunctionFactory<scheduler.ScheduleFunction>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v2/schedule.ts"],"names":[],"mappings":";;;AACA,8CAAkD;AAGlD,
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../../../../../../packages/firebase-server/src/lib/nest/function/v2/schedule.ts"],"names":[],"mappings":";;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MG;AACH,SAAgB,uCAAuC,CAAI,UAAuD,EAAE,eAAmC;IACrJ,OAAO,CAAC,QAA0B,EAAE,EAA0D,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,OAAuE,EAAE,EAAE,CAAC,EAAE,CAAC,IAAA,0CAA+B,EAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;AACtQ,CAAC;AAFD,0FAEC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { TaskQueueFunction, Request } from 'firebase-functions/v2/tasks';
|
|
3
|
-
import { MakeNestContext, NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
-
import { NestContextRequest } from '../nest';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type TaskQueueFunction, type Request } from 'firebase-functions/v2/tasks';
|
|
3
|
+
import { type MakeNestContext, type NestApplicationFunctionFactory } from '../../nest.provider';
|
|
4
|
+
import { type NestContextRequest } from '../nest';
|
|
5
5
|
export type TaskQueueNestContextRequest<N, I> = NestContextRequest<N, Request<I>>;
|
|
6
6
|
export type TaskQueueFunctionHandler<I = unknown> = (taskRequest: Request<I>) => PromiseOrValue<void>;
|
|
7
7
|
export type NestContextTaskQueueFunctionHandler<N, I = unknown> = (request: TaskQueueNestContextRequest<N, I>) => PromiseOrValue<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appcheck.decorator.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/appcheck.decorator.ts"],"names":[],"mappings":";;;;AAEA,
|
|
1
|
+
{"version":3,"file":"appcheck.decorator.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/appcheck.decorator.ts"],"names":[],"mappings":";;;;AAEA,2CAA6E;AAE7E;;GAEG;AACU,QAAA,YAAY,GAAG,IAAA,6BAAoB,EAAC,CAAO,CAAC,EAAE,OAAyB,EAAE,EAAE;IACtF,MAAM,GAAG,GAAY,OAAO,CAAC,YAAY,EAAE,CAAC,UAAU,EAAW,CAAC;IACjE,GAAuB,CAAC,YAAY,GAAG,IAAI,CAAC;AAC/C,CAAC,CAAA,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NestMiddleware } from '@nestjs/common';
|
|
2
|
-
import { Request } from 'firebase-functions/v2/https';
|
|
3
|
-
import { Response } from 'express';
|
|
4
|
-
import { Maybe } from '@dereekb/util';
|
|
1
|
+
import { type NestMiddleware } from '@nestjs/common';
|
|
2
|
+
import { type Request } from 'firebase-functions/v2/https';
|
|
3
|
+
import { type Response } from 'express';
|
|
4
|
+
import { type Maybe } from '@dereekb/util';
|
|
5
5
|
/**
|
|
6
6
|
* Middleware that verifies the X-Firebase-AppCheck header using admin.
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appcheck.middleware.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/appcheck.middleware.ts"],"names":[],"mappings":";;;;;AAAA,wCAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"appcheck.middleware.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/appcheck.middleware.ts"],"names":[],"mappings":";;;;;AAAA,wCAAwC;AACxC,2CAA6F;AAK7F,4CAA4D;AAE5D;;;;GAIG;AAEI,IAAM,0BAA0B,uEAAhC,MAAM,0BAA0B;IAAhC;QACY,WAAM,GAAG,IAAI,eAAM,CAAC,4BAA4B,CAAC,CAAC;IA0BrE,CAAC;IAxBC,MAAM,CAAC,gBAAgB,CAAC,GAAY;QAClC,MAAM,cAAc,GAAI,GAAuB,CAAC,YAAY,IAAI,4BAA0B,CAAC,aAAa,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACtH,OAAO,cAAc,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,IAAY;QAC/B,OAAO,IAAI,CAAC,UAAU,CAAC,kCAAyB,CAAC,CAAC;IACpD,CAAC;IAEK,GAAG,CAAC,GAAY,EAAE,GAAa,EAAE,IAAuC;;YAC5E,MAAM,cAAc,GAAG,4BAA0B,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;YAExE,IAAI,KAAmB,CAAC;YAExB,IAAI,CAAC,cAAc,EAAE;gBACnB,KAAK,GAAG,MAAM,uBAAuB,CAAC,GAAG,CAAC,CAAC;gBAE3C,IAAI,KAAK,EAAE;oBACT,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;iBACpD;aACF;YAED,IAAI,CAAC,KAAK,CAAC,CAAC;QACd,CAAC;KAAA;CACF,CAAA;qCA3BY,0BAA0B;IADtC,IAAA,mBAAU,GAAE;GACA,0BAA0B,CA2BtC;AAED;;;;;;;GAOG;AACH,SAAsB,uBAAuB,CAAC,GAAY;;QACxD,MAAM,aAAa,GAAG,GAAG,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;QACxD,IAAI,KAAmB,CAAC;QAExB,IAAI,CAAC,aAAa,EAAE;YAClB,KAAK,GAAG,IAAI,2BAAkB,EAAE,CAAC;SAClC;aAAM;YACL,mBAAmB;YACnB,IAAI;gBACF,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;aACnD;YAAC,OAAO,CAAC,EAAE;gBACV,KAAK,GAAG,IAAI,2BAAkB,EAAE,CAAC;aAClC;SACF;QAED,OAAO,KAAK,CAAC;IACf,CAAC;CAAA;AAhBD,0DAgBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appcheck.module.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/appcheck.module.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"appcheck.module.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/appcheck.module.ts"],"names":[],"mappings":";;;;AAAA,2CAAyE;AACzE,+DAAmE;AAEnE;;GAEG;AAEI,IAAM,yCAAyC,uDAA/C,MAAM,yCAAyC;IAA/C;QACY,WAAM,GAAG,IAAI,eAAM,CAAC,2CAA2C,CAAC,CAAC;IAMpF,CAAC;IAJQ,SAAS,CAAC,QAA4B;QAC3C,QAAQ,CAAC,KAAK,CAAC,gDAA0B,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;QAC1D,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;CACF,CAAA;oDAPY,yCAAyC;IADrD,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,yCAAyC,CAOrD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NestMiddleware } from '@nestjs/common';
|
|
2
|
-
import { Request } from 'firebase-functions/v2/https';
|
|
3
|
-
import { Response } from 'express';
|
|
1
|
+
import { type NestMiddleware } from '@nestjs/common';
|
|
2
|
+
import { type Request } from 'firebase-functions/v2/https';
|
|
3
|
+
import { type Response } from 'express';
|
|
4
4
|
export declare class FirebaseRawBodyMiddleware implements NestMiddleware {
|
|
5
5
|
use(req: Request, res: Response, next: () => void): void;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rawbody.middleware.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/rawbody.middleware.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"rawbody.middleware.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/rawbody.middleware.ts"],"names":[],"mappings":";;;;AAAA,2CAAiE;AAK1D,IAAM,yBAAyB,uCAA/B,MAAM,yBAAyB;IACpC,GAAG,CAAC,GAAY,EAAE,GAAa,EAAE,IAAgB;QAC/C,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,OAAO,CAAC;QACvB,IAAI,EAAE,CAAC;IACT,CAAC;CACF,CAAA;oCALY,yBAAyB;IADrC,IAAA,mBAAU,GAAE;GACA,yBAAyB,CAKrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/webhook.ts"],"names":[],"mappings":";;;;AAAA,4CAAwE;AACxE,
|
|
1
|
+
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/middleware/webhook.ts"],"names":[],"mappings":";;;;AAAA,4CAAwE;AACxE,2CAAyE;AACzE,6DAAiE;AAEjE;;;;GAIG;AAEI,IAAM,wCAAwC,sDAA9C,MAAM,wCAAwC;IAA9C;QACY,WAAM,GAAG,IAAI,eAAM,CAAC,0CAA0C,CAAC,CAAC;IAMnF,CAAC;IAJQ,SAAS,CAAC,QAA4B;QAC3C,QAAQ,CAAC,KAAK,CAAC,8CAAyB,CAAC,CAAC,SAAS,CAAC,8CAAqC,CAAC,CAAC;QAC3F,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,4DAA4D,CAAC,CAAC;IAClF,CAAC;CACF,CAAA;mDAPY,wCAAwC;IADpD,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,wCAAwC,CAOpD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { FirestoreModelType, FirestoreModelIdentity, FirestoreModelTypes, OnCallCreateModelParams, OnCallCreateModelResult, ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
-
import { OnCallWithAuthorizedNestContext } from '../function/call';
|
|
4
|
-
import { NestContextCallableRequestWithAuth } from '../function/nest';
|
|
5
|
-
import { AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type FirestoreModelType, type FirestoreModelIdentity, type FirestoreModelTypes, type OnCallCreateModelParams, type OnCallCreateModelResult, type ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
+
import { type OnCallWithAuthorizedNestContext } from '../function/call';
|
|
4
|
+
import { type NestContextCallableRequestWithAuth } from '../function/nest';
|
|
5
|
+
import { type AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
6
6
|
export type OnCallCreateModelFunction<N, I = unknown, O extends OnCallCreateModelResult = OnCallCreateModelResult> = (request: NestContextCallableRequestWithAuth<N, I> & ModelFirebaseCrudFunctionSpecifierRef) => PromiseOrValue<O>;
|
|
7
7
|
export type OnCallCreateModelMap<N, T extends FirestoreModelIdentity = FirestoreModelIdentity> = {
|
|
8
8
|
[K in FirestoreModelTypes<T>]?: OnCallCreateModelFunction<N, any, OnCallCreateModelResult>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/create.model.function.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"create.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/create.model.function.ts"],"names":[],"mappings":";;;AAAA,wCAAiE;AAEjE,6CAAiD;AAgBjD;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAI,GAA4B,EAAE,SAAqC,EAAE;IACxG,MAAM,EAAE,SAAS,GAAG,GAAG,EAAE,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC;IAE/C,OAAO,CAAC,OAAO,EAAE,EAAE;;QACjB,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,IAAI,0CAAE,SAAS,CAAC;QAC1C,MAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC;QAEhC,IAAI,QAAQ,EAAE;YACZ,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;YACzC,SAAS,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;YAC7D,OAAO,QAAQ,iCACV,OAAO,KACV,SAAS,EACT,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,IACvB,CAAC;SACJ;aAAM;YACL,MAAM,gCAAgC,CAAC,SAAS,CAAC,CAAC;SACnD;IACH,CAAC,CAAC;AACJ,CAAC;AAnBD,8CAmBC;AAED,SAAgB,gCAAgC,CAAC,SAA6B;IAC5E,OAAO,IAAA,0BAAe,EACpB,IAAA,kBAAW,EAAC;QACV,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,iBAAiB,SAAS,cAAc;QACjD,IAAI,EAAE;YACJ,SAAS;SACV;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAXD,4EAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Maybe } from '@dereekb/util';
|
|
2
|
-
import { NestContextCallableRequestWithAuth } from '../function/nest';
|
|
1
|
+
import { type Maybe } from '@dereekb/util';
|
|
2
|
+
import { type NestContextCallableRequestWithAuth } from '../function/nest';
|
|
3
3
|
export interface AssertModelCrudRequestFunctionContext<N, I = unknown> {
|
|
4
4
|
request: NestContextCallableRequestWithAuth<N, I>;
|
|
5
5
|
crud: 'create' | 'read' | 'update' | 'delete';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { FirestoreModelType, FirestoreModelIdentity, FirestoreModelTypes, OnCallDeleteModelParams, ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
-
import { NestContextCallableRequestWithAuth } from '../function/nest';
|
|
4
|
-
import { OnCallWithAuthorizedNestContext } from '../function/call';
|
|
5
|
-
import { AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type FirestoreModelType, type FirestoreModelIdentity, type FirestoreModelTypes, type OnCallDeleteModelParams, type ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
+
import { type NestContextCallableRequestWithAuth } from '../function/nest';
|
|
4
|
+
import { type OnCallWithAuthorizedNestContext } from '../function/call';
|
|
5
|
+
import { type AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
6
6
|
export type OnCallDeleteModelFunction<N, I = unknown, O = void> = (request: NestContextCallableRequestWithAuth<N, I> & ModelFirebaseCrudFunctionSpecifierRef) => PromiseOrValue<O>;
|
|
7
7
|
export type OnCallDeleteModelMap<N, T extends FirestoreModelIdentity = FirestoreModelIdentity> = {
|
|
8
8
|
[K in FirestoreModelTypes<T>]?: OnCallDeleteModelFunction<N, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/delete.model.function.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"delete.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/delete.model.function.ts"],"names":[],"mappings":";;;AAAA,wCAAiE;AAEjE,6CAAiD;AAgBjD;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAI,GAA4B,EAAE,SAAqC,EAAE;IACxG,MAAM,EAAE,SAAS,GAAG,GAAG,EAAE,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC;IAE/C,OAAO,CAAC,OAAO,EAAE,EAAE;;QACjB,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,IAAI,0CAAE,SAAS,CAAC;QAC1C,MAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC;QAEhC,IAAI,QAAQ,EAAE;YACZ,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;YACzC,SAAS,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;YAC7D,OAAO,QAAQ,iCACV,OAAO,KACV,SAAS,EACT,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,IACvB,CAAC;SACJ;aAAM;YACL,MAAM,gCAAgC,CAAC,SAAS,CAAC,CAAC;SACnD;IACH,CAAC,CAAC;AACJ,CAAC;AAnBD,8CAmBC;AAED,SAAgB,gCAAgC,CAAC,SAA6B;IAC5E,OAAO,IAAA,0BAAe,EACpB,IAAA,kBAAW,EAAC;QACV,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,yBAAyB;QAClC,IAAI,EAAE;YACJ,SAAS;SACV;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAXD,4EAWC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FirebaseDoesNotExistErrorContextErrorFunction, FirebasePermissionErrorContextErrorFunction } from '@dereekb/firebase';
|
|
1
|
+
import { type FirebaseDoesNotExistErrorContextErrorFunction, type FirebasePermissionErrorContextErrorFunction } from '@dereekb/firebase';
|
|
2
2
|
export declare const nestFirebaseDoesNotExistError: FirebaseDoesNotExistErrorContextErrorFunction;
|
|
3
3
|
export declare const nestFirebaseForbiddenPermissionError: FirebasePermissionErrorContextErrorFunction;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { FirestoreModelType, FirestoreModelIdentity, FirestoreModelTypes, OnCallReadModelParams, ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
-
import { OnCallWithAuthorizedNestContext } from '../function/call';
|
|
4
|
-
import { NestContextCallableRequestWithAuth } from '../function/nest';
|
|
5
|
-
import { AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type FirestoreModelType, type FirestoreModelIdentity, type FirestoreModelTypes, type OnCallReadModelParams, type ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
+
import { type OnCallWithAuthorizedNestContext } from '../function/call';
|
|
4
|
+
import { type NestContextCallableRequestWithAuth } from '../function/nest';
|
|
5
|
+
import { type AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
6
6
|
export type OnCallReadModelFunction<N, I = unknown, O = unknown> = (request: NestContextCallableRequestWithAuth<N, I> & ModelFirebaseCrudFunctionSpecifierRef) => PromiseOrValue<O>;
|
|
7
7
|
export type OnCallReadModelMap<N, T extends FirestoreModelIdentity = FirestoreModelIdentity> = {
|
|
8
8
|
[K in FirestoreModelTypes<T>]?: OnCallReadModelFunction<N, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/read.model.function.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"read.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/read.model.function.ts"],"names":[],"mappings":";;;AAAA,wCAAiE;AAEjE,6CAAiD;AAgBjD;;;;;GAKG;AACH,SAAgB,eAAe,CAAI,GAA0B,EAAE,SAAmC,EAAE;IAClG,MAAM,EAAE,SAAS,GAAG,GAAG,EAAE,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC;IAE/C,OAAO,CAAC,OAAO,EAAE,EAAE;;QACjB,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,IAAI,0CAAE,SAAS,CAAC;QAC1C,MAAM,MAAM,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC;QAE9B,IAAI,MAAM,EAAE;YACV,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;YACzC,SAAS,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;YAC3D,OAAO,MAAM,iCACR,OAAO,KACV,SAAS,EACT,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,IACvB,CAAC;SACJ;aAAM;YACL,MAAM,8BAA8B,CAAC,SAAS,CAAC,CAAC;SACjD;IACH,CAAC,CAAC;AACJ,CAAC;AAnBD,0CAmBC;AAED,SAAgB,8BAA8B,CAAC,SAA6B;IAC1E,OAAO,IAAA,0BAAe,EACpB,IAAA,kBAAW,EAAC;QACV,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,uBAAuB;QAChC,IAAI,EAAE;YACJ,SAAS;SACV;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAXD,wEAWC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ModelFirebaseCrudFunctionSpecifier, ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
2
|
-
import { Maybe, PromiseOrValue } from '@dereekb/util';
|
|
3
|
-
import { NestContextCallableRequestWithAuth } from '../function/nest';
|
|
1
|
+
import { type ModelFirebaseCrudFunctionSpecifier, type ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
2
|
+
import { type Maybe, type PromiseOrValue } from '@dereekb/util';
|
|
3
|
+
import { type NestContextCallableRequestWithAuth } from '../function/nest';
|
|
4
4
|
export type OnCallSpecifierHandlerNestContextRequest<N, I = unknown> = NestContextCallableRequestWithAuth<N, I> & ModelFirebaseCrudFunctionSpecifierRef;
|
|
5
5
|
export type OnCallSpecifierHandlerFunction<N, I = unknown, O = void> = (request: OnCallSpecifierHandlerNestContextRequest<N, I>) => PromiseOrValue<O>;
|
|
6
6
|
export type OnCallSpecifierHandlerConfig<N> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specifier.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/specifier.function.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"specifier.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/specifier.function.ts"],"names":[],"mappings":";;;;AAAA,gDAAiL;AACjL,wCAA0F;AAE1F,6CAAiD;AAcjD,SAAgB,sBAAsB,CAAsB,MAAuC;IACjG,MAAM,GAAG,GAAG,IAAA,kBAAW,EAAC,MAAM,CAAC,CAAC;IAEhC,OAAO,CAAO,OAAO,EAAE,EAAE;QACvB,MAAM,EAAE,SAAS,GAAG,kEAAuD,EAAE,GAAG,OAAO,CAAC;QACxF,MAAM,OAAO,GAAG,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;QAEnC,IAAI,OAAO,IAAI,IAAI,EAAE;YACnB,OAAO,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;SAC/B;aAAM;YACL,MAAM,sCAAsC,CAAC,SAAS,CAAC,CAAC;SACzD;IACH,CAAC,CAAA,CAAC;AACJ,CAAC;AAbD,wDAaC;AAED,SAAgB,sCAAsC,CAAC,SAA6C;IAClG,OAAO,IAAA,0BAAe,EACpB,IAAA,kBAAW,EAAC;QACV,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,8CAA8C;QACvD,IAAI,EAAE;YACJ,SAAS;SACV;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAXD,wFAWC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { FirestoreModelType, FirestoreModelIdentity, FirestoreModelTypes, OnCallUpdateModelParams, ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
-
import { OnCallWithAuthorizedNestContext } from '../function/call';
|
|
4
|
-
import { NestContextCallableRequestWithAuth } from '../function/nest';
|
|
5
|
-
import { AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
1
|
+
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
+
import { type FirestoreModelType, type FirestoreModelIdentity, type FirestoreModelTypes, type OnCallUpdateModelParams, type ModelFirebaseCrudFunctionSpecifierRef } from '@dereekb/firebase';
|
|
3
|
+
import { type OnCallWithAuthorizedNestContext } from '../function/call';
|
|
4
|
+
import { type NestContextCallableRequestWithAuth } from '../function/nest';
|
|
5
|
+
import { type AssertModelCrudRequestFunction } from './crud.assert.function';
|
|
6
6
|
export type OnCallUpdateModelFunction<N, I = unknown, O = void> = (request: NestContextCallableRequestWithAuth<N, I> & ModelFirebaseCrudFunctionSpecifierRef) => PromiseOrValue<O>;
|
|
7
7
|
export type OnCallUpdateModelMap<N, T extends FirestoreModelIdentity = FirestoreModelIdentity> = {
|
|
8
8
|
[K in FirestoreModelTypes<T>]?: OnCallUpdateModelFunction<N, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/update.model.function.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"update.model.function.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/model/update.model.function.ts"],"names":[],"mappings":";;;AAAA,wCAAiE;AAEjE,6CAAiD;AAgBjD;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAI,GAA4B,EAAE,SAAqC,EAAE;IACxG,MAAM,EAAE,SAAS,GAAG,GAAG,EAAE,CAAC,SAAS,EAAE,GAAG,MAAM,CAAC;IAE/C,OAAO,CAAC,OAAO,EAAE,EAAE;;QACjB,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,IAAI,0CAAE,SAAS,CAAC;QAC1C,MAAM,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC;QAEhC,IAAI,QAAQ,EAAE;YACZ,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC;YACzC,SAAS,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC;YAC7D,OAAO,QAAQ,iCACV,OAAO,KACV,SAAS,EACT,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,IAAI,IACvB,CAAC;SACJ;aAAM;YACL,MAAM,gCAAgC,CAAC,SAAS,CAAC,CAAC;SACnD;IACH,CAAC,CAAC;AACJ,CAAC;AAnBD,8CAmBC;AAED,SAAgB,gCAAgC,CAAC,SAA6B;IAC5E,OAAO,IAAA,0BAAe,EACpB,IAAA,kBAAW,EAAC;QACV,MAAM,EAAE,GAAG;QACX,IAAI,EAAE,oBAAoB;QAC1B,OAAO,EAAE,yBAAyB;QAClC,IAAI,EAAE;YACJ,SAAS;SACV;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAXD,4EAWC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { FirebaseAppModelContext, FirebaseModelServiceContext, FirebaseModelsService, FirebaseModelsServiceSelectionResultRolesReader, FirebaseModelsServiceTypes, InContextFirebaseModelsService, UseFirebaseModelsServiceSelection, UseFirebaseModelsServiceSelectionUseFunction, FirebasePermissionErrorContextErrorFunction, FirebaseDoesNotExistErrorContextErrorFunction } from '@dereekb/firebase';
|
|
2
|
-
import { BuildFunction, Getter } from '@dereekb/util';
|
|
3
|
-
import { INestApplicationContext } from '@nestjs/common';
|
|
4
|
-
import { AuthDataRef } from '../auth';
|
|
5
|
-
import { FirebaseServerAuthService, FirebaseServerAuthServiceRef } from '../auth/auth.service';
|
|
6
|
-
import { FirebaseServerStorageService, FirebaseServerStorageServiceRef } from '../storage';
|
|
7
|
-
import { FirebaseServerEnvService, FirebaseServerEnvServiceRef } from '../env';
|
|
8
|
-
import { FirebaseServerActionsContext } from './function/context';
|
|
1
|
+
import { type FirebaseAppModelContext, type FirebaseModelServiceContext, type FirebaseModelsService, type FirebaseModelsServiceSelectionResultRolesReader, type FirebaseModelsServiceTypes, type InContextFirebaseModelsService, type UseFirebaseModelsServiceSelection, type UseFirebaseModelsServiceSelectionUseFunction, type FirebasePermissionErrorContextErrorFunction, type FirebaseDoesNotExistErrorContextErrorFunction } from '@dereekb/firebase';
|
|
2
|
+
import { type BuildFunction, type Getter } from '@dereekb/util';
|
|
3
|
+
import { type INestApplicationContext } from '@nestjs/common';
|
|
4
|
+
import { type AuthDataRef } from '../auth';
|
|
5
|
+
import { type FirebaseServerAuthService, type FirebaseServerAuthServiceRef } from '../auth/auth.service';
|
|
6
|
+
import { FirebaseServerStorageService, type FirebaseServerStorageServiceRef } from '../storage';
|
|
7
|
+
import { FirebaseServerEnvService, type FirebaseServerEnvServiceRef } from '../env';
|
|
8
|
+
import { type FirebaseServerActionsContext } from './function/context';
|
|
9
9
|
/**
|
|
10
10
|
* Getter for an INestApplicationContext promise. Nest should be initialized when the promise resolves.
|
|
11
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nest.provider.js","sourceRoot":"","sources":["../../../../../../packages/firebase-server/src/lib/nest/nest.provider.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"nest.provider.js","sourceRoot":"","sources":["../../../../../../packages/firebase-server/src/lib/nest/nest.provider.ts"],"names":[],"mappings":";;;;AAAA,gDAa2B;AAC3B,wCAAuE;AAIvE,wCAAgG;AAChG,gCAAoF;AAEpF,+DAA+G;AAmB/G;;GAEG;AACH,MAAsB,mBAAmB;IACvC,YAAqB,IAA6B;QAA7B,SAAI,GAAJ,IAAI,CAAyB;IAAG,CAAC;CACvD;AAFD,kDAEC;AAED,MAAsB,2BAAiG,SAAQ,mBAAmB;IAAlJ;;QACE;;;;WAIG;QACO,wBAAmB,GAAgD,uDAAoC,CAAC;QAElH;;;;;;;WAOG;QACO,0BAAqB,GAAkD,gDAA6B,CAAC;IAgEjH,CAAC;IA9DC,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,8BAAwB,CAAC,CAAC;IACjD,CAAC;IAOD,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,sCAA4B,CAAC,CAAC;IACrD,CAAC;IAED;;;;;;OAMG;IACH,gBAAgB,C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import { FactoryProvider, InjectionToken, ModuleMetadata, Provider } from '@nestjs/common';
|
|
1
|
+
import { type FactoryProvider, type InjectionToken, type ModuleMetadata, type Provider } from '@nestjs/common';
|
|
2
2
|
import { FirebaseServerStorageService } from '../../storage';
|
|
3
|
-
import { AdditionalModuleMetadata } from '@dereekb/nestjs';
|
|
4
|
-
import { FirebaseStorageContext, FirebaseStorageContextFactoryConfig, StorageBucketId } from '@dereekb/firebase';
|
|
3
|
+
import { type AdditionalModuleMetadata } from '@dereekb/nestjs';
|
|
4
|
+
import { type FirebaseStorageContext, type FirebaseStorageContextFactoryConfig, type StorageBucketId } from '@dereekb/firebase';
|
|
5
5
|
/**
|
|
6
6
|
* Token to access the Storage.
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.module.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/storage/storage.module.ts"],"names":[],"mappings":";;;;AACA,
|
|
1
|
+
{"version":3,"file":"storage.module.js","sourceRoot":"","sources":["../../../../../../../packages/firebase-server/src/lib/nest/storage/storage.module.ts"],"names":[],"mappings":";;;;AACA,2CAAuH;AACvH,iEAAiE;AACjE,2CAAmJ;AACnJ,4CAAmH;AAGnH,eAAe;AACf;;GAEG;AACU,QAAA,sBAAsB,GAAmB,wBAAwB,CAAC;AAE/E;;GAEG;AACU,QAAA,8BAA8B,GAAmB,gCAAgC,CAAC;AAE/F;;GAEG;AACU,QAAA,6CAA6C,GAAmB,+CAA+C,CAAC;AAE7H;;GAEG;AAWI,IAAM,2BAA2B,yCAAjC,MAAM,2BAA2B;CAAG,CAAA;sCAA9B,2BAA2B;IAVvC,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,8BAAsB;gBAC/B,UAAU,EAAE,CAAC,GAAkB,EAAE,EAAE,CAAC,IAAA,oDAA0C,EAAC,GAAG,CAAC,OAAO,EAAE,CAAC;gBAC7F,MAAM,EAAE,CAAC,oCAA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E;QACrD,SAAS,CAAC,IAAI,CAAC;YACb,OAAO,EAAE,sCAA4B;YACrC,WAAW,EAAE,QAAQ,CAAC,OAAO;SAC9B,CAAC,CAAC;KACJ;IAED,OAAO,SAAS,CAAC;AACnB,CAAC;AAhBD,kFAgBC;AAOD;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAwE,MAAqD;IAC9K,MAAM,eAAe,GAAG,MAAM,IAAI,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,gDAAgD,EAAE,CAAC;IACvI,MAAM,SAAS,GAAG,mCAAmC,CAAC,eAAe,CAAC,CAAC;IACvE,MAAM,cAAc,GAAG,IAAA,qCAA4B,EAAC,SAAS,CAAC,CAAC;IAE/D,OAAO,IAAA,4BAAmB,EACxB;QACE,OAAO,EAAE,CAAC,kCAAkC,CAAC;QAC7C,OAAO,EAAE,CAAC,kCAAkC,EAAE,GAAG,cAAc,CAAC;QAChE,SAAS;KACV,EACD,MAAM,CACP,CAAC;AACJ,CAAC;AAbD,kFAaC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FirebaseStorageAccessorDriver, FirebaseStorageAccessorFile, FirebaseStorageAccessorFolder, StoragePath, StorageMetadata, StorageBucketId } from '@dereekb/firebase';
|
|
2
|
-
import { SlashPathFolder } from '@dereekb/util';
|
|
3
|
-
import { GetFilesOptions, Storage as GoogleCloudStorage, File as GoogleCloudFile } from '@google-cloud/storage';
|
|
1
|
+
import { type FirebaseStorageAccessorDriver, type FirebaseStorageAccessorFile, type FirebaseStorageAccessorFolder, type StoragePath, type StorageMetadata, type StorageBucketId } from '@dereekb/firebase';
|
|
2
|
+
import { type SlashPathFolder } from '@dereekb/util';
|
|
3
|
+
import { type GetFilesOptions, type Storage as GoogleCloudStorage, type File as GoogleCloudFile } from '@google-cloud/storage';
|
|
4
4
|
export declare function googleCloudStorageBucketForStorageFilePath(storage: GoogleCloudStorage, path: StoragePath): import("@google-cloud/storage/build/src/bucket").Bucket;
|
|
5
5
|
export declare function googleCloudStorageFileForStorageFilePath(storage: GoogleCloudStorage, path: StoragePath): GoogleCloudFile;
|
|
6
6
|
export type GoogleCloudStorageAccessorFile = FirebaseStorageAccessorFile<GoogleCloudFile>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driver.accessor.js","sourceRoot":"","sources":["../../../../../../packages/firebase-server/src/lib/storage/driver.accessor.ts"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"driver.accessor.js","sourceRoot":"","sources":["../../../../../../packages/firebase-server/src/lib/storage/driver.accessor.ts"],"names":[],"mappings":";;;;AAAA,gDAAyb;AACzb,wCAAqL;AAErL,sCAAyD;AAEzD,SAAgB,0CAA0C,CAAC,OAA2B,EAAE,IAAiB;IACvG,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACvC,CAAC;AAFD,gGAEC;AAED,SAAgB,wCAAwC,CAAC,OAA2B,EAAE,IAAiB;IACrG,OAAO,0CAA0C,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AACzF,CAAC;AAFD,4FAEC;AAID,SAAgB,8BAA8B,CAAC,OAA2B,EAAE,WAAwB;IAClG,MAAM,IAAI,GAAG,wCAAwC,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAE5E,SAAS,mBAAmB,CAAC,oBAAoC;QAC/D,yBACK,CAAC,oBAAoB;YACtB,CAAC,CAAC;gBACE,mBAAmB;gBACnB,GAAG,EAAE,oBAAoB,GAAG,CAAC;aAC9B;YACH,CAAC,CAAC,SAAS,CAAC,EACd;IACJ,CAAC;IAED,SAAS,iBAAiB,CAAC,OAA8B;QACvD,IAAI,QAA4B,CAAC;QAEjC,IAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,EAAE;YACxB,QAAQ,GAAG;gBACT,WAAW,EAAE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;wBACP,MAAM,CAAC,GAAG,CAAC,CAAC;qBACb;yBAAM;wBACL,MAAM,MAAM,GAA0B;4BACpC,KAAK,EAAE,KAA0B;4BACjC,SAAS;4BACT,WAAW,EAAE,WAAqB;yBACnC,CAAC;wBAEF,OAAO,CAAC,IAAA,gDAAwC,EAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;qBACrF;gBACH,CAAC,CACF,CAAC;YACJ,CAAC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;IAEF,OAAO,MAAM,CAAC;AAChB,CAAC;AAvCD,4EAuCC;AAED,SAAgB,+CAA+C;IAC7D,OAAO;QACL,IAAI,EAAE,CAAC,OAAwB,EAAE,IAAiB,EAAE,EAAE,CAAC,8BAA8B,CAAC,OAA6B,EAAE,IAAI,CAAC;QAC1H,MAAM,EAAE,CAAC,OAAwB,EAAE,IAAiB,EAAE,EAAE,CAAC,gCAAgC,CAAC,OAA6B,EAAE,IAAI,CAAC;KAC/H,CAAC;AACJ,CAAC;AALD,0GAKC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FirebaseStorageDrivers } from '@dereekb/firebase';
|
|
1
|
+
import { type FirebaseStorageDrivers } from '@dereekb/firebase';
|
|
2
2
|
export type GoogleCloudFirebaseStorageDrivers = FirebaseStorageDrivers;
|
|
3
3
|
export declare function googleCloudFirebaseStorageDrivers(): GoogleCloudFirebaseStorageDrivers;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { FirebaseStorageContextFactory } from '@dereekb/firebase';
|
|
2
|
-
import { Storage as FirebaseAdminStorage } from 'firebase-admin/lib/storage/storage';
|
|
3
|
-
import { Storage as GoogleCloudStorage } from '@google-cloud/storage';
|
|
1
|
+
import { type FirebaseStorageContextFactory } from '@dereekb/firebase';
|
|
2
|
+
import { type Storage as FirebaseAdminStorage } from 'firebase-admin/lib/storage/storage';
|
|
3
|
+
import { type Storage as GoogleCloudStorage } from '@google-cloud/storage';
|
|
4
4
|
/**
|
|
5
5
|
* Creates a FirestoreContextFactory that uses the @google-cloud/storage package.
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.js","sourceRoot":"","sources":["../../../../../../packages/firebase-server/src/lib/storage/storage.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"storage.js","sourceRoot":"","sources":["../../../../../../packages/firebase-server/src/lib/storage/storage.ts"],"names":[],"mappings":";;;AAAA,gDAAsG;AACtG,qCAA6D;AAI7D;;GAEG;AACU,QAAA,wCAAwC,GAAkC,IAAA,wCAA6B,EAAC,IAAA,0CAAiC,GAAE,CAAC,CAAC;AAM1J;;;;;GAKG;AACH,SAAgB,0CAA0C,CAAC,OAA6B;IACtF,OAAQ,OAAkD,CAAC,aAAa,CAAC;AAC3E,CAAC;AAFD,gGAEC"}
|