@lessly/sdk-app 23.0.0 → 23.1.0
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/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.d.cts +1 -1
- package/dist/brain/index.d.ts +1 -1
- package/dist/{client.gen-D8-4iBy1.d.cts → client.gen-DqpzhA8m.d.cts} +12 -1
- package/dist/{client.gen-D8-4iBy1.d.ts → client.gen-DqpzhA8m.d.ts} +12 -1
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +7 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.d.cts +1 -1
- package/dist/playground/index.d.ts +1 -1
- package/dist/realtime/index.cjs +5 -0
- package/dist/realtime/index.cjs.map +1 -1
- package/dist/realtime/index.d.cts +6 -2
- package/dist/realtime/index.d.ts +6 -2
- package/dist/realtime/index.js +5 -1
- package/dist/realtime/index.js.map +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +7 -0
- package/src/gen/client.gen.ts +5 -0
- package/src/gen/realtime/index.ts +1 -1
- package/src/gen/realtime/queryOptions.gen.ts +7 -0
- package/src/gen/types.gen.ts +11 -0
|
@@ -27,6 +27,8 @@ import type {
|
|
|
27
27
|
RealtimePresenceStatsInput,
|
|
28
28
|
RealtimePresenceStatsOutput,
|
|
29
29
|
RealtimePresenceUpdateInput,
|
|
30
|
+
RealtimePublicAccessStatusInput,
|
|
31
|
+
RealtimePublicAccessStatusOutput,
|
|
30
32
|
RealtimeStatusGetInput,
|
|
31
33
|
RealtimeStatusGetOutput,
|
|
32
34
|
RealtimeTokensCreateInput,
|
|
@@ -132,6 +134,11 @@ export const realtimePresenceUpdateMutationOptions = (sdk: GeneratedClient) => (
|
|
|
132
134
|
mutationFn: (input: RealtimePresenceUpdateInput) => sdk['realtime']['presence']['update'](input),
|
|
133
135
|
});
|
|
134
136
|
|
|
137
|
+
export const realtimePublicAccessStatusQueryOptions = (sdk: GeneratedClient, input: RealtimePublicAccessStatusInput) => ({
|
|
138
|
+
queryKey: ['realtime', 'public-access', 'status', input] as const,
|
|
139
|
+
queryFn: () => sdk['realtime']['public-access']['status'](input),
|
|
140
|
+
});
|
|
141
|
+
|
|
135
142
|
export const realtimeStatusGetQueryOptions = (sdk: GeneratedClient, input: RealtimeStatusGetInput) => ({
|
|
136
143
|
queryKey: ['realtime', 'status', 'get', input] as const,
|
|
137
144
|
queryFn: () => sdk['realtime']['status']['get'](input),
|
package/src/gen/types.gen.ts
CHANGED
|
@@ -14342,6 +14342,17 @@ connections: number
|
|
|
14342
14342
|
channel: string
|
|
14343
14343
|
}
|
|
14344
14344
|
|
|
14345
|
+
export interface RealtimePublicAccessStatusInput {
|
|
14346
|
+
|
|
14347
|
+
}
|
|
14348
|
+
|
|
14349
|
+
export interface RealtimePublicAccessStatusOutput {
|
|
14350
|
+
/**
|
|
14351
|
+
* Whether this product has created a public key yet (an onboarding hint, not a gate)
|
|
14352
|
+
*/
|
|
14353
|
+
exists: boolean
|
|
14354
|
+
}
|
|
14355
|
+
|
|
14345
14356
|
export interface RealtimeStatusGetInput {
|
|
14346
14357
|
|
|
14347
14358
|
}
|