@syncular/core 0.0.1-122 → 0.0.1-123

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.
@@ -95,7 +95,7 @@ export declare const SyncBootstrapStateSchema: z.ZodObject<{
95
95
  export type SyncBootstrapState = z.infer<typeof SyncBootstrapStateSchema>;
96
96
  export declare const SyncSubscriptionRequestSchema: z.ZodObject<{
97
97
  id: z.ZodString;
98
- shape: z.ZodString;
98
+ table: z.ZodString;
99
99
  scopes: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
100
100
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
101
101
  cursor: z.ZodNumber;
@@ -115,7 +115,7 @@ export declare const SyncPullRequestSchema: z.ZodObject<{
115
115
  dedupeRows: z.ZodOptional<z.ZodBoolean>;
116
116
  subscriptions: z.ZodArray<z.ZodObject<{
117
117
  id: z.ZodString;
118
- shape: z.ZodString;
118
+ table: z.ZodString;
119
119
  scopes: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
120
120
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
121
121
  cursor: z.ZodNumber;
@@ -297,7 +297,7 @@ export declare const SyncCombinedRequestSchema: z.ZodObject<{
297
297
  dedupeRows: z.ZodOptional<z.ZodBoolean>;
298
298
  subscriptions: z.ZodArray<z.ZodObject<{
299
299
  id: z.ZodString;
300
- shape: z.ZodString;
300
+ table: z.ZodString;
301
301
  scopes: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
302
302
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
303
303
  cursor: z.ZodNumber;
@@ -85,7 +85,7 @@ export const SyncBootstrapStateSchema = z.object({
85
85
  // ============================================================================
86
86
  export const SyncSubscriptionRequestSchema = z.object({
87
87
  id: z.string().min(1),
88
- shape: z.string().min(1),
88
+ table: z.string().min(1),
89
89
  scopes: ScopeValuesSchema,
90
90
  params: z.record(z.string(), z.unknown()).optional(),
91
91
  cursor: z.number().int(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncular/core",
3
- "version": "0.0.1-122",
3
+ "version": "0.0.1-123",
4
4
  "description": "Core protocol types and shared utilities for the Syncular sync framework",
5
5
  "license": "MIT",
6
6
  "author": "Benjamin Kniffler",
@@ -121,7 +121,7 @@ export type SyncBootstrapState = z.infer<typeof SyncBootstrapStateSchema>;
121
121
 
122
122
  export const SyncSubscriptionRequestSchema = z.object({
123
123
  id: z.string().min(1),
124
- shape: z.string().min(1),
124
+ table: z.string().min(1),
125
125
  scopes: ScopeValuesSchema,
126
126
  params: z.record(z.string(), z.unknown()).optional(),
127
127
  cursor: z.number().int(),