@dereekb/firebase-server 13.11.2 → 13.11.4
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/index.cjs.js +29 -2
- package/index.esm.js +30 -3
- package/mailgun/package.json +9 -9
- package/model/index.cjs.js +330 -43
- package/model/index.esm.js +332 -46
- package/model/package.json +9 -9
- package/model/src/lib/notification/notification.action.server.d.ts +16 -1
- package/model/src/lib/notification/notification.module.d.ts +4 -0
- package/oidc/index.cjs.js +455 -38
- package/oidc/index.esm.js +453 -40
- package/oidc/package.json +10 -10
- package/oidc/src/lib/controller/oidc.interaction.controller.d.ts +3 -1
- package/oidc/src/lib/model/oidc/oidcmodel.action.server.d.ts +22 -1
- package/oidc/src/lib/model/oidc/oidcmodel.module.d.ts +6 -3
- package/oidc/src/lib/oidc.config.d.ts +82 -6
- package/oidc/src/lib/oidc.module.d.ts +1 -1
- package/oidc/src/lib/service/oidc.adapter.service.d.ts +5 -0
- package/oidc/src/lib/service/oidc.interaction.service.d.ts +7 -1
- package/oidc/src/lib/service/oidc.service.d.ts +31 -1
- package/oidc/src/lib/service/oidc.session-ttl.d.ts +85 -0
- package/package.json +10 -10
- package/src/lib/firestore/array.d.ts +1 -0
- package/src/lib/firestore/driver.accessor.batch.d.ts +1 -0
- package/src/lib/firestore/driver.accessor.default.d.ts +1 -0
- package/src/lib/firestore/driver.accessor.transaction.d.ts +1 -0
- package/src/lib/firestore/driver.query.d.ts +1 -0
- package/src/lib/firestore/increment.d.ts +1 -0
- package/src/lib/firestore/snapshot/snapshot.field.encrypt.d.ts +2 -0
- package/src/lib/nest/app.module.d.ts +1 -0
- package/src/lib/nest/auth/auth.module.d.ts +1 -0
- package/src/lib/nest/development/development.app.function.d.ts +1 -0
- package/src/lib/nest/development/development.function.d.ts +1 -0
- package/src/lib/nest/development/development.schedule.function.d.ts +1 -0
- package/src/lib/nest/development/development.schedule.function.error.d.ts +1 -0
- package/src/lib/nest/function/call.d.ts +1 -0
- package/src/lib/nest/function/context.d.ts +1 -0
- package/src/lib/nest/function/v2/blocking.d.ts +2 -0
- package/src/lib/nest/function/v2/call.d.ts +2 -0
- package/src/lib/nest/function/v2/event.d.ts +1 -0
- package/src/lib/nest/function/v2/schedule.d.ts +3 -0
- package/src/lib/nest/function/v2/taskqueue.d.ts +1 -0
- package/src/lib/nest/model/analytics.handler.d.ts +1 -0
- package/src/lib/nest/model/call.model.function.d.ts +1 -0
- package/src/lib/nest/model/create.model.function.d.ts +1 -0
- package/src/lib/nest/storage/storage.module.d.ts +1 -0
- package/test/package.json +11 -11
- package/zoho/package.json +9 -9
|
@@ -15,6 +15,7 @@ export type OnScheduleConfigWithGlobalOptions = OnScheduleConfig & Omit<Schedule
|
|
|
15
15
|
* @param nestApplication - The initialized NestJS application context.
|
|
16
16
|
* @param scheduleContext - The optional Firebase scheduler event, absent when invoked via `_runNow()`.
|
|
17
17
|
* @returns A request object ready for schedule function handlers.
|
|
18
|
+
* @__NO_SIDE_EFFECTS__
|
|
18
19
|
*/
|
|
19
20
|
export declare function makeOnScheduleHandlerWithNestApplicationRequest(nestApplication: INestApplicationContext, scheduleContext?: scheduler.ScheduledEvent): OnScheduleWithNestApplicationRequest<scheduler.ScheduledEvent>;
|
|
20
21
|
/**
|
|
@@ -46,6 +47,7 @@ export type OnScheduleHandlerWithNestApplicationFactory = (schedule: OnScheduleC
|
|
|
46
47
|
*
|
|
47
48
|
* @param baseScheduleConfig - Optional default schedule options merged into every function created by this factory.
|
|
48
49
|
* @returns A factory for creating nest-application-aware scheduled functions.
|
|
50
|
+
* @__NO_SIDE_EFFECTS__
|
|
49
51
|
*/
|
|
50
52
|
export declare function onScheduleHandlerWithNestApplicationFactory(baseScheduleConfig?: OnScheduleConfigWithGlobalOptions): OnScheduleHandlerWithNestApplicationFactory;
|
|
51
53
|
/**
|
|
@@ -61,5 +63,6 @@ export type OnScheduleHandlerWithNestContextFactory<N> = (schedule: OnScheduleCo
|
|
|
61
63
|
* @param appFactory
|
|
62
64
|
* @param makeNestContext
|
|
63
65
|
* @returns
|
|
66
|
+
* @__NO_SIDE_EFFECTS__
|
|
64
67
|
*/
|
|
65
68
|
export declare function onScheduleHandlerWithNestContextFactory<N>(appFactory: OnScheduleHandlerWithNestApplicationFactory, makeNestContext: MakeNestContext<N>): OnScheduleHandlerWithNestContextFactory<N>;
|
|
@@ -17,5 +17,6 @@ export type TaskQueueFunctionHandlerWithNestContextFactory<N> = <I = unknown>(fn
|
|
|
17
17
|
* @param appFactory
|
|
18
18
|
* @param makeNestContext
|
|
19
19
|
* @returns
|
|
20
|
+
* @__NO_SIDE_EFFECTS__
|
|
20
21
|
*/
|
|
21
22
|
export declare function taskQueueFunctionHandlerWithNestContextFactory<N>(makeNestContext: MakeNestContext<N>): TaskQueueFunctionHandlerWithNestContextFactory<N>;
|
|
@@ -73,6 +73,7 @@ export declare const ON_CALL_MODEL_ANALYTICS_SERVICE: InjectionToken<OnCallModel
|
|
|
73
73
|
* service is registered.
|
|
74
74
|
*
|
|
75
75
|
* @returns An {@link OnCallModelAnalyticsService} that discards all analytics events.
|
|
76
|
+
* @__NO_SIDE_EFFECTS__
|
|
76
77
|
*/
|
|
77
78
|
export declare function noopOnCallModelAnalyticsService(): OnCallModelAnalyticsService;
|
|
78
79
|
/**
|
|
@@ -120,5 +120,6 @@ export interface OnCallWithCallTypeModelConfig<N> {
|
|
|
120
120
|
* @param config - Configuration including call type, crud type, and error factory.
|
|
121
121
|
* @returns A callable function that dispatches to the correct model-type handler.
|
|
122
122
|
* @internal Not intended for direct use outside the model CRUD module.
|
|
123
|
+
* @__NO_SIDE_EFFECTS__
|
|
123
124
|
*/
|
|
124
125
|
export declare function _onCallWithCallTypeFunction<N>(map: OnCallWithCallTypeModelMap<N>, config: OnCallWithCallTypeModelConfig<N>): OnCallWithAuthAwareNestContext<N, OnCallTypedModelParams, unknown> & OnCallApiDetailsRef;
|
|
@@ -90,5 +90,6 @@ export declare function onCallCreateModel<N>(map: OnCallCreateModelMap<N>, confi
|
|
|
90
90
|
*
|
|
91
91
|
* @param modelType - The unrecognized model type string.
|
|
92
92
|
* @returns A bad-request error with {@link UNKNOWN_MODEL_TYPE_ERROR_CODE} code.
|
|
93
|
+
* @__NO_SIDE_EFFECTS__
|
|
93
94
|
*/
|
|
94
95
|
export declare function createModelUnknownModelTypeError(modelType: FirestoreModelType): import("firebase-functions/https").HttpsError;
|
|
@@ -58,6 +58,7 @@ export type ProvideFirebaseServerStorageService<T extends FirebaseServerStorageS
|
|
|
58
58
|
*
|
|
59
59
|
* @param provider - The storage service provider configuration.
|
|
60
60
|
* @returns An array of NestJS providers for the storage service.
|
|
61
|
+
* @__NO_SIDE_EFFECTS__
|
|
61
62
|
*/
|
|
62
63
|
export declare function provideFirebaseServerStorageService<T extends FirebaseServerStorageService = FirebaseServerStorageService>(provider: ProvideFirebaseServerStorageService<T>): Provider<T>[];
|
|
63
64
|
export interface FirebaseServerStorageModuleMetadataConfig<T extends FirebaseServerStorageService = FirebaseServerStorageService> extends AdditionalModuleMetadata {
|
package/test/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server/test",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/analytics": "13.11.
|
|
6
|
-
"@dereekb/date": "13.11.
|
|
7
|
-
"@dereekb/firebase": "13.11.
|
|
8
|
-
"@dereekb/firebase-server": "13.11.
|
|
9
|
-
"@dereekb/firebase-server/oidc": "13.11.
|
|
10
|
-
"@dereekb/model": "13.11.
|
|
11
|
-
"@dereekb/nestjs": "13.11.
|
|
12
|
-
"@dereekb/rxjs": "13.11.
|
|
13
|
-
"@dereekb/util": "13.11.
|
|
5
|
+
"@dereekb/analytics": "13.11.4",
|
|
6
|
+
"@dereekb/date": "13.11.4",
|
|
7
|
+
"@dereekb/firebase": "13.11.4",
|
|
8
|
+
"@dereekb/firebase-server": "13.11.4",
|
|
9
|
+
"@dereekb/firebase-server/oidc": "13.11.4",
|
|
10
|
+
"@dereekb/model": "13.11.4",
|
|
11
|
+
"@dereekb/nestjs": "13.11.4",
|
|
12
|
+
"@dereekb/rxjs": "13.11.4",
|
|
13
|
+
"@dereekb/util": "13.11.4",
|
|
14
14
|
"@google-cloud/firestore": "^7.11.6",
|
|
15
15
|
"@google-cloud/storage": "^7.19.0",
|
|
16
16
|
"@nestjs/common": "^11.1.19",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"supertest": "^7.2.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@dereekb/nestjs": "13.11.
|
|
26
|
+
"@dereekb/nestjs": "13.11.4"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
"./package.json": "./package.json",
|
package/zoho/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server/zoho",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/analytics": "13.11.
|
|
6
|
-
"@dereekb/date": "13.11.
|
|
7
|
-
"@dereekb/model": "13.11.
|
|
8
|
-
"@dereekb/nestjs": "13.11.
|
|
9
|
-
"@dereekb/rxjs": "13.11.
|
|
10
|
-
"@dereekb/firebase": "13.11.
|
|
11
|
-
"@dereekb/util": "13.11.
|
|
12
|
-
"@dereekb/zoho": "13.11.
|
|
5
|
+
"@dereekb/analytics": "13.11.4",
|
|
6
|
+
"@dereekb/date": "13.11.4",
|
|
7
|
+
"@dereekb/model": "13.11.4",
|
|
8
|
+
"@dereekb/nestjs": "13.11.4",
|
|
9
|
+
"@dereekb/rxjs": "13.11.4",
|
|
10
|
+
"@dereekb/firebase": "13.11.4",
|
|
11
|
+
"@dereekb/util": "13.11.4",
|
|
12
|
+
"@dereekb/zoho": "13.11.4"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
"./package.json": "./package.json",
|