@dereekb/firebase-server 13.11.1 → 13.11.2
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/mailgun/package.json +9 -9
- package/model/package.json +9 -9
- package/oidc/index.cjs.js +2 -52
- package/oidc/index.esm.js +2 -47
- package/oidc/package.json +10 -10
- package/oidc/src/lib/scope.d.ts +1 -41
- package/package.json +10 -10
- package/test/package.json +11 -11
- package/zoho/package.json +9 -9
package/mailgun/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server/mailgun",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@dereekb/analytics": "13.11.
|
|
6
|
-
"@dereekb/firebase": "13.11.
|
|
7
|
-
"@dereekb/firebase-server": "13.11.
|
|
8
|
-
"@dereekb/date": "13.11.
|
|
9
|
-
"@dereekb/nestjs": "13.11.
|
|
10
|
-
"@dereekb/model": "13.11.
|
|
11
|
-
"@dereekb/rxjs": "13.11.
|
|
12
|
-
"@dereekb/util": "13.11.
|
|
5
|
+
"@dereekb/analytics": "13.11.2",
|
|
6
|
+
"@dereekb/firebase": "13.11.2",
|
|
7
|
+
"@dereekb/firebase-server": "13.11.2",
|
|
8
|
+
"@dereekb/date": "13.11.2",
|
|
9
|
+
"@dereekb/nestjs": "13.11.2",
|
|
10
|
+
"@dereekb/model": "13.11.2",
|
|
11
|
+
"@dereekb/rxjs": "13.11.2",
|
|
12
|
+
"@dereekb/util": "13.11.2"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
"./package.json": "./package.json",
|
package/model/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server/model",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.2",
|
|
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/model": "13.11.
|
|
10
|
-
"@dereekb/nestjs": "13.11.
|
|
11
|
-
"@dereekb/rxjs": "13.11.
|
|
12
|
-
"@dereekb/util": "13.11.
|
|
5
|
+
"@dereekb/analytics": "13.11.2",
|
|
6
|
+
"@dereekb/date": "13.11.2",
|
|
7
|
+
"@dereekb/firebase": "13.11.2",
|
|
8
|
+
"@dereekb/firebase-server": "13.11.2",
|
|
9
|
+
"@dereekb/model": "13.11.2",
|
|
10
|
+
"@dereekb/nestjs": "13.11.2",
|
|
11
|
+
"@dereekb/rxjs": "13.11.2",
|
|
12
|
+
"@dereekb/util": "13.11.2",
|
|
13
13
|
"@nestjs/common": "^11.1.19",
|
|
14
14
|
"@nestjs/config": "^4.0.4",
|
|
15
15
|
"archiver": "^7.0.1",
|
package/oidc/index.cjs.js
CHANGED
|
@@ -5812,51 +5812,6 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
5812
5812
|
};
|
|
5813
5813
|
}
|
|
5814
5814
|
|
|
5815
|
-
/**
|
|
5816
|
-
* Prefix shared by every callModel OIDC scope (e.g., `model.create`).
|
|
5817
|
-
*
|
|
5818
|
-
* Kept stable so OAuth consent screens render consistent labels and so
|
|
5819
|
-
* future per-resource scopes (e.g., `model.create:profile`) compose cleanly.
|
|
5820
|
-
*/ var CALL_MODEL_OIDC_SCOPE_PREFIX = 'model.';
|
|
5821
|
-
/**
|
|
5822
|
-
* Canonical CRUD scopes enforced on the `callModel` API.
|
|
5823
|
-
*
|
|
5824
|
-
* Each scope corresponds 1:1 to a {@link KnownOnCallFunctionType}; see
|
|
5825
|
-
* {@link CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE}.
|
|
5826
|
-
*/ var CALL_MODEL_OIDC_SCOPES = [
|
|
5827
|
-
'model.create',
|
|
5828
|
-
'model.read',
|
|
5829
|
-
'model.update',
|
|
5830
|
-
'model.delete',
|
|
5831
|
-
'model.query'
|
|
5832
|
-
];
|
|
5833
|
-
/**
|
|
5834
|
-
* Maps each known CRUD call type to the scope an OIDC token must carry to invoke it.
|
|
5835
|
-
*/ var CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE = {
|
|
5836
|
-
create: 'model.create',
|
|
5837
|
-
read: 'model.read',
|
|
5838
|
-
update: 'model.update',
|
|
5839
|
-
delete: 'model.delete',
|
|
5840
|
-
query: 'model.query'
|
|
5841
|
-
};
|
|
5842
|
-
/**
|
|
5843
|
-
* Resolves the OIDC scope that an OIDC-authenticated caller must hold to invoke
|
|
5844
|
-
* the given callModel `call` type.
|
|
5845
|
-
*
|
|
5846
|
-
* Returns `undefined` for non-CRUD (custom) call types so that scope enforcement
|
|
5847
|
-
* is opt-in for app-specific verbs — apps can still gate them via their own
|
|
5848
|
-
* `preAssert` if needed.
|
|
5849
|
-
*
|
|
5850
|
-
* @param call - The CRUD call type from {@link OnCallTypedModelParams.call}.
|
|
5851
|
-
* @returns The required scope, or `undefined` if `call` is not one of the known CRUD verbs.
|
|
5852
|
-
*/ function callModelOidcScopeForCallType(call) {
|
|
5853
|
-
var result = call == null ? undefined : CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE[call];
|
|
5854
|
-
return result;
|
|
5855
|
-
}
|
|
5856
|
-
/**
|
|
5857
|
-
* Error code used when an OIDC-authenticated caller is missing the required
|
|
5858
|
-
* `model.*` scope for a callModel CRUD operation.
|
|
5859
|
-
*/ var CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE = 'CALL_MODEL_MISSING_OIDC_SCOPE';
|
|
5860
5815
|
/**
|
|
5861
5816
|
* Builds a {@link AssertModelCrudRequestFunction} that rejects callModel requests
|
|
5862
5817
|
* lacking the OIDC scope mapped from the call type.
|
|
@@ -5874,13 +5829,13 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
5874
5829
|
* @returns The pre-assertion function ready to plug into `OnCallModelConfig.preAssert`.
|
|
5875
5830
|
*/ function oidcCallModelScopePreAssert() {
|
|
5876
5831
|
var fn = function fn(context) {
|
|
5877
|
-
var requiredScope = callModelOidcScopeForCallType(context.call);
|
|
5832
|
+
var requiredScope = firebase.callModelOidcScopeForCallType(context.call);
|
|
5878
5833
|
var scopes = requiredScope == null ? undefined : getOidcScopesFromRequest(context.request);
|
|
5879
5834
|
var isMissingScope = requiredScope != null && scopes != null && !scopes.has(requiredScope);
|
|
5880
5835
|
if (isMissingScope) {
|
|
5881
5836
|
throw firebaseServer.forbiddenError({
|
|
5882
5837
|
status: 403,
|
|
5883
|
-
code: CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE,
|
|
5838
|
+
code: firebase.CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE,
|
|
5884
5839
|
message: "Missing required OIDC scope for callModel: ".concat(requiredScope),
|
|
5885
5840
|
data: {
|
|
5886
5841
|
requiredScope: requiredScope,
|
|
@@ -5892,10 +5847,6 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
5892
5847
|
return fn;
|
|
5893
5848
|
}
|
|
5894
5849
|
|
|
5895
|
-
exports.CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE = CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE;
|
|
5896
|
-
exports.CALL_MODEL_OIDC_SCOPES = CALL_MODEL_OIDC_SCOPES;
|
|
5897
|
-
exports.CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE = CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE;
|
|
5898
|
-
exports.CALL_MODEL_OIDC_SCOPE_PREFIX = CALL_MODEL_OIDC_SCOPE_PREFIX;
|
|
5899
5850
|
exports.DEFAULT_APP_OAUTH_CONSENT_PATH_PART = DEFAULT_APP_OAUTH_CONSENT_PATH_PART;
|
|
5900
5851
|
exports.DEFAULT_APP_OAUTH_INTERACTION_PATH = DEFAULT_APP_OAUTH_INTERACTION_PATH;
|
|
5901
5852
|
exports.DEFAULT_APP_OAUTH_LOGIN_PATH_PART = DEFAULT_APP_OAUTH_LOGIN_PATH_PART;
|
|
@@ -5926,7 +5877,6 @@ exports.OidcServerFirestoreCollections = OidcServerFirestoreCollections;
|
|
|
5926
5877
|
exports.activeJwksKeysQuery = activeJwksKeysQuery;
|
|
5927
5878
|
exports.appOidcModelModuleMetadata = appOidcModelModuleMetadata;
|
|
5928
5879
|
exports.applyOidcAuthMiddleware = applyOidcAuthMiddleware;
|
|
5929
|
-
exports.callModelOidcScopeForCallType = callModelOidcScopeForCallType;
|
|
5930
5880
|
exports.createAdapterFactory = createAdapterFactory;
|
|
5931
5881
|
exports.createOidcClientFactory = createOidcClientFactory;
|
|
5932
5882
|
exports.deleteOidcClientFactory = deleteOidcClientFactory;
|
package/oidc/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createParamDecorator, Injectable, Inject, Optional, Logger, UnauthorizedException, Get, Param, Req, Res, Post, HttpCode, HttpStatus, Body, Controller, HttpException, All } from '@nestjs/common';
|
|
2
2
|
import { generateKeyPairSync, randomBytes } from 'node:crypto';
|
|
3
3
|
import { resolveEncryptionKey, encryptValue, decryptValue, createAesStringEncryptionProvider, isValidAES256GCMEncryptionSecret } from '@dereekb/nestjs';
|
|
4
|
-
import { where, iterateFirestoreDocumentSnapshotPairs, firestoreModelIdentity, snapshotConverterFunctions, optionalFirestoreDate, firestoreDate, firestoreEnum, firestorePassThroughField, AbstractFirestoreDocument, createOidcClientParamsType, deleteOidcClientParamsType, rotateOidcClientSecretParamsType, updateOidcClientParamsType, firestoreModelKey, oidcEntryIdentity, OIDC_ENTRY_CLIENT_TYPE, oidcEntriesByUserCodeQuery, oidcEntriesByUidQuery, oidcEntriesByGrantIdQuery, oidcEntryFirestoreCollection } from '@dereekb/firebase';
|
|
4
|
+
import { where, iterateFirestoreDocumentSnapshotPairs, firestoreModelIdentity, snapshotConverterFunctions, optionalFirestoreDate, firestoreDate, firestoreEnum, firestorePassThroughField, AbstractFirestoreDocument, createOidcClientParamsType, deleteOidcClientParamsType, rotateOidcClientSecretParamsType, updateOidcClientParamsType, firestoreModelKey, oidcEntryIdentity, OIDC_ENTRY_CLIENT_TYPE, oidcEntriesByUserCodeQuery, oidcEntriesByUidQuery, oidcEntriesByGrantIdQuery, oidcEntryFirestoreCollection, callModelOidcScopeForCallType, CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE } from '@dereekb/firebase';
|
|
5
5
|
import { cachedGetter, unixDateTimeSecondsNumberToDate, unixDateTimeSecondsNumberForNow, selectiveFieldEncryptor, filterUndefinedValues, websiteUrlFromPaths, firstValue, hasHttpPrefix } from '@dereekb/util';
|
|
6
6
|
import { firestoreEncryptedField, firebaseServerActionsContext, FirebaseServerEnvService, FIREBASE_FIRESTORE_CONTEXT_TOKEN, FirebaseServerFirestoreContextModule, forbiddenError } from '@dereekb/firebase-server';
|
|
7
7
|
import { nanoid } from 'nanoid';
|
|
@@ -5810,51 +5810,6 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
5810
5810
|
};
|
|
5811
5811
|
}
|
|
5812
5812
|
|
|
5813
|
-
/**
|
|
5814
|
-
* Prefix shared by every callModel OIDC scope (e.g., `model.create`).
|
|
5815
|
-
*
|
|
5816
|
-
* Kept stable so OAuth consent screens render consistent labels and so
|
|
5817
|
-
* future per-resource scopes (e.g., `model.create:profile`) compose cleanly.
|
|
5818
|
-
*/ var CALL_MODEL_OIDC_SCOPE_PREFIX = 'model.';
|
|
5819
|
-
/**
|
|
5820
|
-
* Canonical CRUD scopes enforced on the `callModel` API.
|
|
5821
|
-
*
|
|
5822
|
-
* Each scope corresponds 1:1 to a {@link KnownOnCallFunctionType}; see
|
|
5823
|
-
* {@link CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE}.
|
|
5824
|
-
*/ var CALL_MODEL_OIDC_SCOPES = [
|
|
5825
|
-
'model.create',
|
|
5826
|
-
'model.read',
|
|
5827
|
-
'model.update',
|
|
5828
|
-
'model.delete',
|
|
5829
|
-
'model.query'
|
|
5830
|
-
];
|
|
5831
|
-
/**
|
|
5832
|
-
* Maps each known CRUD call type to the scope an OIDC token must carry to invoke it.
|
|
5833
|
-
*/ var CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE = {
|
|
5834
|
-
create: 'model.create',
|
|
5835
|
-
read: 'model.read',
|
|
5836
|
-
update: 'model.update',
|
|
5837
|
-
delete: 'model.delete',
|
|
5838
|
-
query: 'model.query'
|
|
5839
|
-
};
|
|
5840
|
-
/**
|
|
5841
|
-
* Resolves the OIDC scope that an OIDC-authenticated caller must hold to invoke
|
|
5842
|
-
* the given callModel `call` type.
|
|
5843
|
-
*
|
|
5844
|
-
* Returns `undefined` for non-CRUD (custom) call types so that scope enforcement
|
|
5845
|
-
* is opt-in for app-specific verbs — apps can still gate them via their own
|
|
5846
|
-
* `preAssert` if needed.
|
|
5847
|
-
*
|
|
5848
|
-
* @param call - The CRUD call type from {@link OnCallTypedModelParams.call}.
|
|
5849
|
-
* @returns The required scope, or `undefined` if `call` is not one of the known CRUD verbs.
|
|
5850
|
-
*/ function callModelOidcScopeForCallType(call) {
|
|
5851
|
-
var result = call == null ? undefined : CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE[call];
|
|
5852
|
-
return result;
|
|
5853
|
-
}
|
|
5854
|
-
/**
|
|
5855
|
-
* Error code used when an OIDC-authenticated caller is missing the required
|
|
5856
|
-
* `model.*` scope for a callModel CRUD operation.
|
|
5857
|
-
*/ var CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE = 'CALL_MODEL_MISSING_OIDC_SCOPE';
|
|
5858
5813
|
/**
|
|
5859
5814
|
* Builds a {@link AssertModelCrudRequestFunction} that rejects callModel requests
|
|
5860
5815
|
* lacking the OIDC scope mapped from the call type.
|
|
@@ -5890,4 +5845,4 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
5890
5845
|
return fn;
|
|
5891
5846
|
}
|
|
5892
5847
|
|
|
5893
|
-
export {
|
|
5848
|
+
export { DEFAULT_APP_OAUTH_CONSENT_PATH_PART, DEFAULT_APP_OAUTH_INTERACTION_PATH, DEFAULT_APP_OAUTH_LOGIN_PATH_PART, DEFAULT_OIDC_CODE_CHALLENGE_METHODS, DEFAULT_OIDC_ID_TOKEN_SIGNING_ALG_VALUES, DEFAULT_OIDC_ISSUER_PATH, DEFAULT_OIDC_ROUTES, DEFAULT_OIDC_SUBJECT_TYPES, DEFAULT_OIDC_TOKEN_ENDPOINT_AUTH_METHODS, DEFAULT_OIDC_TOKEN_LIFETIMES, DEFAULT_ROTATED_KEY_MAX_AGE, FIREBASE_SERVER_OIDC_ROUTES_FOR_GLOBAL_ROUTE_EXCLUDE, JwksFirestoreCollections, JwksKeyDocument, JwksService, JwksServiceConfig, JwksServiceStorageConfig, OIDC_ENCRYPTED_PAYLOAD_FIELDS, OIDC_JWKS_ENCRYPTION_SECRET_ENV_KEY, OidcAccountService, OidcAccountServiceDelegate, OidcAccountServiceUserContext, OidcAuth, OidcAuthBearerTokenMiddleware, OidcAuthMiddlewareConfig, OidcClientService, OidcEncryptionService, OidcInteractionController, OidcInteractionService, OidcModelServerActions, OidcModuleConfig, OidcProviderConfigService, OidcProviderController, OidcServerFirestoreCollections, OidcService, OidcWellKnownController, activeJwksKeysQuery, appOidcModelModuleMetadata, applyOidcAuthMiddleware, createAdapterFactory, createOidcClientFactory, deleteOidcClientFactory, getOidcScopesFromRequest, jwksKeyCollectionReference, jwksKeyConverter, jwksKeyFirestoreCollection, jwksKeyIdentity, jwksKeysWithStatusQuery, nonRetiredJwksKeysQuery, oidcCallModelScopePreAssert, oidcFirestoreCollectionsFactory, oidcModelServerActions, oidcModelServerActionsFactory, oidcModuleConfigFactory, oidcModuleMetadata, rotateOidcClientSecretFactory, rotatedJwksKeysQuery, updateOidcClientFactory };
|
package/oidc/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server/oidc",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.2",
|
|
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/model": "13.11.
|
|
10
|
-
"@dereekb/nestjs": "13.11.
|
|
11
|
-
"@dereekb/rxjs": "13.11.
|
|
12
|
-
"@dereekb/util": "13.11.
|
|
13
|
-
"@dereekb/zoho": "13.11.
|
|
5
|
+
"@dereekb/analytics": "13.11.2",
|
|
6
|
+
"@dereekb/date": "13.11.2",
|
|
7
|
+
"@dereekb/firebase": "13.11.2",
|
|
8
|
+
"@dereekb/firebase-server": "13.11.2",
|
|
9
|
+
"@dereekb/model": "13.11.2",
|
|
10
|
+
"@dereekb/nestjs": "13.11.2",
|
|
11
|
+
"@dereekb/rxjs": "13.11.2",
|
|
12
|
+
"@dereekb/util": "13.11.2",
|
|
13
|
+
"@dereekb/zoho": "13.11.2",
|
|
14
14
|
"@nestjs/common": "^11.1.19",
|
|
15
15
|
"@nestjs/config": "^4.0.4",
|
|
16
16
|
"express": "^5.2.1",
|
package/oidc/src/lib/scope.d.ts
CHANGED
|
@@ -1,45 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type KnownOnCallFunctionType, type OnCallFunctionType, type OnCallTypedModelParams } from '@dereekb/firebase';
|
|
1
|
+
import { type OnCallTypedModelParams } from '@dereekb/firebase';
|
|
3
2
|
import { type AssertModelCrudRequestFunction } from '@dereekb/firebase-server';
|
|
4
|
-
/**
|
|
5
|
-
* Prefix shared by every callModel OIDC scope (e.g., `model.create`).
|
|
6
|
-
*
|
|
7
|
-
* Kept stable so OAuth consent screens render consistent labels and so
|
|
8
|
-
* future per-resource scopes (e.g., `model.create:profile`) compose cleanly.
|
|
9
|
-
*/
|
|
10
|
-
export declare const CALL_MODEL_OIDC_SCOPE_PREFIX = "model.";
|
|
11
|
-
/**
|
|
12
|
-
* Canonical CRUD scopes enforced on the `callModel` API.
|
|
13
|
-
*
|
|
14
|
-
* Each scope corresponds 1:1 to a {@link KnownOnCallFunctionType}; see
|
|
15
|
-
* {@link CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE}.
|
|
16
|
-
*/
|
|
17
|
-
export declare const CALL_MODEL_OIDC_SCOPES: readonly ["model.create", "model.read", "model.update", "model.delete", "model.query"];
|
|
18
|
-
/**
|
|
19
|
-
* Union of the five canonical callModel CRUD scope strings.
|
|
20
|
-
*/
|
|
21
|
-
export type CallModelOidcScope = (typeof CALL_MODEL_OIDC_SCOPES)[number];
|
|
22
|
-
/**
|
|
23
|
-
* Maps each known CRUD call type to the scope an OIDC token must carry to invoke it.
|
|
24
|
-
*/
|
|
25
|
-
export declare const CALL_MODEL_OIDC_SCOPE_FOR_CALL_TYPE: Readonly<Record<KnownOnCallFunctionType, CallModelOidcScope>>;
|
|
26
|
-
/**
|
|
27
|
-
* Resolves the OIDC scope that an OIDC-authenticated caller must hold to invoke
|
|
28
|
-
* the given callModel `call` type.
|
|
29
|
-
*
|
|
30
|
-
* Returns `undefined` for non-CRUD (custom) call types so that scope enforcement
|
|
31
|
-
* is opt-in for app-specific verbs — apps can still gate them via their own
|
|
32
|
-
* `preAssert` if needed.
|
|
33
|
-
*
|
|
34
|
-
* @param call - The CRUD call type from {@link OnCallTypedModelParams.call}.
|
|
35
|
-
* @returns The required scope, or `undefined` if `call` is not one of the known CRUD verbs.
|
|
36
|
-
*/
|
|
37
|
-
export declare function callModelOidcScopeForCallType(call: Maybe<OnCallFunctionType>): Maybe<CallModelOidcScope>;
|
|
38
|
-
/**
|
|
39
|
-
* Error code used when an OIDC-authenticated caller is missing the required
|
|
40
|
-
* `model.*` scope for a callModel CRUD operation.
|
|
41
|
-
*/
|
|
42
|
-
export declare const CALL_MODEL_MISSING_OIDC_SCOPE_ERROR_CODE = "CALL_MODEL_MISSING_OIDC_SCOPE";
|
|
43
3
|
/**
|
|
44
4
|
* Builds a {@link AssertModelCrudRequestFunction} that rejects callModel requests
|
|
45
5
|
* lacking the OIDC scope mapped from the call type.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dereekb/firebase-server",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.2",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"exports": {
|
|
6
6
|
"./test": {
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
"main": "./index.cjs.js",
|
|
45
45
|
"types": "./src/index.d.ts",
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@dereekb/analytics": "13.11.
|
|
48
|
-
"@dereekb/date": "13.11.
|
|
49
|
-
"@dereekb/dbx-core": "13.11.
|
|
50
|
-
"@dereekb/firebase": "13.11.
|
|
51
|
-
"@dereekb/model": "13.11.
|
|
52
|
-
"@dereekb/nestjs": "13.11.
|
|
53
|
-
"@dereekb/rxjs": "13.11.
|
|
54
|
-
"@dereekb/util": "13.11.
|
|
55
|
-
"@dereekb/zoho": "13.11.
|
|
47
|
+
"@dereekb/analytics": "13.11.2",
|
|
48
|
+
"@dereekb/date": "13.11.2",
|
|
49
|
+
"@dereekb/dbx-core": "13.11.2",
|
|
50
|
+
"@dereekb/firebase": "13.11.2",
|
|
51
|
+
"@dereekb/model": "13.11.2",
|
|
52
|
+
"@dereekb/nestjs": "13.11.2",
|
|
53
|
+
"@dereekb/rxjs": "13.11.2",
|
|
54
|
+
"@dereekb/util": "13.11.2",
|
|
55
|
+
"@dereekb/zoho": "13.11.2",
|
|
56
56
|
"@google-cloud/firestore": "^7.11.6",
|
|
57
57
|
"@google-cloud/storage": "^7.19.0",
|
|
58
58
|
"@nestjs/common": "^11.1.19",
|
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.2",
|
|
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.2",
|
|
6
|
+
"@dereekb/date": "13.11.2",
|
|
7
|
+
"@dereekb/firebase": "13.11.2",
|
|
8
|
+
"@dereekb/firebase-server": "13.11.2",
|
|
9
|
+
"@dereekb/firebase-server/oidc": "13.11.2",
|
|
10
|
+
"@dereekb/model": "13.11.2",
|
|
11
|
+
"@dereekb/nestjs": "13.11.2",
|
|
12
|
+
"@dereekb/rxjs": "13.11.2",
|
|
13
|
+
"@dereekb/util": "13.11.2",
|
|
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.2"
|
|
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.2",
|
|
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.2",
|
|
6
|
+
"@dereekb/date": "13.11.2",
|
|
7
|
+
"@dereekb/model": "13.11.2",
|
|
8
|
+
"@dereekb/nestjs": "13.11.2",
|
|
9
|
+
"@dereekb/rxjs": "13.11.2",
|
|
10
|
+
"@dereekb/firebase": "13.11.2",
|
|
11
|
+
"@dereekb/util": "13.11.2",
|
|
12
|
+
"@dereekb/zoho": "13.11.2"
|
|
13
13
|
},
|
|
14
14
|
"exports": {
|
|
15
15
|
"./package.json": "./package.json",
|