@squidcloud/client 1.0.90 → 1.0.92
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/cjs/index.js +5 -5
- package/dist/common/src/bundle-api.types.d.ts +2 -1
- package/dist/common/src/utils/http.d.ts +1 -1
- package/dist/common/src/utils/object.d.ts +0 -1
- package/dist/esm/index.js +5 -5
- package/dist/typescript-client/src/document-reference.factory.d.ts +1 -0
- package/dist/typescript-client/src/graphql-client.d.ts +4 -2
- package/dist/typescript-client/src/graphql-client.factory.d.ts +4 -2
- package/dist/typescript-client/src/query/local-query-manager.d.ts +9 -0
- package/dist/typescript-client/src/query/query-builder.factory.d.ts +9 -0
- package/dist/typescript-client/src/query/query-subscription.manager.d.ts +38 -2
- package/dist/typescript-client/src/rpc.manager.d.ts +4 -3
- package/dist/typescript-client/src/socket.manager.d.ts +4 -3
- package/dist/typescript-client/src/squid.d.ts +2 -1
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export interface WebhookRequest {
|
|
|
30
30
|
body: any;
|
|
31
31
|
queryParams: Record<string, string>;
|
|
32
32
|
headers: Record<string, string>;
|
|
33
|
-
|
|
33
|
+
httpMethod: 'post' | 'get' | 'put' | 'delete';
|
|
34
|
+
files?: Array<SquidFile>;
|
|
34
35
|
}
|
|
35
36
|
export type ActionMethodDecorator<U> = <T extends U>(target: Object, propertyName: string, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function getApplicationUrl(regionPrefix: string, appId: string): string;
|
|
1
|
+
export declare function getApplicationUrl(regionPrefix: string, appId: string, path: string): string;
|
|
2
2
|
export declare function getApplicationHttpHeaders(regionPrefix: string, appId: string): Record<string, string>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare function getInPath(obj: any, path: string, delimiter?: string): any;
|
|
2
2
|
export declare function setInPath(obj: any, path: string, value: any, delimiter?: string): void;
|
|
3
3
|
export declare function deleteInPath(obj: any, path: string, delimiter?: string): void;
|
|
4
|
-
export declare function deepReplace(obj: any, keyName: string, replacer: (from: any) => any): void;
|
|
5
4
|
export declare function replaceKeyInMap<K, T>(map: Map<K, T | undefined>, a: K, b: K): void;
|
|
6
5
|
export declare function replaceKeyInRecord<K extends keyof any, T>(record: Record<K, T>, a: K, b: K): void;
|