@dereekb/firebase-server 13.43.0 → 14.0.0
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/calcom/index.esm.js +57 -96
- package/calcom/package.json +11 -11
- package/discord/index.esm.js +48 -74
- package/discord/package.json +11 -11
- package/index.esm.js +336 -583
- package/mailgun/index.esm.js +20 -32
- package/mailgun/package.json +9 -9
- package/mcp/index.esm.js +131 -185
- package/mcp/package.json +14 -14
- package/model/index.esm.js +699 -692
- package/model/package.json +14 -14
- package/model/src/lib/formspace/formspace.action.server.d.ts +79 -5
- package/model/src/lib/formspace/formspace.error.d.ts +21 -0
- package/model/src/lib/formspace/formspace.task.service.handler.d.ts +3 -2
- package/model/src/lib/storagefile/storagefile.task.service.handler.d.ts +3 -3
- package/oidc/index.esm.js +144 -251
- package/oidc/package.json +14 -14
- package/package.json +24 -24
- package/src/lib/function/type.d.ts +0 -9
- package/src/lib/nest/app.d.ts +0 -4
- package/src/lib/nest/development/development.app.function.d.ts +2 -2
- package/src/lib/nest/model/analytics.handler.d.ts +0 -8
- package/src/lib/nest/model/api.details.d.ts +0 -8
- package/src/lib/nest/nest.provider.d.ts +0 -8
- package/test/index.esm.js +239 -395
- package/test/package.json +17 -17
- package/test/src/lib/firebase/firebase.admin.auth.d.ts +4 -25
- package/test/src/lib/firebase/firebase.admin.nest.d.ts +0 -4
- package/test/src/lib/firebase/firebase.admin.nest.function.d.ts +7 -7
- package/test/src/lib/firebase/firebase.function.d.ts +20 -81
- package/test/src/lib/firebase/firebase.test.d.ts +0 -9
- package/twilio/index.esm.js +11 -14
- package/twilio/package.json +8 -8
- package/zoho/index.esm.js +72 -132
- package/zoho/package.json +12 -12
- package/zoho/src/lib/zoho.accounts.firebase.system.d.ts +0 -10
package/oidc/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server/oidc",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@dereekb/analytics": "
|
|
7
|
-
"@dereekb/date": "
|
|
8
|
-
"@dereekb/firebase": "
|
|
9
|
-
"@dereekb/firebase-server": "
|
|
10
|
-
"@dereekb/model": "
|
|
11
|
-
"@dereekb/nestjs": "
|
|
12
|
-
"@dereekb/rxjs": "
|
|
13
|
-
"@dereekb/util": "
|
|
14
|
-
"@dereekb/zoho": "
|
|
15
|
-
"@nestjs/common": "^
|
|
16
|
-
"@nestjs/config": "^
|
|
6
|
+
"@dereekb/analytics": "14.0.0",
|
|
7
|
+
"@dereekb/date": "14.0.0",
|
|
8
|
+
"@dereekb/firebase": "14.0.0",
|
|
9
|
+
"@dereekb/firebase-server": "14.0.0",
|
|
10
|
+
"@dereekb/model": "14.0.0",
|
|
11
|
+
"@dereekb/nestjs": "14.0.0",
|
|
12
|
+
"@dereekb/rxjs": "14.0.0",
|
|
13
|
+
"@dereekb/util": "14.0.0",
|
|
14
|
+
"@dereekb/zoho": "14.0.0",
|
|
15
|
+
"@nestjs/common": "^12.0.1",
|
|
16
|
+
"@nestjs/config": "^12.0.0",
|
|
17
17
|
"express": "^5.2.1",
|
|
18
|
-
"firebase-admin": "^13.
|
|
19
|
-
"nanoid": "^
|
|
18
|
+
"firebase-admin": "^13.10.0",
|
|
19
|
+
"nanoid": "^6.0.1",
|
|
20
20
|
"oidc-provider": "^9.8.2"
|
|
21
21
|
},
|
|
22
22
|
"exports": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -58,39 +58,39 @@
|
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@cantoo/pdf-lib": "^2.6.5",
|
|
61
|
-
"@dereekb/analytics": "
|
|
62
|
-
"@dereekb/calcom": "
|
|
63
|
-
"@dereekb/date": "
|
|
64
|
-
"@dereekb/dbx-core": "
|
|
65
|
-
"@dereekb/discord": "
|
|
66
|
-
"@dereekb/firebase": "
|
|
67
|
-
"@dereekb/model": "
|
|
68
|
-
"@dereekb/nestjs": "
|
|
69
|
-
"@dereekb/rxjs": "
|
|
70
|
-
"@dereekb/util": "
|
|
71
|
-
"@dereekb/zoho": "
|
|
61
|
+
"@dereekb/analytics": "14.0.0",
|
|
62
|
+
"@dereekb/calcom": "14.0.0",
|
|
63
|
+
"@dereekb/date": "14.0.0",
|
|
64
|
+
"@dereekb/dbx-core": "14.0.0",
|
|
65
|
+
"@dereekb/discord": "14.0.0",
|
|
66
|
+
"@dereekb/firebase": "14.0.0",
|
|
67
|
+
"@dereekb/model": "14.0.0",
|
|
68
|
+
"@dereekb/nestjs": "14.0.0",
|
|
69
|
+
"@dereekb/rxjs": "14.0.0",
|
|
70
|
+
"@dereekb/util": "14.0.0",
|
|
71
|
+
"@dereekb/zoho": "14.0.0",
|
|
72
72
|
"@google-cloud/firestore": "^7.11.6",
|
|
73
|
-
"@google-cloud/storage": "^7.
|
|
73
|
+
"@google-cloud/storage": "^7.22.0",
|
|
74
74
|
"@modelcontextprotocol/node": "2.0.0",
|
|
75
75
|
"@modelcontextprotocol/server": "2.0.0",
|
|
76
|
-
"@nestjs/common": "^
|
|
77
|
-
"@nestjs/config": "^
|
|
78
|
-
"@nestjs/core": "^
|
|
79
|
-
"@nestjs/platform-express": "^
|
|
80
|
-
"@nestjs/testing": "^
|
|
81
|
-
"archiver": "^
|
|
76
|
+
"@nestjs/common": "^12.0.1",
|
|
77
|
+
"@nestjs/config": "^12.0.0",
|
|
78
|
+
"@nestjs/core": "^12.0.1",
|
|
79
|
+
"@nestjs/platform-express": "^12.0.1",
|
|
80
|
+
"@nestjs/testing": "^12.0.1",
|
|
81
|
+
"archiver": "^8.0.0",
|
|
82
82
|
"arktype": "^2.2.0",
|
|
83
83
|
"date-fns": "^4.1.0",
|
|
84
84
|
"express": "^5.2.1",
|
|
85
|
-
"firebase-admin": "^13.
|
|
86
|
-
"firebase-functions": "^7.2
|
|
87
|
-
"firebase-functions-test": "3.
|
|
85
|
+
"firebase-admin": "^13.10.0",
|
|
86
|
+
"firebase-functions": "^7.3.2",
|
|
87
|
+
"firebase-functions-test": "3.5.0",
|
|
88
88
|
"jsonwebtoken": "^9.0.3",
|
|
89
89
|
"make-error": "^1.3.6",
|
|
90
|
-
"nanoid": "^
|
|
90
|
+
"nanoid": "^6.0.1",
|
|
91
91
|
"oidc-provider": "^9.8.2",
|
|
92
92
|
"rxjs": "^7.8.2",
|
|
93
|
-
"sharp": "0.35.
|
|
93
|
+
"sharp": "0.35.4",
|
|
94
94
|
"supertest": "^7.2.2",
|
|
95
95
|
"ts-essentials": "^10.2.0"
|
|
96
96
|
},
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import { type PromiseOrValue } from '@dereekb/util';
|
|
2
|
-
import { type Runnable, type HttpsFunction } from 'firebase-functions/v1';
|
|
3
2
|
import { type CallableFunction } from 'firebase-functions/v2/https';
|
|
4
3
|
/**
|
|
5
4
|
* Firebase Functions V2 - CallableFunction with output as an optional type.
|
|
6
5
|
*/
|
|
7
6
|
export type CallableHttpFunction<I, O = unknown> = CallableFunction<I, PromiseOrValue<O>>;
|
|
8
|
-
/**
|
|
9
|
-
* Firebase Functions V1 - Union of firebase-functions HttpsFunction and Runnable.
|
|
10
|
-
*
|
|
11
|
-
* @deprecated deprecated gen 1 firebase function type
|
|
12
|
-
*
|
|
13
|
-
* @see CallableHttpFunction
|
|
14
|
-
*/
|
|
15
|
-
export type RunnableHttpFunction<I> = HttpsFunction & Runnable<I>;
|
package/src/lib/nest/app.d.ts
CHANGED
|
@@ -90,7 +90,3 @@ export interface NestFirebaseServerEnvironmentConfig {
|
|
|
90
90
|
* ```
|
|
91
91
|
*/
|
|
92
92
|
export declare function nestServerInstance<T>(config: NestServerInstanceConfig<T>): NestServerInstance<T>;
|
|
93
|
-
/**
|
|
94
|
-
* @deprecated Use NestFirebaseServerEnvironmentConfig instead.
|
|
95
|
-
*/
|
|
96
|
-
export type NestServerEnvironmentConfig = NestFirebaseServerEnvironmentConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type OnCallDevelopmentParams, type RUN_DEV_FUNCTION_APP_FUNCTION_KEY } from '@dereekb/firebase';
|
|
2
|
-
import { type CallableHttpFunction
|
|
2
|
+
import { type CallableHttpFunction } from '../../function/type';
|
|
3
3
|
import { type NestAppPromiseGetter } from '../app';
|
|
4
4
|
import { type NestApplicationScheduleConfiguredFunctionMap } from '../function/schedule';
|
|
5
5
|
import { type OnCallHandlerWithNestContextFactory } from '../function/v2/call';
|
|
@@ -54,7 +54,7 @@ export interface FirebaseServerDevFunctionsConfig<N extends AbstractFirebaseNest
|
|
|
54
54
|
* Spread this into your Firebase Functions exports to register the dev endpoint.
|
|
55
55
|
*/
|
|
56
56
|
export interface FirebaseServerDevFunctions {
|
|
57
|
-
readonly [RUN_DEV_FUNCTION_APP_FUNCTION_KEY]:
|
|
57
|
+
readonly [RUN_DEV_FUNCTION_APP_FUNCTION_KEY]: CallableHttpFunction<OnCallDevelopmentParams>;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
60
|
* Creates the development callable function bundle for a Firebase + NestJS server.
|
|
@@ -76,11 +76,3 @@ export declare const ON_CALL_MODEL_ANALYTICS_SERVICE: InjectionToken<OnCallModel
|
|
|
76
76
|
* @__NO_SIDE_EFFECTS__
|
|
77
77
|
*/
|
|
78
78
|
export declare function noopOnCallModelAnalyticsService(): OnCallModelAnalyticsService;
|
|
79
|
-
/**
|
|
80
|
-
* @deprecated Use {@link OnCallModelAnalyticsService} instead.
|
|
81
|
-
*/
|
|
82
|
-
export type OnCallModelAnalyticsHandler = OnCallModelAnalyticsService;
|
|
83
|
-
/**
|
|
84
|
-
* @deprecated Use {@link ON_CALL_MODEL_ANALYTICS_SERVICE} instead.
|
|
85
|
-
*/
|
|
86
|
-
export declare const ON_CALL_MODEL_ANALYTICS_HANDLER: InjectionToken<OnCallModelAnalyticsService>;
|
|
@@ -593,11 +593,3 @@ export declare function resolveAnalyticsFromApiDetails(apiDetails: OnCallModelAp
|
|
|
593
593
|
* @returns The per-function required scope for the resolved handler, or undefined.
|
|
594
594
|
*/
|
|
595
595
|
export declare function resolveRequiredScopeFromApiDetails(apiDetails: OnCallModelApiDetails, call: OnCallFunctionType, modelType: FirestoreModelType, specifier?: ModelFirebaseCrudFunctionSpecifier): Maybe<OidcScopeTerm>;
|
|
596
|
-
/**
|
|
597
|
-
* @deprecated Use {@link OnCallModelTypeApiDetails} instead.
|
|
598
|
-
*/
|
|
599
|
-
export type OnCallSpecifierApiDetails = OnCallModelTypeApiDetails;
|
|
600
|
-
/**
|
|
601
|
-
* @deprecated Use {@link isOnCallModelTypeApiDetails} instead.
|
|
602
|
-
*/
|
|
603
|
-
export declare const isOnCallSpecifierApiDetails: typeof isOnCallModelTypeApiDetails;
|
|
@@ -27,14 +27,6 @@ export type MakeNestContext<C> = (nest: INestApplicationContext) => C;
|
|
|
27
27
|
export declare abstract class AbstractNestContext {
|
|
28
28
|
private readonly _nestApplication;
|
|
29
29
|
constructor(nestApplication: INestApplicationContext);
|
|
30
|
-
/**
|
|
31
|
-
* Returns the NestJS application context.
|
|
32
|
-
*
|
|
33
|
-
* @returns The NestJS application context.
|
|
34
|
-
*
|
|
35
|
-
* @deprecated use nestApplication instead.
|
|
36
|
-
*/
|
|
37
|
-
get nest(): INestApplicationContext;
|
|
38
30
|
/**
|
|
39
31
|
* Returns the NestJS application context.
|
|
40
32
|
*
|