Skip to content

Commit fae5512

Browse files
committed
Update LiveQueryClient.d.ts
1 parent b0aa375 commit fae5512

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

types/LiveQueryClient.d.ts

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,23 @@ declare class LiveQueryClient {
6565
on: any;
6666
emit: any;
6767
/**
68-
* @param {object} options
69-
* @param {string} options.applicationId - applicationId of your Parse app
70-
* @param {string} options.serverURL - <b>the URL of your LiveQuery server</b>
71-
* @param {string} options.javascriptKey (optional)
72-
* @param {string} options.masterKey (optional) Your Parse Master Key. (Node.js only!)
73-
* @param {string} options.sessionToken (optional)
74-
* @param {string} options.installationId (optional)
68+
* Creates a new LiveQueryClient instance.
69+
*
70+
* @param options - Configuration options for the LiveQuery client
71+
* @param options.applicationId - The applicationId of your Parse app
72+
* @param options.serverURL - The URL of your LiveQuery server (must start with 'ws' or 'wss')
73+
* @param options.javascriptKey - (Optional) The JavaScript key for your Parse app
74+
* @param options.masterKey - (Optional) Your Parse Master Key (Node.js only!)
75+
* @param options.sessionToken - (Optional) Session token for authenticated requests
76+
* @param options.installationId - (Optional) Installation ID for the client
7577
*/
7678
constructor({ applicationId, serverURL, javascriptKey, masterKey, sessionToken, installationId, }: {
77-
applicationId: any;
78-
serverURL: any;
79-
javascriptKey: any;
80-
masterKey: any;
81-
sessionToken: any;
82-
installationId: any;
79+
applicationId: string;
80+
serverURL: string;
81+
javascriptKey?: string;
82+
masterKey?: string;
83+
sessionToken?: string;
84+
installationId?: string;
8385
});
8486
shouldOpen(): any;
8587
/**

0 commit comments

Comments
 (0)