@oxyhq/contracts 0.2.1 → 0.4.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.
@@ -164,11 +164,11 @@ export declare const recommendationCountSchema: z.ZodObject<{
164
164
  followers: z.ZodNumber;
165
165
  following: z.ZodNumber;
166
166
  }, "strip", z.ZodTypeAny, {
167
- followers: number;
168
167
  following: number;
169
- }, {
170
168
  followers: number;
169
+ }, {
171
170
  following: number;
171
+ followers: number;
172
172
  }>;
173
173
  export type RecommendationCount = z.infer<typeof recommendationCountSchema>;
174
174
  /**
@@ -197,11 +197,11 @@ export declare const recommendationItemSchema: z.ZodObject<{
197
197
  followers: z.ZodNumber;
198
198
  following: z.ZodNumber;
199
199
  }, "strip", z.ZodTypeAny, {
200
- followers: number;
201
200
  following: number;
202
- }, {
203
201
  followers: number;
202
+ }, {
204
203
  following: number;
204
+ followers: number;
205
205
  }>;
206
206
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
207
207
  id: z.ZodString;
@@ -222,11 +222,11 @@ export declare const recommendationItemSchema: z.ZodObject<{
222
222
  followers: z.ZodNumber;
223
223
  following: z.ZodNumber;
224
224
  }, "strip", z.ZodTypeAny, {
225
- followers: number;
226
225
  following: number;
227
- }, {
228
226
  followers: number;
227
+ }, {
229
228
  following: number;
229
+ followers: number;
230
230
  }>;
231
231
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
232
232
  id: z.ZodString;
@@ -247,11 +247,11 @@ export declare const recommendationItemSchema: z.ZodObject<{
247
247
  followers: z.ZodNumber;
248
248
  following: z.ZodNumber;
249
249
  }, "strip", z.ZodTypeAny, {
250
- followers: number;
251
250
  following: number;
252
- }, {
253
251
  followers: number;
252
+ }, {
254
253
  following: number;
254
+ followers: number;
255
255
  }>;
256
256
  }, z.ZodTypeAny, "passthrough">>;
257
257
  export type RecommendationItem = z.infer<typeof recommendationItemSchema>;
@@ -275,11 +275,11 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
275
275
  followers: z.ZodNumber;
276
276
  following: z.ZodNumber;
277
277
  }, "strip", z.ZodTypeAny, {
278
- followers: number;
279
278
  following: number;
280
- }, {
281
279
  followers: number;
280
+ }, {
282
281
  following: number;
282
+ followers: number;
283
283
  }>;
284
284
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
285
285
  id: z.ZodString;
@@ -300,11 +300,11 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
300
300
  followers: z.ZodNumber;
301
301
  following: z.ZodNumber;
302
302
  }, "strip", z.ZodTypeAny, {
303
- followers: number;
304
303
  following: number;
305
- }, {
306
304
  followers: number;
305
+ }, {
307
306
  following: number;
307
+ followers: number;
308
308
  }>;
309
309
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
310
310
  id: z.ZodString;
@@ -325,11 +325,11 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
325
325
  followers: z.ZodNumber;
326
326
  following: z.ZodNumber;
327
327
  }, "strip", z.ZodTypeAny, {
328
- followers: number;
329
328
  following: number;
330
- }, {
331
329
  followers: number;
330
+ }, {
332
331
  following: number;
332
+ followers: number;
333
333
  }>;
334
334
  }, z.ZodTypeAny, "passthrough">>, "many">;
335
335
  export type RecommendationResponse = z.infer<typeof recommendationResponseSchema>;
@@ -151,6 +151,7 @@ export declare const sessionStatusSchema: z.ZodObject<{
151
151
  }, "strip", z.ZodTypeAny, {
152
152
  status: string;
153
153
  publicKey?: string | null | undefined;
154
+ userId?: string | null | undefined;
154
155
  expiresAt?: string | undefined;
155
156
  sessionId?: string | null | undefined;
156
157
  authorized?: boolean | undefined;
@@ -167,10 +168,10 @@ export declare const sessionStatusSchema: z.ZodObject<{
167
168
  websiteUrl?: string | undefined;
168
169
  developerName?: string | undefined;
169
170
  } | null | undefined;
170
- userId?: string | null | undefined;
171
171
  }, {
172
172
  status: string;
173
173
  publicKey?: string | null | undefined;
174
+ userId?: string | null | undefined;
174
175
  expiresAt?: string | undefined;
175
176
  sessionId?: string | null | undefined;
176
177
  authorized?: boolean | undefined;
@@ -187,6 +188,5 @@ export declare const sessionStatusSchema: z.ZodObject<{
187
188
  websiteUrl?: string | undefined;
188
189
  developerName?: string | undefined;
189
190
  } | null | undefined;
190
- userId?: string | null | undefined;
191
191
  }>;
192
192
  export type SessionStatusResponse = z.infer<typeof sessionStatusSchema>;