@squidcloud/client 1.0.25 → 1.0.27
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/dist/common/src/backend-run.types.d.ts +1 -1
- package/dist/common/src/bundle-api.types.d.ts +0 -2
- package/dist/common/src/bundle-data.types.d.ts +0 -1
- package/dist/common/src/index.d.ts +0 -1
- package/dist/index.js +1 -1
- package/dist/package.json +2 -2
- package/dist/typescript-client/src/data.manager.d.ts +2 -0
- package/package.json +2 -2
- package/dist/common/src/executable.context.d.ts +0 -4
|
@@ -35,7 +35,7 @@ export interface LoadJsPayload {
|
|
|
35
35
|
codeUrl: string;
|
|
36
36
|
}
|
|
37
37
|
export declare const executeFunctionSecureAnnotationType: Array<ExecuteFunctionAnnotationType>;
|
|
38
|
-
export type ExecuteFunctionSecureAnnotationType = 'secureQuery' | 'secureMutation' | '
|
|
38
|
+
export type ExecuteFunctionSecureAnnotationType = 'secureQuery' | 'secureMutation' | 'secureNamedQuery' | 'secureGraphQL' | 'secureApi';
|
|
39
39
|
export type ExecuteFunctionAnnotationType = 'executable' | 'webhook' | 'scheduler' | 'trigger' | 'transformRead' | 'transformWrite' | 'metadata' | ExecuteFunctionSecureAnnotationType;
|
|
40
40
|
export interface ExecuteFunctionPayload {
|
|
41
41
|
functionName: string;
|
|
@@ -6,7 +6,6 @@ import { MutationContext } from './mutation.context';
|
|
|
6
6
|
import { Mutation, MutationType } from './mutation.types';
|
|
7
7
|
import { QueryContext } from './query';
|
|
8
8
|
import { SecretKey } from './secret.types';
|
|
9
|
-
import { ExecutableContext } from './executable.context';
|
|
10
9
|
import { ApiCallContext } from './api-call.context';
|
|
11
10
|
import { NamedQueryContext } from './named-query.context';
|
|
12
11
|
import { GraphqlContext } from './graphql.context';
|
|
@@ -27,7 +26,6 @@ export interface ServiceConfig {
|
|
|
27
26
|
}
|
|
28
27
|
export type SecureDatabaseAction<T extends ActionType> = T extends 'all' ? () => boolean | Promise<boolean> : T extends 'read' ? (context?: QueryContext) => boolean | Promise<boolean> : (context?: MutationContext) => boolean | Promise<boolean>;
|
|
29
28
|
export type SecureApiAction = (context?: ApiCallContext) => boolean | Promise<boolean>;
|
|
30
|
-
export type SecureExecutableAction = (context?: ExecutableContext) => boolean | Promise<boolean>;
|
|
31
29
|
export type SecureNamedQueryAction = (context?: NamedQueryContext) => boolean | Promise<boolean>;
|
|
32
30
|
export type SecureGraphQLAction = (context?: GraphqlContext) => boolean | Promise<boolean>;
|
|
33
31
|
export type TransformDatabaseAction<T extends ActionType> = T extends 'read' ? (request?: TransformDatabaseReadRequest) => TransformDatabaseReadResponse | Promise<TransformDatabaseReadResponse> : (request?: TransformDatabaseWriteRequest) => TransformDatabaseWriteResponse | Promise<TransformDatabaseWriteResponse>;
|
|
@@ -10,7 +10,6 @@ export * from './bundle-data.types';
|
|
|
10
10
|
export * from './communication.types';
|
|
11
11
|
export * from './context.types';
|
|
12
12
|
export * from './document.types';
|
|
13
|
-
export * from './executable.context';
|
|
14
13
|
export * from './graphql.context';
|
|
15
14
|
export * from './graphql.types';
|
|
16
15
|
export * from './http-status.enum';
|