@conduitplatform/grpc-sdk 0.16.25 → 0.16.28
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/index.cjs +26 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +26 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/modules/database/index.d.ts +1 -0
- package/dist/modules/pushNotifications/index.d.ts +9 -11
- package/dist/protoUtils/chat.d.ts +1 -0
- package/dist/protoUtils/database.d.ts +22 -0
- package/package.json +1 -1
|
@@ -59,5 +59,6 @@ export declare class DatabaseProvider extends ConduitModule<typeof DatabaseProvi
|
|
|
59
59
|
columnExistence(schemaName: string, columns: string[]): Promise<boolean>;
|
|
60
60
|
migrate(schemaName: string): Promise<import("../../protoUtils/google/protobuf/empty.js").Empty>;
|
|
61
61
|
getDatabaseType(): Promise<import("../../protoUtils/database.js").GetDatabaseTypeResponse>;
|
|
62
|
+
generateId(): Promise<string>;
|
|
62
63
|
private constructSortObj;
|
|
63
64
|
}
|
|
@@ -8,17 +8,15 @@ export declare class PushNotifications extends ConduitModule<typeof PushNotifica
|
|
|
8
8
|
getNotificationTokens(userId: string): Promise<any[]>;
|
|
9
9
|
sendNotification(sendTo: string, title: string, body?: string, data?: string, platform?: string, doNotStore?: boolean, isSilent?: boolean): Promise<SendNotificationResponse>;
|
|
10
10
|
sendNotification(sendTo: string, title: string, options?: SendNotificationOptions): Promise<SendNotificationResponse>;
|
|
11
|
-
sendManyNotifications(notifications:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
]): Promise<SendNotificationResponse>;
|
|
11
|
+
sendManyNotifications(notifications: {
|
|
12
|
+
sendTo: string;
|
|
13
|
+
title: string;
|
|
14
|
+
body?: string;
|
|
15
|
+
data?: string;
|
|
16
|
+
platform?: string;
|
|
17
|
+
doNotStore?: boolean;
|
|
18
|
+
isSilent?: boolean;
|
|
19
|
+
}[]): Promise<SendNotificationResponse>;
|
|
22
20
|
sendNotificationToManyDevices(sendTo: string[], title: string, body?: string, data?: string, platform?: string, doNotStore?: boolean, isSilent?: boolean): Promise<SendNotificationResponse>;
|
|
23
21
|
sendNotificationToManyDevices(sendTo: string[], title: string, options?: SendNotificationOptions): Promise<SendNotificationResponse>;
|
|
24
22
|
}
|
|
@@ -502,6 +502,28 @@ export declare const DatabaseProviderDefinition: {
|
|
|
502
502
|
readonly responseStream: false;
|
|
503
503
|
readonly options: {};
|
|
504
504
|
};
|
|
505
|
+
readonly generateId: {
|
|
506
|
+
readonly name: "GenerateId";
|
|
507
|
+
readonly requestType: {
|
|
508
|
+
encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
|
|
509
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Empty;
|
|
510
|
+
fromJSON(_: any): Empty;
|
|
511
|
+
toJSON(_: Empty): unknown;
|
|
512
|
+
create(base?: {}): Empty;
|
|
513
|
+
fromPartial(_: {}): Empty;
|
|
514
|
+
};
|
|
515
|
+
readonly requestStream: false;
|
|
516
|
+
readonly responseType: {
|
|
517
|
+
encode(message: GetDatabaseTypeResponse, writer?: _m0.Writer): _m0.Writer;
|
|
518
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetDatabaseTypeResponse;
|
|
519
|
+
fromJSON(object: any): GetDatabaseTypeResponse;
|
|
520
|
+
toJSON(message: GetDatabaseTypeResponse): unknown;
|
|
521
|
+
create(base?: DeepPartial<GetDatabaseTypeResponse>): GetDatabaseTypeResponse;
|
|
522
|
+
fromPartial(object: DeepPartial<GetDatabaseTypeResponse>): GetDatabaseTypeResponse;
|
|
523
|
+
};
|
|
524
|
+
readonly responseStream: false;
|
|
525
|
+
readonly options: {};
|
|
526
|
+
};
|
|
505
527
|
/** Database queries */
|
|
506
528
|
readonly findOne: {
|
|
507
529
|
readonly name: "findOne";
|