@read-frog/api-contract 0.4.0 → 0.6.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/index.d.ts CHANGED
@@ -1,12 +1,13 @@
1
1
  import * as _$_orpc_contract0 from "@orpc/contract";
2
2
  import { ContractRouterClient, ErrorMap } from "@orpc/contract";
3
+ import { CardState, ReviewRating, SRS_REVIEW_DURATION_MS_MAX, ScheduleStatus, SchedulingParams, cardStateSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema } from "@read-frog/definitions";
3
4
  import * as _$zod from "zod";
4
5
  import { z } from "zod";
5
6
  import * as _$zod_v4_core0 from "zod/v4/core";
6
7
 
7
8
  //#region src/public-errors.d.ts
8
9
  declare const CellValidationFailureReasonSchema: z.ZodEnum<{
9
- unknown_column: "unknown_column";
10
+ unknown_notebase_column: "unknown_notebase_column";
10
11
  type_mismatch: "type_mismatch";
11
12
  invalid_select_option: "invalid_select_option";
12
13
  invalid_date_format: "invalid_date_format";
@@ -21,7 +22,7 @@ declare const CellValidationFailureDetailsSchema: z.ZodObject<{
21
22
  }, z.core.$strict>;
22
23
  type CellValidationFailureDetails = z.infer<typeof CellValidationFailureDetailsSchema>;
23
24
  declare const CellValidationFailedDataSchema: z.ZodObject<{
24
- columnId: z.ZodString;
25
+ notebaseColumnId: z.ZodString;
25
26
  details: z.ZodObject<{
26
27
  expectedFormat: z.ZodOptional<z.ZodString>;
27
28
  expectedType: z.ZodOptional<z.ZodString>;
@@ -30,37 +31,72 @@ declare const CellValidationFailedDataSchema: z.ZodObject<{
30
31
  validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
31
32
  }, z.core.$strict>;
32
33
  reason: z.ZodEnum<{
33
- unknown_column: "unknown_column";
34
+ unknown_notebase_column: "unknown_notebase_column";
34
35
  type_mismatch: "type_mismatch";
35
36
  invalid_select_option: "invalid_select_option";
36
37
  invalid_date_format: "invalid_date_format";
37
38
  }>;
38
39
  }, z.core.$strict>;
39
40
  type CellValidationFailedData = z.infer<typeof CellValidationFailedDataSchema>;
41
+ declare const CardTemplateInvalidColumnsDataSchema: z.ZodObject<{
42
+ notebaseColumnIds: z.ZodArray<z.ZodString>;
43
+ }, z.core.$strict>;
44
+ type CardTemplateInvalidColumnsData = z.infer<typeof CardTemplateInvalidColumnsDataSchema>;
40
45
  declare const PUBLIC_APP_ERROR_DEFS: {
41
46
  readonly NOTEBASE_BETA_RESTRICTED: {
42
47
  readonly message: "Notebase is currently in beta for selected accounts";
43
48
  readonly status: 403;
44
49
  };
45
- readonly TABLE_NOT_FOUND: {
46
- readonly message: "Table not found";
50
+ readonly NOTEBASE_NOT_FOUND: {
51
+ readonly message: "Notebase not found";
52
+ readonly status: 404;
53
+ };
54
+ readonly NOTEBASE_COLUMN_NOT_FOUND: {
55
+ readonly message: "Notebase column not found";
56
+ readonly status: 404;
57
+ };
58
+ readonly NOTEBASE_ROW_NOT_FOUND: {
59
+ readonly message: "Notebase row not found";
47
60
  readonly status: 404;
48
61
  };
49
- readonly COLUMN_NOT_FOUND: {
50
- readonly message: "Column not found";
62
+ readonly CARD_NOT_FOUND: {
63
+ readonly message: "Card not found";
51
64
  readonly status: 404;
52
65
  };
53
- readonly ROW_NOT_FOUND: {
54
- readonly message: "Row not found";
66
+ readonly CARD_TEMPLATE_NOT_FOUND: {
67
+ readonly message: "Card template not found";
55
68
  readonly status: 404;
56
69
  };
57
- readonly VIEW_NOT_FOUND: {
58
- readonly message: "View not found";
70
+ readonly CARD_TEMPLATE_INVALID_NOTEBASE_COLUMNS: {
71
+ readonly data: z.ZodObject<{
72
+ notebaseColumnIds: z.ZodArray<z.ZodString>;
73
+ }, z.core.$strict>;
74
+ readonly message: "Card template references unknown notebase columns";
75
+ readonly status: 422;
76
+ };
77
+ readonly CARD_TEMPLATE_NOTEBASE_COLUMN_IN_USE: {
78
+ readonly message: "Notebase column is used by a card template";
79
+ readonly status: 409;
80
+ };
81
+ readonly CARD_NOT_REVIEWABLE: {
82
+ readonly message: "Card cannot be reviewed in its current state";
83
+ readonly status: 409;
84
+ };
85
+ readonly CARD_REVIEW_STATE_STALE: {
86
+ readonly message: "Card review state is stale";
87
+ readonly status: 409;
88
+ };
89
+ readonly CARD_REVIEW_ROLLBACK_UNAVAILABLE: {
90
+ readonly message: "Card review cannot be rolled back";
91
+ readonly status: 409;
92
+ };
93
+ readonly NOTEBASE_VIEW_NOT_FOUND: {
94
+ readonly message: "Notebase view not found";
59
95
  readonly status: 404;
60
96
  };
61
97
  readonly CELL_VALIDATION_FAILED: {
62
98
  readonly data: z.ZodObject<{
63
- columnId: z.ZodString;
99
+ notebaseColumnId: z.ZodString;
64
100
  details: z.ZodObject<{
65
101
  expectedFormat: z.ZodOptional<z.ZodString>;
66
102
  expectedType: z.ZodOptional<z.ZodString>;
@@ -69,7 +105,7 @@ declare const PUBLIC_APP_ERROR_DEFS: {
69
105
  validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
106
  }, z.core.$strict>;
71
107
  reason: z.ZodEnum<{
72
- unknown_column: "unknown_column";
108
+ unknown_notebase_column: "unknown_notebase_column";
73
109
  type_mismatch: "type_mismatch";
74
110
  invalid_select_option: "invalid_select_option";
75
111
  invalid_date_format: "invalid_date_format";
@@ -78,8 +114,8 @@ declare const PUBLIC_APP_ERROR_DEFS: {
78
114
  readonly message: "Cell validation failed";
79
115
  readonly status: 422;
80
116
  };
81
- readonly PRIMARY_COLUMN_DELETE_NOT_ALLOWED: {
82
- readonly message: "Cannot delete primary column";
117
+ readonly PRIMARY_NOTEBASE_COLUMN_DELETE_NOT_ALLOWED: {
118
+ readonly message: "Cannot delete primary notebase column";
83
119
  readonly status: 400;
84
120
  };
85
121
  readonly CONCURRENT_POSITION_CONFLICT: {
@@ -97,25 +133,56 @@ declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code
97
133
  readonly message: "Notebase is currently in beta for selected accounts";
98
134
  readonly status: 403;
99
135
  };
100
- readonly TABLE_NOT_FOUND: {
101
- readonly message: "Table not found";
136
+ readonly NOTEBASE_NOT_FOUND: {
137
+ readonly message: "Notebase not found";
138
+ readonly status: 404;
139
+ };
140
+ readonly NOTEBASE_COLUMN_NOT_FOUND: {
141
+ readonly message: "Notebase column not found";
102
142
  readonly status: 404;
103
143
  };
104
- readonly COLUMN_NOT_FOUND: {
105
- readonly message: "Column not found";
144
+ readonly NOTEBASE_ROW_NOT_FOUND: {
145
+ readonly message: "Notebase row not found";
106
146
  readonly status: 404;
107
147
  };
108
- readonly ROW_NOT_FOUND: {
109
- readonly message: "Row not found";
148
+ readonly CARD_NOT_FOUND: {
149
+ readonly message: "Card not found";
110
150
  readonly status: 404;
111
151
  };
112
- readonly VIEW_NOT_FOUND: {
113
- readonly message: "View not found";
152
+ readonly CARD_TEMPLATE_NOT_FOUND: {
153
+ readonly message: "Card template not found";
154
+ readonly status: 404;
155
+ };
156
+ readonly CARD_TEMPLATE_INVALID_NOTEBASE_COLUMNS: {
157
+ readonly data: z.ZodObject<{
158
+ notebaseColumnIds: z.ZodArray<z.ZodString>;
159
+ }, z.core.$strict>;
160
+ readonly message: "Card template references unknown notebase columns";
161
+ readonly status: 422;
162
+ };
163
+ readonly CARD_TEMPLATE_NOTEBASE_COLUMN_IN_USE: {
164
+ readonly message: "Notebase column is used by a card template";
165
+ readonly status: 409;
166
+ };
167
+ readonly CARD_NOT_REVIEWABLE: {
168
+ readonly message: "Card cannot be reviewed in its current state";
169
+ readonly status: 409;
170
+ };
171
+ readonly CARD_REVIEW_STATE_STALE: {
172
+ readonly message: "Card review state is stale";
173
+ readonly status: 409;
174
+ };
175
+ readonly CARD_REVIEW_ROLLBACK_UNAVAILABLE: {
176
+ readonly message: "Card review cannot be rolled back";
177
+ readonly status: 409;
178
+ };
179
+ readonly NOTEBASE_VIEW_NOT_FOUND: {
180
+ readonly message: "Notebase view not found";
114
181
  readonly status: 404;
115
182
  };
116
183
  readonly CELL_VALIDATION_FAILED: {
117
184
  readonly data: z.ZodObject<{
118
- columnId: z.ZodString;
185
+ notebaseColumnId: z.ZodString;
119
186
  details: z.ZodObject<{
120
187
  expectedFormat: z.ZodOptional<z.ZodString>;
121
188
  expectedType: z.ZodOptional<z.ZodString>;
@@ -124,7 +191,7 @@ declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code
124
191
  validOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
125
192
  }, z.core.$strict>;
126
193
  reason: z.ZodEnum<{
127
- unknown_column: "unknown_column";
194
+ unknown_notebase_column: "unknown_notebase_column";
128
195
  type_mismatch: "type_mismatch";
129
196
  invalid_select_option: "invalid_select_option";
130
197
  invalid_date_format: "invalid_date_format";
@@ -133,8 +200,8 @@ declare function getPublicErrorDefinition<TCode extends PublicAppErrorCode>(code
133
200
  readonly message: "Cell validation failed";
134
201
  readonly status: 422;
135
202
  };
136
- readonly PRIMARY_COLUMN_DELETE_NOT_ALLOWED: {
137
- readonly message: "Cannot delete primary column";
203
+ readonly PRIMARY_NOTEBASE_COLUMN_DELETE_NOT_ALLOWED: {
204
+ readonly message: "Cannot delete primary notebase column";
138
205
  readonly status: 400;
139
206
  };
140
207
  readonly CONCURRENT_POSITION_CONFLICT: {
@@ -163,11 +230,461 @@ declare const BetaAccessStatusOutputSchema: z.ZodObject<{
163
230
  }, z.core.$strip>;
164
231
  type BetaAccessStatusOutput = z.infer<typeof BetaAccessStatusOutputSchema>;
165
232
  //#endregion
166
- //#region src/schemas/column.d.ts
167
- declare const columnWidthSchema: z.ZodNumber;
168
- declare const tableColumnSchema: z.ZodObject<{
233
+ //#region src/schemas/card.d.ts
234
+ declare const cardTemplateSchema: z.ZodObject<{
235
+ id: z.ZodUUID;
236
+ notebaseId: z.ZodUUID;
237
+ name: z.ZodString;
238
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
239
+ type: z.ZodLiteral<"basic">;
240
+ frontPattern: z.ZodString;
241
+ backPattern: z.ZodString;
242
+ }, z.core.$strict>], "type">;
243
+ createdAt: z.ZodCoercedDate<unknown>;
244
+ updatedAt: z.ZodCoercedDate<unknown>;
245
+ }, z.core.$strip>;
246
+ type CardTemplate = z.infer<typeof cardTemplateSchema>;
247
+ declare const CardTemplateListInputSchema: z.ZodObject<{
248
+ notebaseId: z.ZodUUID;
249
+ }, z.core.$strip>;
250
+ type CardTemplateListInput = z.infer<typeof CardTemplateListInputSchema>;
251
+ declare const CardTemplateListOutputSchema: z.ZodArray<z.ZodObject<{
252
+ id: z.ZodUUID;
253
+ notebaseId: z.ZodUUID;
254
+ name: z.ZodString;
255
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
256
+ type: z.ZodLiteral<"basic">;
257
+ frontPattern: z.ZodString;
258
+ backPattern: z.ZodString;
259
+ }, z.core.$strict>], "type">;
260
+ createdAt: z.ZodCoercedDate<unknown>;
261
+ updatedAt: z.ZodCoercedDate<unknown>;
262
+ }, z.core.$strip>>;
263
+ type CardTemplateListOutput = z.infer<typeof CardTemplateListOutputSchema>;
264
+ declare const CardTemplateGetInputSchema: z.ZodObject<{
265
+ id: z.ZodUUID;
266
+ }, z.core.$strip>;
267
+ type CardTemplateGetInput = z.infer<typeof CardTemplateGetInputSchema>;
268
+ declare const CardTemplateGetOutputSchema: z.ZodObject<{
269
+ id: z.ZodUUID;
270
+ notebaseId: z.ZodUUID;
271
+ name: z.ZodString;
272
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
273
+ type: z.ZodLiteral<"basic">;
274
+ frontPattern: z.ZodString;
275
+ backPattern: z.ZodString;
276
+ }, z.core.$strict>], "type">;
277
+ createdAt: z.ZodCoercedDate<unknown>;
278
+ updatedAt: z.ZodCoercedDate<unknown>;
279
+ }, z.core.$strip>;
280
+ type CardTemplateGetOutput = z.infer<typeof CardTemplateGetOutputSchema>;
281
+ declare const CardTemplateCreateInputSchema: z.ZodObject<{
282
+ id: z.ZodOptional<z.ZodUUID>;
283
+ notebaseId: z.ZodUUID;
284
+ name: z.ZodString;
285
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
286
+ type: z.ZodLiteral<"basic">;
287
+ frontPattern: z.ZodString;
288
+ backPattern: z.ZodString;
289
+ }, z.core.$strict>], "type">;
290
+ }, z.core.$strict>;
291
+ type CardTemplateCreateInput = z.infer<typeof CardTemplateCreateInputSchema>;
292
+ declare const CardTemplateCreateOutputSchema: z.ZodObject<{
293
+ id: z.ZodUUID;
294
+ notebaseId: z.ZodUUID;
295
+ name: z.ZodString;
296
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
297
+ type: z.ZodLiteral<"basic">;
298
+ frontPattern: z.ZodString;
299
+ backPattern: z.ZodString;
300
+ }, z.core.$strict>], "type">;
301
+ createdAt: z.ZodCoercedDate<unknown>;
302
+ updatedAt: z.ZodCoercedDate<unknown>;
303
+ txid: z.ZodNumber;
304
+ }, z.core.$strip>;
305
+ type CardTemplateCreateOutput = z.infer<typeof CardTemplateCreateOutputSchema>;
306
+ declare const CardTemplateUpdateInputSchema: z.ZodObject<{
307
+ id: z.ZodUUID;
308
+ name: z.ZodOptional<z.ZodString>;
309
+ config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
310
+ type: z.ZodLiteral<"basic">;
311
+ frontPattern: z.ZodString;
312
+ backPattern: z.ZodString;
313
+ }, z.core.$strict>], "type">>;
314
+ }, z.core.$strict>;
315
+ type CardTemplateUpdateInput = z.infer<typeof CardTemplateUpdateInputSchema>;
316
+ declare const CardTemplateUpdateOutputSchema: z.ZodObject<{
317
+ id: z.ZodUUID;
318
+ notebaseId: z.ZodUUID;
319
+ name: z.ZodString;
320
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
321
+ type: z.ZodLiteral<"basic">;
322
+ frontPattern: z.ZodString;
323
+ backPattern: z.ZodString;
324
+ }, z.core.$strict>], "type">;
325
+ createdAt: z.ZodCoercedDate<unknown>;
326
+ updatedAt: z.ZodCoercedDate<unknown>;
327
+ txid: z.ZodNumber;
328
+ }, z.core.$strip>;
329
+ type CardTemplateUpdateOutput = z.infer<typeof CardTemplateUpdateOutputSchema>;
330
+ declare const CardTemplateDeleteInputSchema: z.ZodObject<{
331
+ id: z.ZodUUID;
332
+ }, z.core.$strip>;
333
+ type CardTemplateDeleteInput = z.infer<typeof CardTemplateDeleteInputSchema>;
334
+ declare const CardTemplateDeleteOutputSchema: z.ZodObject<{
335
+ txid: z.ZodNumber;
336
+ }, z.core.$strip>;
337
+ type CardTemplateDeleteOutput = z.infer<typeof CardTemplateDeleteOutputSchema>;
338
+ declare const cardSchema: z.ZodObject<{
339
+ createdAt: z.ZodCoercedDate<unknown>;
340
+ updatedAt: z.ZodCoercedDate<unknown>;
341
+ buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
342
+ state: z.ZodEnum<{
343
+ new: "new";
344
+ learning: "learning";
345
+ review: "review";
346
+ relearning: "relearning";
347
+ }>;
348
+ scheduleStatus: z.ZodEnum<{
349
+ new: "new";
350
+ learning: "learning";
351
+ review: "review";
352
+ suspended: "suspended";
353
+ buried: "buried";
354
+ }>;
355
+ dueAt: z.ZodCoercedDate<unknown>;
356
+ lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
357
+ stability: z.ZodNumber;
358
+ difficulty: z.ZodNumber;
359
+ step: z.ZodNumber;
360
+ lapses: z.ZodNumber;
361
+ reps: z.ZodNumber;
362
+ id: z.ZodUUID;
363
+ notebaseId: z.ZodUUID;
364
+ notebaseRowId: z.ZodUUID;
365
+ templateId: z.ZodUUID;
366
+ variantKey: z.ZodString;
367
+ }, z.core.$strip>;
368
+ type Card = z.infer<typeof cardSchema>;
369
+ declare const renderedCardSchema: z.ZodObject<{
370
+ createdAt: z.ZodCoercedDate<unknown>;
371
+ updatedAt: z.ZodCoercedDate<unknown>;
372
+ buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
373
+ state: z.ZodEnum<{
374
+ new: "new";
375
+ learning: "learning";
376
+ review: "review";
377
+ relearning: "relearning";
378
+ }>;
379
+ scheduleStatus: z.ZodEnum<{
380
+ new: "new";
381
+ learning: "learning";
382
+ review: "review";
383
+ suspended: "suspended";
384
+ buried: "buried";
385
+ }>;
386
+ dueAt: z.ZodCoercedDate<unknown>;
387
+ lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
388
+ stability: z.ZodNumber;
389
+ difficulty: z.ZodNumber;
390
+ step: z.ZodNumber;
391
+ lapses: z.ZodNumber;
392
+ reps: z.ZodNumber;
393
+ id: z.ZodUUID;
394
+ notebaseId: z.ZodUUID;
395
+ notebaseRowId: z.ZodUUID;
396
+ templateId: z.ZodUUID;
397
+ variantKey: z.ZodString;
398
+ front: z.ZodString;
399
+ back: z.ZodString;
400
+ }, z.core.$strip>;
401
+ type RenderedCard = z.infer<typeof renderedCardSchema>;
402
+ declare const CardListInputSchema: z.ZodObject<{
403
+ notebaseId: z.ZodUUID;
404
+ templateId: z.ZodOptional<z.ZodUUID>;
405
+ limit: z.ZodOptional<z.ZodNumber>;
406
+ offset: z.ZodOptional<z.ZodNumber>;
407
+ }, z.core.$strip>;
408
+ type CardListInput = z.infer<typeof CardListInputSchema>;
409
+ declare const CardListOutputSchema: z.ZodArray<z.ZodObject<{
410
+ createdAt: z.ZodCoercedDate<unknown>;
411
+ updatedAt: z.ZodCoercedDate<unknown>;
412
+ buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
413
+ state: z.ZodEnum<{
414
+ new: "new";
415
+ learning: "learning";
416
+ review: "review";
417
+ relearning: "relearning";
418
+ }>;
419
+ scheduleStatus: z.ZodEnum<{
420
+ new: "new";
421
+ learning: "learning";
422
+ review: "review";
423
+ suspended: "suspended";
424
+ buried: "buried";
425
+ }>;
426
+ dueAt: z.ZodCoercedDate<unknown>;
427
+ lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
428
+ stability: z.ZodNumber;
429
+ difficulty: z.ZodNumber;
430
+ step: z.ZodNumber;
431
+ lapses: z.ZodNumber;
432
+ reps: z.ZodNumber;
433
+ id: z.ZodUUID;
434
+ notebaseId: z.ZodUUID;
435
+ notebaseRowId: z.ZodUUID;
436
+ templateId: z.ZodUUID;
437
+ variantKey: z.ZodString;
438
+ front: z.ZodString;
439
+ back: z.ZodString;
440
+ }, z.core.$strip>>;
441
+ type CardListOutput = z.infer<typeof CardListOutputSchema>;
442
+ declare const CardGetInputSchema: z.ZodObject<{
443
+ id: z.ZodUUID;
444
+ }, z.core.$strip>;
445
+ type CardGetInput = z.infer<typeof CardGetInputSchema>;
446
+ declare const CardGetOutputSchema: z.ZodObject<{
447
+ createdAt: z.ZodCoercedDate<unknown>;
448
+ updatedAt: z.ZodCoercedDate<unknown>;
449
+ buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
450
+ state: z.ZodEnum<{
451
+ new: "new";
452
+ learning: "learning";
453
+ review: "review";
454
+ relearning: "relearning";
455
+ }>;
456
+ scheduleStatus: z.ZodEnum<{
457
+ new: "new";
458
+ learning: "learning";
459
+ review: "review";
460
+ suspended: "suspended";
461
+ buried: "buried";
462
+ }>;
463
+ dueAt: z.ZodCoercedDate<unknown>;
464
+ lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
465
+ stability: z.ZodNumber;
466
+ difficulty: z.ZodNumber;
467
+ step: z.ZodNumber;
468
+ lapses: z.ZodNumber;
469
+ reps: z.ZodNumber;
470
+ id: z.ZodUUID;
471
+ notebaseId: z.ZodUUID;
472
+ notebaseRowId: z.ZodUUID;
473
+ templateId: z.ZodUUID;
474
+ variantKey: z.ZodString;
475
+ front: z.ZodString;
476
+ back: z.ZodString;
477
+ }, z.core.$strip>;
478
+ type CardGetOutput = z.infer<typeof CardGetOutputSchema>;
479
+ declare const CardGenerateInputSchema: z.ZodObject<{
480
+ notebaseId: z.ZodUUID;
481
+ templateId: z.ZodOptional<z.ZodUUID>;
482
+ }, z.core.$strip>;
483
+ type CardGenerateInput = z.infer<typeof CardGenerateInputSchema>;
484
+ declare const CardGenerateOutputSchema: z.ZodObject<{
485
+ created: z.ZodNumber;
486
+ txid: z.ZodNumber;
487
+ }, z.core.$strip>;
488
+ type CardGenerateOutput = z.infer<typeof CardGenerateOutputSchema>;
489
+ //#endregion
490
+ //#region src/schemas/notebase.d.ts
491
+ declare const NotebaseListInputSchema: z.ZodObject<{}, z.core.$strip>;
492
+ type NotebaseListInput = z.infer<typeof NotebaseListInputSchema>;
493
+ declare const NotebaseListItemSchema: z.ZodObject<{
494
+ id: z.ZodString;
495
+ name: z.ZodString;
496
+ }, z.core.$strip>;
497
+ type NotebaseListItem = z.infer<typeof NotebaseListItemSchema>;
498
+ declare const NotebaseListOutputSchema: z.ZodArray<z.ZodObject<{
499
+ id: z.ZodString;
500
+ name: z.ZodString;
501
+ }, z.core.$strip>>;
502
+ type NotebaseListOutput = z.infer<typeof NotebaseListOutputSchema>;
503
+ declare const notebaseSchema: z.ZodObject<{
169
504
  id: z.ZodString;
170
- tableId: z.ZodString;
505
+ userId: z.ZodString;
506
+ name: z.ZodString;
507
+ srsNewPerDay: z.ZodNumber;
508
+ srsReviewsPerDay: z.ZodNumber;
509
+ srsDesiredRetention: z.ZodNumber;
510
+ srsEnableShortTerm: z.ZodBoolean;
511
+ srsMaximumInterval: z.ZodNumber;
512
+ srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}m` | `${number}h` | `${number}d`>>;
513
+ srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}m` | `${number}h` | `${number}d`>>;
514
+ srsLeechThreshold: z.ZodNumber;
515
+ srsEnableFuzz: z.ZodBoolean;
516
+ srsWeights: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
517
+ createdAt: z.ZodDate;
518
+ updatedAt: z.ZodDate;
519
+ }, z.core.$strip>;
520
+ type Notebase = z.infer<typeof notebaseSchema>;
521
+ declare const notebaseCreateDataSchema: z.ZodObject<{
522
+ id: z.ZodOptional<z.ZodUUID>;
523
+ name: z.ZodString;
524
+ }, z.core.$strict>;
525
+ type NotebaseCreateData = z.infer<typeof notebaseCreateDataSchema>;
526
+ declare const NotebaseCreateInputSchema: z.ZodObject<{
527
+ id: z.ZodOptional<z.ZodUUID>;
528
+ name: z.ZodString;
529
+ }, z.core.$strict>;
530
+ type NotebaseCreateInput = z.infer<typeof NotebaseCreateInputSchema>;
531
+ declare const NotebaseCreateOutputSchema: z.ZodObject<{
532
+ txid: z.ZodNumber;
533
+ }, z.core.$strip>;
534
+ type NotebaseCreateOutput = z.infer<typeof NotebaseCreateOutputSchema>;
535
+ declare const notebaseUpdateDataSchema: z.ZodObject<{
536
+ name: z.ZodOptional<z.ZodString>;
537
+ }, z.core.$strict>;
538
+ type NotebaseUpdateData = z.infer<typeof notebaseUpdateDataSchema>;
539
+ declare const NotebaseUpdateInputSchema: z.ZodObject<{
540
+ name: z.ZodOptional<z.ZodString>;
541
+ id: z.ZodUUID;
542
+ }, z.core.$strict>;
543
+ type NotebaseUpdateInput = z.infer<typeof NotebaseUpdateInputSchema>;
544
+ declare const NotebaseUpdateOutputSchema: z.ZodObject<{
545
+ txid: z.ZodNumber;
546
+ }, z.core.$strip>;
547
+ type NotebaseUpdateOutput = z.infer<typeof NotebaseUpdateOutputSchema>;
548
+ declare const NotebaseDeleteInputSchema: z.ZodObject<{
549
+ id: z.ZodUUID;
550
+ }, z.core.$strip>;
551
+ type NotebaseDeleteInput = z.infer<typeof NotebaseDeleteInputSchema>;
552
+ declare const NotebaseDeleteOutputSchema: z.ZodObject<{
553
+ txid: z.ZodNumber;
554
+ }, z.core.$strip>;
555
+ type NotebaseDeleteOutput = z.infer<typeof NotebaseDeleteOutputSchema>;
556
+ declare const NotebaseGetInputSchema: z.ZodObject<{
557
+ id: z.ZodUUID;
558
+ }, z.core.$strip>;
559
+ type NotebaseGetInput = z.infer<typeof NotebaseGetInputSchema>;
560
+ declare const NotebaseGetSchemaInputSchema: z.ZodObject<{
561
+ id: z.ZodUUID;
562
+ }, z.core.$strip>;
563
+ type NotebaseGetSchemaInput = z.infer<typeof NotebaseGetSchemaInputSchema>;
564
+ declare const NotebaseGetOutputSchema: z.ZodObject<{
565
+ id: z.ZodString;
566
+ userId: z.ZodString;
567
+ name: z.ZodString;
568
+ srsNewPerDay: z.ZodNumber;
569
+ srsReviewsPerDay: z.ZodNumber;
570
+ srsDesiredRetention: z.ZodNumber;
571
+ srsEnableShortTerm: z.ZodBoolean;
572
+ srsMaximumInterval: z.ZodNumber;
573
+ srsLearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}m` | `${number}h` | `${number}d`>>;
574
+ srsRelearningSteps: z.ZodArray<z.ZodTemplateLiteral<`${number}m` | `${number}h` | `${number}d`>>;
575
+ srsLeechThreshold: z.ZodNumber;
576
+ srsEnableFuzz: z.ZodBoolean;
577
+ srsWeights: z.ZodNullable<z.ZodArray<z.ZodNumber>>;
578
+ createdAt: z.ZodCoercedDate<unknown>;
579
+ updatedAt: z.ZodCoercedDate<unknown>;
580
+ notebaseColumns: z.ZodArray<z.ZodObject<{
581
+ id: z.ZodString;
582
+ notebaseId: z.ZodString;
583
+ name: z.ZodString;
584
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
585
+ type: z.ZodLiteral<"string">;
586
+ }, z.core.$strip>, z.ZodObject<{
587
+ type: z.ZodLiteral<"number">;
588
+ decimal: z.ZodDefault<z.ZodNumber>;
589
+ format: z.ZodDefault<z.ZodEnum<{
590
+ number: "number";
591
+ currency: "currency";
592
+ percent: "percent";
593
+ }>>;
594
+ }, z.core.$strip>, z.ZodObject<{
595
+ type: z.ZodLiteral<"boolean">;
596
+ }, z.core.$strip>, z.ZodObject<{
597
+ type: z.ZodLiteral<"date">;
598
+ dateFormat: z.ZodOptional<z.ZodString>;
599
+ }, z.core.$strip>, z.ZodObject<{
600
+ type: z.ZodLiteral<"select">;
601
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
602
+ id: z.ZodString;
603
+ value: z.ZodString;
604
+ color: z.ZodString;
605
+ }, z.core.$strip>>>;
606
+ }, z.core.$strip>], "type">;
607
+ position: z.ZodNumber;
608
+ isPrimary: z.ZodBoolean;
609
+ width: z.ZodNullable<z.ZodNumber>;
610
+ createdAt: z.ZodCoercedDate<unknown>;
611
+ updatedAt: z.ZodCoercedDate<unknown>;
612
+ }, z.core.$strip>>;
613
+ notebaseRows: z.ZodArray<z.ZodObject<{
614
+ id: z.ZodString;
615
+ notebaseId: z.ZodString;
616
+ cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
617
+ position: z.ZodNumber;
618
+ createdAt: z.ZodCoercedDate<unknown>;
619
+ updatedAt: z.ZodCoercedDate<unknown>;
620
+ }, z.core.$strip>>;
621
+ notebaseViews: z.ZodArray<z.ZodObject<{
622
+ id: z.ZodString;
623
+ notebaseId: z.ZodString;
624
+ name: z.ZodString;
625
+ type: z.ZodEnum<{
626
+ table: "table";
627
+ kanban: "kanban";
628
+ gallery: "gallery";
629
+ }>;
630
+ config: z.ZodNullable<z.ZodObject<{
631
+ notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
632
+ hiddenNotebaseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
633
+ groupByNotebaseColumnId: z.ZodOptional<z.ZodString>;
634
+ }, z.core.$catchall<z.ZodUnknown>>>;
635
+ filters: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
636
+ sorts: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
637
+ position: z.ZodNumber;
638
+ createdAt: z.ZodCoercedDate<unknown>;
639
+ updatedAt: z.ZodCoercedDate<unknown>;
640
+ }, z.core.$strip>>;
641
+ }, z.core.$strip>;
642
+ type NotebaseGetOutput = z.infer<typeof NotebaseGetOutputSchema>;
643
+ declare const NotebaseGetSchemaOutputSchema: z.ZodObject<{
644
+ id: z.ZodString;
645
+ name: z.ZodString;
646
+ updatedAt: z.ZodCoercedDate<unknown>;
647
+ notebaseColumns: z.ZodArray<z.ZodObject<{
648
+ id: z.ZodString;
649
+ notebaseId: z.ZodString;
650
+ name: z.ZodString;
651
+ config: z.ZodDiscriminatedUnion<[z.ZodObject<{
652
+ type: z.ZodLiteral<"string">;
653
+ }, z.core.$strip>, z.ZodObject<{
654
+ type: z.ZodLiteral<"number">;
655
+ decimal: z.ZodDefault<z.ZodNumber>;
656
+ format: z.ZodDefault<z.ZodEnum<{
657
+ number: "number";
658
+ currency: "currency";
659
+ percent: "percent";
660
+ }>>;
661
+ }, z.core.$strip>, z.ZodObject<{
662
+ type: z.ZodLiteral<"boolean">;
663
+ }, z.core.$strip>, z.ZodObject<{
664
+ type: z.ZodLiteral<"date">;
665
+ dateFormat: z.ZodOptional<z.ZodString>;
666
+ }, z.core.$strip>, z.ZodObject<{
667
+ type: z.ZodLiteral<"select">;
668
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
669
+ id: z.ZodString;
670
+ value: z.ZodString;
671
+ color: z.ZodString;
672
+ }, z.core.$strip>>>;
673
+ }, z.core.$strip>], "type">;
674
+ position: z.ZodNumber;
675
+ isPrimary: z.ZodBoolean;
676
+ width: z.ZodNullable<z.ZodNumber>;
677
+ createdAt: z.ZodCoercedDate<unknown>;
678
+ updatedAt: z.ZodCoercedDate<unknown>;
679
+ }, z.core.$strip>>;
680
+ }, z.core.$strip>;
681
+ type NotebaseGetSchemaOutput = z.infer<typeof NotebaseGetSchemaOutputSchema>;
682
+ //#endregion
683
+ //#region src/schemas/notebase-column.d.ts
684
+ declare const notebaseColumnWidthSchema: z.ZodNumber;
685
+ declare const notebaseColumnSchema: z.ZodObject<{
686
+ id: z.ZodString;
687
+ notebaseId: z.ZodString;
171
688
  name: z.ZodString;
172
689
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
173
690
  type: z.ZodLiteral<"string">;
@@ -198,8 +715,8 @@ declare const tableColumnSchema: z.ZodObject<{
198
715
  createdAt: z.ZodCoercedDate<unknown>;
199
716
  updatedAt: z.ZodCoercedDate<unknown>;
200
717
  }, z.core.$strip>;
201
- type TableColumn = z.infer<typeof tableColumnSchema>;
202
- declare const columnCreateDataSchema: z.ZodObject<{
718
+ type NotebaseColumn = z.infer<typeof notebaseColumnSchema>;
719
+ declare const notebaseColumnCreateDataSchema: z.ZodObject<{
203
720
  id: z.ZodOptional<z.ZodUUID>;
204
721
  name: z.ZodString;
205
722
  config: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -226,8 +743,8 @@ declare const columnCreateDataSchema: z.ZodObject<{
226
743
  }, z.core.$strip>>>;
227
744
  }, z.core.$strip>], "type">;
228
745
  }, z.core.$strict>;
229
- type ColumnCreateData = z.infer<typeof columnCreateDataSchema>;
230
- declare const columnUpdateDataSchema: z.ZodObject<{
746
+ type NotebaseColumnCreateData = z.infer<typeof notebaseColumnCreateDataSchema>;
747
+ declare const notebaseColumnUpdateDataSchema: z.ZodObject<{
231
748
  name: z.ZodOptional<z.ZodString>;
232
749
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
233
750
  type: z.ZodLiteral<"string">;
@@ -254,9 +771,9 @@ declare const columnUpdateDataSchema: z.ZodObject<{
254
771
  }, z.core.$strip>], "type">>;
255
772
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
256
773
  }, z.core.$strict>;
257
- type ColumnUpdateData = z.infer<typeof columnUpdateDataSchema>;
258
- declare const ColumnCreateInputSchema: z.ZodObject<{
259
- tableId: z.ZodUUID;
774
+ type NotebaseColumnUpdateData = z.infer<typeof notebaseColumnUpdateDataSchema>;
775
+ declare const NotebaseColumnCreateInputSchema: z.ZodObject<{
776
+ notebaseId: z.ZodUUID;
260
777
  data: z.ZodObject<{
261
778
  id: z.ZodOptional<z.ZodUUID>;
262
779
  name: z.ZodString;
@@ -285,13 +802,13 @@ declare const ColumnCreateInputSchema: z.ZodObject<{
285
802
  }, z.core.$strip>], "type">;
286
803
  }, z.core.$strict>;
287
804
  }, z.core.$strip>;
288
- type ColumnCreateInput = z.infer<typeof ColumnCreateInputSchema>;
289
- declare const ColumnCreateOutputSchema: z.ZodObject<{
805
+ type NotebaseColumnCreateInput = z.infer<typeof NotebaseColumnCreateInputSchema>;
806
+ declare const NotebaseColumnCreateOutputSchema: z.ZodObject<{
290
807
  txid: z.ZodNumber;
291
808
  }, z.core.$strip>;
292
- type ColumnCreateOutput = z.infer<typeof ColumnCreateOutputSchema>;
293
- declare const ColumnUpdateInputSchema: z.ZodObject<{
294
- columnId: z.ZodUUID;
809
+ type NotebaseColumnCreateOutput = z.infer<typeof NotebaseColumnCreateOutputSchema>;
810
+ declare const NotebaseColumnUpdateInputSchema: z.ZodObject<{
811
+ notebaseColumnId: z.ZodUUID;
295
812
  data: z.ZodObject<{
296
813
  name: z.ZodOptional<z.ZodString>;
297
814
  config: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -320,301 +837,136 @@ declare const ColumnUpdateInputSchema: z.ZodObject<{
320
837
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
321
838
  }, z.core.$strict>;
322
839
  }, z.core.$strip>;
323
- type ColumnUpdateInput = z.infer<typeof ColumnUpdateInputSchema>;
324
- declare const ColumnUpdateOutputSchema: z.ZodObject<{
840
+ type NotebaseColumnUpdateInput = z.infer<typeof NotebaseColumnUpdateInputSchema>;
841
+ declare const NotebaseColumnUpdateOutputSchema: z.ZodObject<{
325
842
  txid: z.ZodNumber;
326
843
  }, z.core.$strip>;
327
- type ColumnUpdateOutput = z.infer<typeof ColumnUpdateOutputSchema>;
328
- declare const ColumnDeleteInputSchema: z.ZodObject<{
329
- columnId: z.ZodUUID;
844
+ type NotebaseColumnUpdateOutput = z.infer<typeof NotebaseColumnUpdateOutputSchema>;
845
+ declare const NotebaseColumnDeleteInputSchema: z.ZodObject<{
846
+ notebaseColumnId: z.ZodUUID;
330
847
  }, z.core.$strip>;
331
- type ColumnDeleteInput = z.infer<typeof ColumnDeleteInputSchema>;
332
- declare const ColumnDeleteOutputSchema: z.ZodObject<{
848
+ type NotebaseColumnDeleteInput = z.infer<typeof NotebaseColumnDeleteInputSchema>;
849
+ declare const NotebaseColumnDeleteOutputSchema: z.ZodObject<{
333
850
  txid: z.ZodNumber;
334
851
  }, z.core.$strip>;
335
- type ColumnDeleteOutput = z.infer<typeof ColumnDeleteOutputSchema>;
336
- declare const ColumnReorderInputSchema: z.ZodObject<{
337
- tableId: z.ZodUUID;
852
+ type NotebaseColumnDeleteOutput = z.infer<typeof NotebaseColumnDeleteOutputSchema>;
853
+ declare const NotebaseColumnReorderInputSchema: z.ZodObject<{
854
+ notebaseId: z.ZodUUID;
338
855
  ids: z.ZodArray<z.ZodUUID>;
339
856
  }, z.core.$strip>;
340
- type ColumnReorderInput = z.infer<typeof ColumnReorderInputSchema>;
341
- declare const ColumnReorderOutputSchema: z.ZodObject<{
857
+ type NotebaseColumnReorderInput = z.infer<typeof NotebaseColumnReorderInputSchema>;
858
+ declare const NotebaseColumnReorderOutputSchema: z.ZodObject<{
342
859
  txid: z.ZodNumber;
343
860
  }, z.core.$strip>;
344
- type ColumnReorderOutput = z.infer<typeof ColumnReorderOutputSchema>;
861
+ type NotebaseColumnReorderOutput = z.infer<typeof NotebaseColumnReorderOutputSchema>;
345
862
  //#endregion
346
- //#region src/schemas/custom-table.d.ts
347
- declare const CustomTableListInputSchema: z.ZodObject<{}, z.core.$strip>;
348
- type CustomTableListInput = z.infer<typeof CustomTableListInputSchema>;
349
- declare const CustomTableListItemSchema: z.ZodObject<{
863
+ //#region src/schemas/notebase-row.d.ts
864
+ declare const notebaseRowCellsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
865
+ declare const notebaseRowSchema: z.ZodObject<{
350
866
  id: z.ZodString;
351
- name: z.ZodString;
352
- }, z.core.$strip>;
353
- type CustomTableListItem = z.infer<typeof CustomTableListItemSchema>;
354
- declare const CustomTableListOutputSchema: z.ZodArray<z.ZodObject<{
355
- id: z.ZodString;
356
- name: z.ZodString;
357
- }, z.core.$strip>>;
358
- type CustomTableListOutput = z.infer<typeof CustomTableListOutputSchema>;
359
- declare const customTableCreateDataSchema: z.ZodObject<{
360
- id: z.ZodOptional<z.ZodUUID>;
361
- name: z.ZodString;
362
- }, z.core.$strict>;
363
- type CustomTableCreateData = z.infer<typeof customTableCreateDataSchema>;
364
- declare const CustomTableCreateInputSchema: z.ZodObject<{
365
- id: z.ZodOptional<z.ZodUUID>;
366
- name: z.ZodString;
367
- }, z.core.$strict>;
368
- type CustomTableCreateInput = z.infer<typeof CustomTableCreateInputSchema>;
369
- declare const CustomTableCreateOutputSchema: z.ZodObject<{
370
- txid: z.ZodNumber;
371
- }, z.core.$strip>;
372
- type CustomTableCreateOutput = z.infer<typeof CustomTableCreateOutputSchema>;
373
- declare const customTableUpdateDataSchema: z.ZodObject<{
374
- name: z.ZodOptional<z.ZodString>;
375
- }, z.core.$strict>;
376
- type CustomTableUpdateData = z.infer<typeof customTableUpdateDataSchema>;
377
- declare const CustomTableUpdateInputSchema: z.ZodObject<{
378
- name: z.ZodOptional<z.ZodString>;
379
- id: z.ZodUUID;
380
- }, z.core.$strict>;
381
- type CustomTableUpdateInput = z.infer<typeof CustomTableUpdateInputSchema>;
382
- declare const CustomTableUpdateOutputSchema: z.ZodObject<{
383
- txid: z.ZodNumber;
384
- }, z.core.$strip>;
385
- type CustomTableUpdateOutput = z.infer<typeof CustomTableUpdateOutputSchema>;
386
- declare const CustomTableDeleteInputSchema: z.ZodObject<{
387
- id: z.ZodUUID;
388
- }, z.core.$strip>;
389
- type CustomTableDeleteInput = z.infer<typeof CustomTableDeleteInputSchema>;
390
- declare const CustomTableDeleteOutputSchema: z.ZodObject<{
391
- txid: z.ZodNumber;
392
- }, z.core.$strip>;
393
- type CustomTableDeleteOutput = z.infer<typeof CustomTableDeleteOutputSchema>;
394
- declare const CustomTableGetInputSchema: z.ZodObject<{
395
- id: z.ZodUUID;
396
- }, z.core.$strip>;
397
- type CustomTableGetInput = z.infer<typeof CustomTableGetInputSchema>;
398
- declare const CustomTableGetSchemaInputSchema: z.ZodObject<{
399
- id: z.ZodUUID;
400
- }, z.core.$strip>;
401
- type CustomTableGetSchemaInput = z.infer<typeof CustomTableGetSchemaInputSchema>;
402
- declare const CustomTableGetOutputSchema: z.ZodObject<{
403
- id: z.ZodString;
404
- userId: z.ZodString;
405
- name: z.ZodString;
406
- createdAt: z.ZodCoercedDate<unknown>;
407
- updatedAt: z.ZodCoercedDate<unknown>;
408
- columns: z.ZodArray<z.ZodObject<{
409
- id: z.ZodString;
410
- tableId: z.ZodString;
411
- name: z.ZodString;
412
- config: z.ZodDiscriminatedUnion<[z.ZodObject<{
413
- type: z.ZodLiteral<"string">;
414
- }, z.core.$strip>, z.ZodObject<{
415
- type: z.ZodLiteral<"number">;
416
- decimal: z.ZodDefault<z.ZodNumber>;
417
- format: z.ZodDefault<z.ZodEnum<{
418
- number: "number";
419
- currency: "currency";
420
- percent: "percent";
421
- }>>;
422
- }, z.core.$strip>, z.ZodObject<{
423
- type: z.ZodLiteral<"boolean">;
424
- }, z.core.$strip>, z.ZodObject<{
425
- type: z.ZodLiteral<"date">;
426
- dateFormat: z.ZodOptional<z.ZodString>;
427
- }, z.core.$strip>, z.ZodObject<{
428
- type: z.ZodLiteral<"select">;
429
- options: z.ZodDefault<z.ZodArray<z.ZodObject<{
430
- id: z.ZodString;
431
- value: z.ZodString;
432
- color: z.ZodString;
433
- }, z.core.$strip>>>;
434
- }, z.core.$strip>], "type">;
435
- position: z.ZodNumber;
436
- isPrimary: z.ZodBoolean;
437
- width: z.ZodNullable<z.ZodNumber>;
438
- createdAt: z.ZodCoercedDate<unknown>;
439
- updatedAt: z.ZodCoercedDate<unknown>;
440
- }, z.core.$strip>>;
441
- rows: z.ZodArray<z.ZodObject<{
442
- id: z.ZodString;
443
- tableId: z.ZodString;
444
- cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
445
- position: z.ZodNumber;
446
- createdAt: z.ZodCoercedDate<unknown>;
447
- updatedAt: z.ZodCoercedDate<unknown>;
448
- }, z.core.$strip>>;
449
- views: z.ZodArray<z.ZodObject<{
450
- id: z.ZodString;
451
- tableId: z.ZodString;
452
- name: z.ZodString;
453
- type: z.ZodEnum<{
454
- table: "table";
455
- kanban: "kanban";
456
- gallery: "gallery";
457
- }>;
458
- config: z.ZodNullable<z.ZodObject<{
459
- columnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
460
- hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
461
- groupByColumnId: z.ZodOptional<z.ZodString>;
462
- }, z.core.$catchall<z.ZodUnknown>>>;
463
- filters: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
464
- sorts: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
465
- position: z.ZodNumber;
466
- createdAt: z.ZodCoercedDate<unknown>;
467
- updatedAt: z.ZodCoercedDate<unknown>;
468
- }, z.core.$strip>>;
469
- }, z.core.$strip>;
470
- type CustomTableGetOutput = z.infer<typeof CustomTableGetOutputSchema>;
471
- declare const CustomTableGetSchemaOutputSchema: z.ZodObject<{
472
- id: z.ZodString;
473
- name: z.ZodString;
474
- updatedAt: z.ZodCoercedDate<unknown>;
475
- columns: z.ZodArray<z.ZodObject<{
476
- id: z.ZodString;
477
- tableId: z.ZodString;
478
- name: z.ZodString;
479
- config: z.ZodDiscriminatedUnion<[z.ZodObject<{
480
- type: z.ZodLiteral<"string">;
481
- }, z.core.$strip>, z.ZodObject<{
482
- type: z.ZodLiteral<"number">;
483
- decimal: z.ZodDefault<z.ZodNumber>;
484
- format: z.ZodDefault<z.ZodEnum<{
485
- number: "number";
486
- currency: "currency";
487
- percent: "percent";
488
- }>>;
489
- }, z.core.$strip>, z.ZodObject<{
490
- type: z.ZodLiteral<"boolean">;
491
- }, z.core.$strip>, z.ZodObject<{
492
- type: z.ZodLiteral<"date">;
493
- dateFormat: z.ZodOptional<z.ZodString>;
494
- }, z.core.$strip>, z.ZodObject<{
495
- type: z.ZodLiteral<"select">;
496
- options: z.ZodDefault<z.ZodArray<z.ZodObject<{
497
- id: z.ZodString;
498
- value: z.ZodString;
499
- color: z.ZodString;
500
- }, z.core.$strip>>>;
501
- }, z.core.$strip>], "type">;
502
- position: z.ZodNumber;
503
- isPrimary: z.ZodBoolean;
504
- width: z.ZodNullable<z.ZodNumber>;
505
- createdAt: z.ZodCoercedDate<unknown>;
506
- updatedAt: z.ZodCoercedDate<unknown>;
507
- }, z.core.$strip>>;
508
- }, z.core.$strip>;
509
- type CustomTableGetSchemaOutput = z.infer<typeof CustomTableGetSchemaOutputSchema>;
510
- //#endregion
511
- //#region src/schemas/row.d.ts
512
- declare const rowCellsSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
513
- declare const tableRowSchema: z.ZodObject<{
514
- id: z.ZodString;
515
- tableId: z.ZodString;
867
+ notebaseId: z.ZodString;
516
868
  cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
517
869
  position: z.ZodNumber;
518
870
  createdAt: z.ZodCoercedDate<unknown>;
519
871
  updatedAt: z.ZodCoercedDate<unknown>;
520
872
  }, z.core.$strip>;
521
- type TableRow = z.infer<typeof tableRowSchema>;
522
- declare const rowCreateDataSchema: z.ZodObject<{
873
+ type NotebaseRow = z.infer<typeof notebaseRowSchema>;
874
+ declare const notebaseRowCreateDataSchema: z.ZodObject<{
523
875
  id: z.ZodOptional<z.ZodUUID>;
524
876
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
525
877
  }, z.core.$strict>;
526
- type RowCreateData = z.infer<typeof rowCreateDataSchema>;
527
- declare const rowUpdateDataSchema: z.ZodObject<{
878
+ type NotebaseRowCreateData = z.infer<typeof notebaseRowCreateDataSchema>;
879
+ declare const notebaseRowUpdateDataSchema: z.ZodObject<{
528
880
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
529
881
  }, z.core.$strict>;
530
- type RowUpdateData = z.infer<typeof rowUpdateDataSchema>;
531
- declare const RowCreateInputSchema: z.ZodObject<{
532
- tableId: z.ZodUUID;
882
+ type NotebaseRowUpdateData = z.infer<typeof notebaseRowUpdateDataSchema>;
883
+ declare const NotebaseRowCreateInputSchema: z.ZodObject<{
884
+ notebaseId: z.ZodUUID;
533
885
  data: z.ZodObject<{
534
886
  id: z.ZodOptional<z.ZodUUID>;
535
887
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
536
888
  }, z.core.$strict>;
537
889
  }, z.core.$strip>;
538
- type RowCreateInput = z.infer<typeof RowCreateInputSchema>;
539
- declare const RowCreateOutputSchema: z.ZodObject<{
890
+ type NotebaseRowCreateInput = z.infer<typeof NotebaseRowCreateInputSchema>;
891
+ declare const NotebaseRowCreateOutputSchema: z.ZodObject<{
540
892
  txid: z.ZodNumber;
541
893
  }, z.core.$strip>;
542
- type RowCreateOutput = z.infer<typeof RowCreateOutputSchema>;
543
- declare const RowUpdateInputSchema: z.ZodObject<{
544
- rowId: z.ZodUUID;
894
+ type NotebaseRowCreateOutput = z.infer<typeof NotebaseRowCreateOutputSchema>;
895
+ declare const NotebaseRowUpdateInputSchema: z.ZodObject<{
896
+ notebaseRowId: z.ZodUUID;
545
897
  data: z.ZodObject<{
546
898
  cells: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
547
899
  }, z.core.$strict>;
548
900
  }, z.core.$strip>;
549
- type RowUpdateInput = z.infer<typeof RowUpdateInputSchema>;
550
- declare const RowUpdateOutputSchema: z.ZodObject<{
901
+ type NotebaseRowUpdateInput = z.infer<typeof NotebaseRowUpdateInputSchema>;
902
+ declare const NotebaseRowUpdateOutputSchema: z.ZodObject<{
551
903
  id: z.ZodUUID;
552
- tableId: z.ZodUUID;
904
+ notebaseId: z.ZodUUID;
553
905
  cells: z.ZodRecord<z.ZodString, z.ZodUnknown>;
554
906
  position: z.ZodNumber;
555
907
  createdAt: z.ZodDate;
556
908
  updatedAt: z.ZodDate;
557
909
  txid: z.ZodNumber;
558
910
  }, z.core.$strip>;
559
- type RowUpdateOutput = z.infer<typeof RowUpdateOutputSchema>;
560
- declare const RowDeleteInputSchema: z.ZodObject<{
561
- rowId: z.ZodUUID;
911
+ type NotebaseRowUpdateOutput = z.infer<typeof NotebaseRowUpdateOutputSchema>;
912
+ declare const NotebaseRowDeleteInputSchema: z.ZodObject<{
913
+ notebaseRowId: z.ZodUUID;
562
914
  }, z.core.$strip>;
563
- type RowDeleteInput = z.infer<typeof RowDeleteInputSchema>;
564
- declare const RowDeleteOutputSchema: z.ZodObject<{
915
+ type NotebaseRowDeleteInput = z.infer<typeof NotebaseRowDeleteInputSchema>;
916
+ declare const NotebaseRowDeleteOutputSchema: z.ZodObject<{
565
917
  txid: z.ZodNumber;
566
918
  }, z.core.$strip>;
567
- type RowDeleteOutput = z.infer<typeof RowDeleteOutputSchema>;
568
- declare const RowReorderInputSchema: z.ZodObject<{
569
- tableId: z.ZodUUID;
919
+ type NotebaseRowDeleteOutput = z.infer<typeof NotebaseRowDeleteOutputSchema>;
920
+ declare const NotebaseRowReorderInputSchema: z.ZodObject<{
921
+ notebaseId: z.ZodUUID;
570
922
  ids: z.ZodArray<z.ZodUUID>;
571
923
  }, z.core.$strip>;
572
- type RowReorderInput = z.infer<typeof RowReorderInputSchema>;
573
- declare const RowReorderOutputSchema: z.ZodObject<{
924
+ type NotebaseRowReorderInput = z.infer<typeof NotebaseRowReorderInputSchema>;
925
+ declare const NotebaseRowReorderOutputSchema: z.ZodObject<{
574
926
  txid: z.ZodNumber;
575
927
  }, z.core.$strip>;
576
- type RowReorderOutput = z.infer<typeof RowReorderOutputSchema>;
928
+ type NotebaseRowReorderOutput = z.infer<typeof NotebaseRowReorderOutputSchema>;
577
929
  //#endregion
578
- //#region src/schemas/view.d.ts
579
- declare const tableViewTypeSchema: z.ZodEnum<{
930
+ //#region src/schemas/notebase-view.d.ts
931
+ declare const notebaseViewTypeSchema: z.ZodEnum<{
580
932
  table: "table";
581
933
  kanban: "kanban";
582
934
  gallery: "gallery";
583
935
  }>;
584
- type TableViewType = z.infer<typeof tableViewTypeSchema>;
585
- declare const viewConfigSchema: z.ZodObject<{
586
- columnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
587
- hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
588
- groupByColumnId: z.ZodOptional<z.ZodString>;
936
+ type NotebaseViewType = z.infer<typeof notebaseViewTypeSchema>;
937
+ declare const notebaseViewConfigSchema: z.ZodObject<{
938
+ notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
939
+ hiddenNotebaseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
940
+ groupByNotebaseColumnId: z.ZodOptional<z.ZodString>;
589
941
  }, z.core.$catchall<z.ZodUnknown>>;
590
- type ViewConfig = z.infer<typeof viewConfigSchema>;
591
- declare const viewFilterSchema: z.ZodObject<{
592
- columnId: z.ZodString;
942
+ type NotebaseViewConfig = z.infer<typeof notebaseViewConfigSchema>;
943
+ declare const notebaseViewFilterSchema: z.ZodObject<{
944
+ notebaseColumnId: z.ZodString;
593
945
  operator: z.ZodString;
594
946
  value: z.ZodUnknown;
595
947
  }, z.core.$strict>;
596
- type ViewFilter = z.infer<typeof viewFilterSchema>;
597
- declare const viewFiltersSchema: z.ZodArray<z.ZodObject<{
598
- columnId: z.ZodString;
948
+ type NotebaseViewFilter = z.infer<typeof notebaseViewFilterSchema>;
949
+ declare const notebaseViewFiltersSchema: z.ZodArray<z.ZodObject<{
950
+ notebaseColumnId: z.ZodString;
599
951
  operator: z.ZodString;
600
952
  value: z.ZodUnknown;
601
953
  }, z.core.$strict>>;
602
- declare const viewSortSchema: z.ZodObject<{
603
- columnId: z.ZodString;
954
+ declare const notebaseViewSortSchema: z.ZodObject<{
955
+ notebaseColumnId: z.ZodString;
604
956
  direction: z.ZodEnum<{
605
957
  asc: "asc";
606
958
  desc: "desc";
607
959
  }>;
608
960
  }, z.core.$strict>;
609
- type ViewSort = z.infer<typeof viewSortSchema>;
610
- declare const viewSortsSchema: z.ZodArray<z.ZodObject<{
611
- columnId: z.ZodString;
961
+ type NotebaseViewSort = z.infer<typeof notebaseViewSortSchema>;
962
+ declare const notebaseViewSortsSchema: z.ZodArray<z.ZodObject<{
963
+ notebaseColumnId: z.ZodString;
612
964
  direction: z.ZodEnum<{
613
965
  asc: "asc";
614
966
  desc: "desc";
615
967
  }>;
616
968
  }, z.core.$strict>>;
617
- declare const viewCreateDataSchema: z.ZodObject<{
969
+ declare const notebaseViewCreateDataSchema: z.ZodObject<{
618
970
  id: z.ZodOptional<z.ZodUUID>;
619
971
  name: z.ZodString;
620
972
  type: z.ZodEnum<{
@@ -623,25 +975,25 @@ declare const viewCreateDataSchema: z.ZodObject<{
623
975
  gallery: "gallery";
624
976
  }>;
625
977
  config: z.ZodOptional<z.ZodObject<{
626
- columnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
627
- hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
628
- groupByColumnId: z.ZodOptional<z.ZodString>;
978
+ notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
979
+ hiddenNotebaseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
980
+ groupByNotebaseColumnId: z.ZodOptional<z.ZodString>;
629
981
  }, z.core.$catchall<z.ZodUnknown>>>;
630
982
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
631
- columnId: z.ZodString;
983
+ notebaseColumnId: z.ZodString;
632
984
  operator: z.ZodString;
633
985
  value: z.ZodUnknown;
634
986
  }, z.core.$strict>>>;
635
987
  sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
636
- columnId: z.ZodString;
988
+ notebaseColumnId: z.ZodString;
637
989
  direction: z.ZodEnum<{
638
990
  asc: "asc";
639
991
  desc: "desc";
640
992
  }>;
641
993
  }, z.core.$strict>>>;
642
994
  }, z.core.$strict>;
643
- type ViewCreateData = z.infer<typeof viewCreateDataSchema>;
644
- declare const viewUpdateDataSchema: z.ZodObject<{
995
+ type NotebaseViewCreateData = z.infer<typeof notebaseViewCreateDataSchema>;
996
+ declare const notebaseViewUpdateDataSchema: z.ZodObject<{
645
997
  name: z.ZodOptional<z.ZodString>;
646
998
  type: z.ZodOptional<z.ZodEnum<{
647
999
  table: "table";
@@ -649,27 +1001,27 @@ declare const viewUpdateDataSchema: z.ZodObject<{
649
1001
  gallery: "gallery";
650
1002
  }>>;
651
1003
  config: z.ZodOptional<z.ZodObject<{
652
- columnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
653
- hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
654
- groupByColumnId: z.ZodOptional<z.ZodString>;
1004
+ notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1005
+ hiddenNotebaseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1006
+ groupByNotebaseColumnId: z.ZodOptional<z.ZodString>;
655
1007
  }, z.core.$catchall<z.ZodUnknown>>>;
656
1008
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
657
- columnId: z.ZodString;
1009
+ notebaseColumnId: z.ZodString;
658
1010
  operator: z.ZodString;
659
1011
  value: z.ZodUnknown;
660
1012
  }, z.core.$strict>>>;
661
1013
  sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
662
- columnId: z.ZodString;
1014
+ notebaseColumnId: z.ZodString;
663
1015
  direction: z.ZodEnum<{
664
1016
  asc: "asc";
665
1017
  desc: "desc";
666
1018
  }>;
667
1019
  }, z.core.$strict>>>;
668
1020
  }, z.core.$strict>;
669
- type ViewUpdateData = z.infer<typeof viewUpdateDataSchema>;
670
- declare const tableViewSchema: z.ZodObject<{
1021
+ type NotebaseViewUpdateData = z.infer<typeof notebaseViewUpdateDataSchema>;
1022
+ declare const notebaseViewSchema: z.ZodObject<{
671
1023
  id: z.ZodString;
672
- tableId: z.ZodString;
1024
+ notebaseId: z.ZodString;
673
1025
  name: z.ZodString;
674
1026
  type: z.ZodEnum<{
675
1027
  table: "table";
@@ -677,9 +1029,9 @@ declare const tableViewSchema: z.ZodObject<{
677
1029
  gallery: "gallery";
678
1030
  }>;
679
1031
  config: z.ZodNullable<z.ZodObject<{
680
- columnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
681
- hiddenColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
682
- groupByColumnId: z.ZodOptional<z.ZodString>;
1032
+ notebaseColumnWidths: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1033
+ hiddenNotebaseColumns: z.ZodOptional<z.ZodArray<z.ZodString>>;
1034
+ groupByNotebaseColumnId: z.ZodOptional<z.ZodString>;
683
1035
  }, z.core.$catchall<z.ZodUnknown>>>;
684
1036
  filters: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
685
1037
  sorts: z.ZodNullable<z.ZodArray<z.ZodUnknown>>;
@@ -687,7 +1039,193 @@ declare const tableViewSchema: z.ZodObject<{
687
1039
  createdAt: z.ZodCoercedDate<unknown>;
688
1040
  updatedAt: z.ZodCoercedDate<unknown>;
689
1041
  }, z.core.$strip>;
690
- type TableView = z.infer<typeof tableViewSchema>;
1042
+ type NotebaseView = z.infer<typeof notebaseViewSchema>;
1043
+ //#endregion
1044
+ //#region src/schemas/timezone.d.ts
1045
+ declare const timezoneSchema: z.ZodString;
1046
+ type Timezone = z.infer<typeof timezoneSchema>;
1047
+ //#endregion
1048
+ //#region src/schemas/srs.d.ts
1049
+ declare const stepSchema: z.ZodTemplateLiteral<`${number}m` | `${number}h` | `${number}d`>;
1050
+ type Step = z.infer<typeof stepSchema>;
1051
+ declare const SRS_REVIEW_CLIENT_ID_NAMESPACE = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
1052
+ interface SrsReviewClientIdCard {
1053
+ id: string;
1054
+ lastReviewTime: Date | string | null;
1055
+ }
1056
+ declare function createSrsReviewClientId(card: SrsReviewClientIdCard): Promise<string>;
1057
+ declare const srsReviewInputSchema: z.ZodObject<{
1058
+ cardId: z.ZodUUID;
1059
+ id: z.ZodOptional<z.ZodUUID>;
1060
+ rating: z.ZodEnum<{
1061
+ again: "again";
1062
+ hard: "hard";
1063
+ good: "good";
1064
+ easy: "easy";
1065
+ }>;
1066
+ durationMs: z.ZodNumber;
1067
+ timezone: z.ZodString;
1068
+ }, z.core.$strict>;
1069
+ type SrsReviewInput = z.infer<typeof srsReviewInputSchema>;
1070
+ declare const srsRollbackReviewInputSchema: z.ZodObject<{
1071
+ cardId: z.ZodUUID;
1072
+ }, z.core.$strict>;
1073
+ type SrsRollbackReviewInput = z.infer<typeof srsRollbackReviewInputSchema>;
1074
+ declare const srsRevlogSchema: z.ZodObject<{
1075
+ id: z.ZodUUID;
1076
+ notebaseId: z.ZodUUID;
1077
+ cardId: z.ZodUUID;
1078
+ rating: z.ZodEnum<{
1079
+ again: "again";
1080
+ hard: "hard";
1081
+ good: "good";
1082
+ easy: "easy";
1083
+ }>;
1084
+ state: z.ZodEnum<{
1085
+ new: "new";
1086
+ learning: "learning";
1087
+ review: "review";
1088
+ relearning: "relearning";
1089
+ }>;
1090
+ afterScheduleStatus: z.ZodEnum<{
1091
+ new: "new";
1092
+ learning: "learning";
1093
+ review: "review";
1094
+ suspended: "suspended";
1095
+ buried: "buried";
1096
+ }>;
1097
+ reviewedAt: z.ZodCoercedDate<unknown>;
1098
+ durationMs: z.ZodNumber;
1099
+ fsrsReviewLogSnapshot: z.ZodObject<{
1100
+ rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1101
+ state: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1102
+ dueAt: z.ZodString;
1103
+ stability: z.ZodNumber;
1104
+ difficulty: z.ZodNumber;
1105
+ scheduledDays: z.ZodNumber;
1106
+ learningSteps: z.ZodNumber;
1107
+ review: z.ZodString;
1108
+ }, z.core.$strict>;
1109
+ createdAt: z.ZodCoercedDate<unknown>;
1110
+ }, z.core.$strip>;
1111
+ type SrsRevlog = z.infer<typeof srsRevlogSchema>;
1112
+ declare const srsReviewOutputSchema: z.ZodObject<{
1113
+ card: z.ZodObject<{
1114
+ createdAt: z.ZodCoercedDate<unknown>;
1115
+ updatedAt: z.ZodCoercedDate<unknown>;
1116
+ buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1117
+ state: z.ZodEnum<{
1118
+ new: "new";
1119
+ learning: "learning";
1120
+ review: "review";
1121
+ relearning: "relearning";
1122
+ }>;
1123
+ scheduleStatus: z.ZodEnum<{
1124
+ new: "new";
1125
+ learning: "learning";
1126
+ review: "review";
1127
+ suspended: "suspended";
1128
+ buried: "buried";
1129
+ }>;
1130
+ dueAt: z.ZodCoercedDate<unknown>;
1131
+ lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1132
+ stability: z.ZodNumber;
1133
+ difficulty: z.ZodNumber;
1134
+ step: z.ZodNumber;
1135
+ lapses: z.ZodNumber;
1136
+ reps: z.ZodNumber;
1137
+ id: z.ZodUUID;
1138
+ notebaseId: z.ZodUUID;
1139
+ notebaseRowId: z.ZodUUID;
1140
+ templateId: z.ZodUUID;
1141
+ variantKey: z.ZodString;
1142
+ }, z.core.$strip>;
1143
+ revlog: z.ZodObject<{
1144
+ id: z.ZodUUID;
1145
+ notebaseId: z.ZodUUID;
1146
+ cardId: z.ZodUUID;
1147
+ rating: z.ZodEnum<{
1148
+ again: "again";
1149
+ hard: "hard";
1150
+ good: "good";
1151
+ easy: "easy";
1152
+ }>;
1153
+ state: z.ZodEnum<{
1154
+ new: "new";
1155
+ learning: "learning";
1156
+ review: "review";
1157
+ relearning: "relearning";
1158
+ }>;
1159
+ afterScheduleStatus: z.ZodEnum<{
1160
+ new: "new";
1161
+ learning: "learning";
1162
+ review: "review";
1163
+ suspended: "suspended";
1164
+ buried: "buried";
1165
+ }>;
1166
+ reviewedAt: z.ZodCoercedDate<unknown>;
1167
+ durationMs: z.ZodNumber;
1168
+ fsrsReviewLogSnapshot: z.ZodObject<{
1169
+ rating: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
1170
+ state: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
1171
+ dueAt: z.ZodString;
1172
+ stability: z.ZodNumber;
1173
+ difficulty: z.ZodNumber;
1174
+ scheduledDays: z.ZodNumber;
1175
+ learningSteps: z.ZodNumber;
1176
+ review: z.ZodString;
1177
+ }, z.core.$strict>;
1178
+ createdAt: z.ZodCoercedDate<unknown>;
1179
+ }, z.core.$strip>;
1180
+ txid: z.ZodNumber;
1181
+ }, z.core.$strip>;
1182
+ type SrsReviewOutput = z.infer<typeof srsReviewOutputSchema>;
1183
+ declare const srsRollbackReviewOutputSchema: z.ZodObject<{
1184
+ card: z.ZodObject<{
1185
+ createdAt: z.ZodCoercedDate<unknown>;
1186
+ updatedAt: z.ZodCoercedDate<unknown>;
1187
+ buriedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1188
+ state: z.ZodEnum<{
1189
+ new: "new";
1190
+ learning: "learning";
1191
+ review: "review";
1192
+ relearning: "relearning";
1193
+ }>;
1194
+ scheduleStatus: z.ZodEnum<{
1195
+ new: "new";
1196
+ learning: "learning";
1197
+ review: "review";
1198
+ suspended: "suspended";
1199
+ buried: "buried";
1200
+ }>;
1201
+ dueAt: z.ZodCoercedDate<unknown>;
1202
+ lastReviewTime: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1203
+ stability: z.ZodNumber;
1204
+ difficulty: z.ZodNumber;
1205
+ step: z.ZodNumber;
1206
+ lapses: z.ZodNumber;
1207
+ reps: z.ZodNumber;
1208
+ id: z.ZodUUID;
1209
+ notebaseId: z.ZodUUID;
1210
+ notebaseRowId: z.ZodUUID;
1211
+ templateId: z.ZodUUID;
1212
+ variantKey: z.ZodString;
1213
+ }, z.core.$strip>;
1214
+ rolledBackRevlogId: z.ZodUUID;
1215
+ txid: z.ZodNumber;
1216
+ }, z.core.$strip>;
1217
+ type SrsRollbackReviewOutput = z.infer<typeof srsRollbackReviewOutputSchema>;
1218
+ //#endregion
1219
+ //#region src/schemas/user.d.ts
1220
+ declare const userEnsureTimezoneInputSchema: z.ZodObject<{
1221
+ timezone: z.ZodString;
1222
+ }, z.core.$strict>;
1223
+ type UserEnsureTimezoneInput = z.infer<typeof userEnsureTimezoneInputSchema>;
1224
+ declare const userEnsureTimezoneOutputSchema: z.ZodObject<{
1225
+ timezone: z.ZodString;
1226
+ updated: z.ZodBoolean;
1227
+ }, z.core.$strict>;
1228
+ type UserEnsureTimezoneOutput = z.infer<typeof userEnsureTimezoneOutputSchema>;
691
1229
  //#endregion
692
1230
  //#region src/index.d.ts
693
1231
  declare const contract: {
@@ -703,7 +1241,165 @@ declare const contract: {
703
1241
  allowed: _$zod.ZodBoolean;
704
1242
  }, _$zod_v4_core0.$strip>, Record<never, never>, Record<never, never>>;
705
1243
  };
706
- customTable: {
1244
+ card: {
1245
+ list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1246
+ notebaseId: _$zod.ZodUUID;
1247
+ templateId: _$zod.ZodOptional<_$zod.ZodUUID>;
1248
+ limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1249
+ offset: _$zod.ZodOptional<_$zod.ZodNumber>;
1250
+ }, _$zod_v4_core0.$strip>, _$zod.ZodArray<_$zod.ZodObject<{
1251
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1252
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1253
+ buriedAt: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1254
+ state: _$zod.ZodEnum<{
1255
+ new: "new";
1256
+ learning: "learning";
1257
+ review: "review";
1258
+ relearning: "relearning";
1259
+ }>;
1260
+ scheduleStatus: _$zod.ZodEnum<{
1261
+ new: "new";
1262
+ learning: "learning";
1263
+ review: "review";
1264
+ suspended: "suspended";
1265
+ buried: "buried";
1266
+ }>;
1267
+ dueAt: _$zod.ZodCoercedDate<unknown>;
1268
+ lastReviewTime: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1269
+ stability: _$zod.ZodNumber;
1270
+ difficulty: _$zod.ZodNumber;
1271
+ step: _$zod.ZodNumber;
1272
+ lapses: _$zod.ZodNumber;
1273
+ reps: _$zod.ZodNumber;
1274
+ id: _$zod.ZodUUID;
1275
+ notebaseId: _$zod.ZodUUID;
1276
+ notebaseRowId: _$zod.ZodUUID;
1277
+ templateId: _$zod.ZodUUID;
1278
+ variantKey: _$zod.ZodString;
1279
+ front: _$zod.ZodString;
1280
+ back: _$zod.ZodString;
1281
+ }, _$zod_v4_core0.$strip>>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
1282
+ get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1283
+ id: _$zod.ZodUUID;
1284
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1285
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1286
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1287
+ buriedAt: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1288
+ state: _$zod.ZodEnum<{
1289
+ new: "new";
1290
+ learning: "learning";
1291
+ review: "review";
1292
+ relearning: "relearning";
1293
+ }>;
1294
+ scheduleStatus: _$zod.ZodEnum<{
1295
+ new: "new";
1296
+ learning: "learning";
1297
+ review: "review";
1298
+ suspended: "suspended";
1299
+ buried: "buried";
1300
+ }>;
1301
+ dueAt: _$zod.ZodCoercedDate<unknown>;
1302
+ lastReviewTime: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1303
+ stability: _$zod.ZodNumber;
1304
+ difficulty: _$zod.ZodNumber;
1305
+ step: _$zod.ZodNumber;
1306
+ lapses: _$zod.ZodNumber;
1307
+ reps: _$zod.ZodNumber;
1308
+ id: _$zod.ZodUUID;
1309
+ notebaseId: _$zod.ZodUUID;
1310
+ notebaseRowId: _$zod.ZodUUID;
1311
+ templateId: _$zod.ZodUUID;
1312
+ variantKey: _$zod.ZodString;
1313
+ front: _$zod.ZodString;
1314
+ back: _$zod.ZodString;
1315
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "CARD_NOT_FOUND">>, Record<never, never>>;
1316
+ generate: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1317
+ notebaseId: _$zod.ZodUUID;
1318
+ templateId: _$zod.ZodOptional<_$zod.ZodUUID>;
1319
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1320
+ created: _$zod.ZodNumber;
1321
+ txid: _$zod.ZodNumber;
1322
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND" | "CARD_TEMPLATE_NOT_FOUND">>, Record<never, never>>;
1323
+ };
1324
+ cardTemplate: {
1325
+ list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1326
+ notebaseId: _$zod.ZodUUID;
1327
+ }, _$zod_v4_core0.$strip>, _$zod.ZodArray<_$zod.ZodObject<{
1328
+ id: _$zod.ZodUUID;
1329
+ notebaseId: _$zod.ZodUUID;
1330
+ name: _$zod.ZodString;
1331
+ config: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1332
+ type: _$zod.ZodLiteral<"basic">;
1333
+ frontPattern: _$zod.ZodString;
1334
+ backPattern: _$zod.ZodString;
1335
+ }, _$zod_v4_core0.$strict>], "type">;
1336
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1337
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1338
+ }, _$zod_v4_core0.$strip>>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
1339
+ get: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1340
+ id: _$zod.ZodUUID;
1341
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1342
+ id: _$zod.ZodUUID;
1343
+ notebaseId: _$zod.ZodUUID;
1344
+ name: _$zod.ZodString;
1345
+ config: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1346
+ type: _$zod.ZodLiteral<"basic">;
1347
+ frontPattern: _$zod.ZodString;
1348
+ backPattern: _$zod.ZodString;
1349
+ }, _$zod_v4_core0.$strict>], "type">;
1350
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1351
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1352
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "CARD_TEMPLATE_NOT_FOUND">>, Record<never, never>>;
1353
+ create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1354
+ id: _$zod.ZodOptional<_$zod.ZodUUID>;
1355
+ notebaseId: _$zod.ZodUUID;
1356
+ name: _$zod.ZodString;
1357
+ config: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1358
+ type: _$zod.ZodLiteral<"basic">;
1359
+ frontPattern: _$zod.ZodString;
1360
+ backPattern: _$zod.ZodString;
1361
+ }, _$zod_v4_core0.$strict>], "type">;
1362
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1363
+ id: _$zod.ZodUUID;
1364
+ notebaseId: _$zod.ZodUUID;
1365
+ name: _$zod.ZodString;
1366
+ config: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1367
+ type: _$zod.ZodLiteral<"basic">;
1368
+ frontPattern: _$zod.ZodString;
1369
+ backPattern: _$zod.ZodString;
1370
+ }, _$zod_v4_core0.$strict>], "type">;
1371
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1372
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1373
+ txid: _$zod.ZodNumber;
1374
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND" | "CARD_TEMPLATE_INVALID_NOTEBASE_COLUMNS">>, Record<never, never>>;
1375
+ update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1376
+ id: _$zod.ZodUUID;
1377
+ name: _$zod.ZodOptional<_$zod.ZodString>;
1378
+ config: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1379
+ type: _$zod.ZodLiteral<"basic">;
1380
+ frontPattern: _$zod.ZodString;
1381
+ backPattern: _$zod.ZodString;
1382
+ }, _$zod_v4_core0.$strict>], "type">>;
1383
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1384
+ id: _$zod.ZodUUID;
1385
+ notebaseId: _$zod.ZodUUID;
1386
+ name: _$zod.ZodString;
1387
+ config: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1388
+ type: _$zod.ZodLiteral<"basic">;
1389
+ frontPattern: _$zod.ZodString;
1390
+ backPattern: _$zod.ZodString;
1391
+ }, _$zod_v4_core0.$strict>], "type">;
1392
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1393
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1394
+ txid: _$zod.ZodNumber;
1395
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "CARD_TEMPLATE_NOT_FOUND" | "CARD_TEMPLATE_INVALID_NOTEBASE_COLUMNS">>, Record<never, never>>;
1396
+ delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1397
+ id: _$zod.ZodUUID;
1398
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1399
+ txid: _$zod.ZodNumber;
1400
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "CARD_TEMPLATE_NOT_FOUND">>, Record<never, never>>;
1401
+ };
1402
+ notebase: {
707
1403
  list: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{}, _$zod_v4_core0.$strip>, _$zod.ZodArray<_$zod.ZodObject<{
708
1404
  id: _$zod.ZodString;
709
1405
  name: _$zod.ZodString;
@@ -714,11 +1410,21 @@ declare const contract: {
714
1410
  id: _$zod.ZodString;
715
1411
  userId: _$zod.ZodString;
716
1412
  name: _$zod.ZodString;
1413
+ srsNewPerDay: _$zod.ZodNumber;
1414
+ srsReviewsPerDay: _$zod.ZodNumber;
1415
+ srsDesiredRetention: _$zod.ZodNumber;
1416
+ srsEnableShortTerm: _$zod.ZodBoolean;
1417
+ srsMaximumInterval: _$zod.ZodNumber;
1418
+ srsLearningSteps: _$zod.ZodArray<_$zod.ZodTemplateLiteral<`${number}m` | `${number}h` | `${number}d`>>;
1419
+ srsRelearningSteps: _$zod.ZodArray<_$zod.ZodTemplateLiteral<`${number}m` | `${number}h` | `${number}d`>>;
1420
+ srsLeechThreshold: _$zod.ZodNumber;
1421
+ srsEnableFuzz: _$zod.ZodBoolean;
1422
+ srsWeights: _$zod.ZodNullable<_$zod.ZodArray<_$zod.ZodNumber>>;
717
1423
  createdAt: _$zod.ZodCoercedDate<unknown>;
718
1424
  updatedAt: _$zod.ZodCoercedDate<unknown>;
719
- columns: _$zod.ZodArray<_$zod.ZodObject<{
1425
+ notebaseColumns: _$zod.ZodArray<_$zod.ZodObject<{
720
1426
  id: _$zod.ZodString;
721
- tableId: _$zod.ZodString;
1427
+ notebaseId: _$zod.ZodString;
722
1428
  name: _$zod.ZodString;
723
1429
  config: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
724
1430
  type: _$zod.ZodLiteral<"string">;
@@ -749,17 +1455,17 @@ declare const contract: {
749
1455
  createdAt: _$zod.ZodCoercedDate<unknown>;
750
1456
  updatedAt: _$zod.ZodCoercedDate<unknown>;
751
1457
  }, _$zod_v4_core0.$strip>>;
752
- rows: _$zod.ZodArray<_$zod.ZodObject<{
1458
+ notebaseRows: _$zod.ZodArray<_$zod.ZodObject<{
753
1459
  id: _$zod.ZodString;
754
- tableId: _$zod.ZodString;
1460
+ notebaseId: _$zod.ZodString;
755
1461
  cells: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
756
1462
  position: _$zod.ZodNumber;
757
1463
  createdAt: _$zod.ZodCoercedDate<unknown>;
758
1464
  updatedAt: _$zod.ZodCoercedDate<unknown>;
759
1465
  }, _$zod_v4_core0.$strip>>;
760
- views: _$zod.ZodArray<_$zod.ZodObject<{
1466
+ notebaseViews: _$zod.ZodArray<_$zod.ZodObject<{
761
1467
  id: _$zod.ZodString;
762
- tableId: _$zod.ZodString;
1468
+ notebaseId: _$zod.ZodString;
763
1469
  name: _$zod.ZodString;
764
1470
  type: _$zod.ZodEnum<{
765
1471
  table: "table";
@@ -767,9 +1473,9 @@ declare const contract: {
767
1473
  gallery: "gallery";
768
1474
  }>;
769
1475
  config: _$zod.ZodNullable<_$zod.ZodObject<{
770
- columnWidths: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodNumber>>;
771
- hiddenColumns: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
772
- groupByColumnId: _$zod.ZodOptional<_$zod.ZodString>;
1476
+ notebaseColumnWidths: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodNumber>>;
1477
+ hiddenNotebaseColumns: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
1478
+ groupByNotebaseColumnId: _$zod.ZodOptional<_$zod.ZodString>;
773
1479
  }, _$zod_v4_core0.$catchall<_$zod.ZodUnknown>>>;
774
1480
  filters: _$zod.ZodNullable<_$zod.ZodArray<_$zod.ZodUnknown>>;
775
1481
  sorts: _$zod.ZodNullable<_$zod.ZodArray<_$zod.ZodUnknown>>;
@@ -777,16 +1483,16 @@ declare const contract: {
777
1483
  createdAt: _$zod.ZodCoercedDate<unknown>;
778
1484
  updatedAt: _$zod.ZodCoercedDate<unknown>;
779
1485
  }, _$zod_v4_core0.$strip>>;
780
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND">>, Record<never, never>>;
1486
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
781
1487
  getSchema: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
782
1488
  id: _$zod.ZodUUID;
783
1489
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
784
1490
  id: _$zod.ZodString;
785
1491
  name: _$zod.ZodString;
786
1492
  updatedAt: _$zod.ZodCoercedDate<unknown>;
787
- columns: _$zod.ZodArray<_$zod.ZodObject<{
1493
+ notebaseColumns: _$zod.ZodArray<_$zod.ZodObject<{
788
1494
  id: _$zod.ZodString;
789
- tableId: _$zod.ZodString;
1495
+ notebaseId: _$zod.ZodString;
790
1496
  name: _$zod.ZodString;
791
1497
  config: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
792
1498
  type: _$zod.ZodLiteral<"string">;
@@ -817,7 +1523,7 @@ declare const contract: {
817
1523
  createdAt: _$zod.ZodCoercedDate<unknown>;
818
1524
  updatedAt: _$zod.ZodCoercedDate<unknown>;
819
1525
  }, _$zod_v4_core0.$strip>>;
820
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND">>, Record<never, never>>;
1526
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
821
1527
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
822
1528
  id: _$zod.ZodOptional<_$zod.ZodUUID>;
823
1529
  name: _$zod.ZodString;
@@ -829,16 +1535,16 @@ declare const contract: {
829
1535
  id: _$zod.ZodUUID;
830
1536
  }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
831
1537
  txid: _$zod.ZodNumber;
832
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND">>, Record<never, never>>;
1538
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
833
1539
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
834
1540
  id: _$zod.ZodUUID;
835
1541
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
836
1542
  txid: _$zod.ZodNumber;
837
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND">>, Record<never, never>>;
1543
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND">>, Record<never, never>>;
838
1544
  };
839
- column: {
1545
+ notebaseColumn: {
840
1546
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
841
- tableId: _$zod.ZodUUID;
1547
+ notebaseId: _$zod.ZodUUID;
842
1548
  data: _$zod.ZodObject<{
843
1549
  id: _$zod.ZodOptional<_$zod.ZodUUID>;
844
1550
  name: _$zod.ZodString;
@@ -868,9 +1574,9 @@ declare const contract: {
868
1574
  }, _$zod_v4_core0.$strict>;
869
1575
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
870
1576
  txid: _$zod.ZodNumber;
871
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
1577
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
872
1578
  update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
873
- columnId: _$zod.ZodUUID;
1579
+ notebaseColumnId: _$zod.ZodUUID;
874
1580
  data: _$zod.ZodObject<{
875
1581
  name: _$zod.ZodOptional<_$zod.ZodString>;
876
1582
  config: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -900,57 +1606,184 @@ declare const contract: {
900
1606
  }, _$zod_v4_core0.$strict>;
901
1607
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
902
1608
  txid: _$zod.ZodNumber;
903
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "COLUMN_NOT_FOUND">>, Record<never, never>>;
1609
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_COLUMN_NOT_FOUND">>, Record<never, never>>;
904
1610
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
905
- columnId: _$zod.ZodUUID;
1611
+ notebaseColumnId: _$zod.ZodUUID;
906
1612
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
907
1613
  txid: _$zod.ZodNumber;
908
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "COLUMN_NOT_FOUND" | "PRIMARY_COLUMN_DELETE_NOT_ALLOWED" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
1614
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_COLUMN_NOT_FOUND" | "CARD_TEMPLATE_NOTEBASE_COLUMN_IN_USE" | "PRIMARY_NOTEBASE_COLUMN_DELETE_NOT_ALLOWED" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
909
1615
  reorder: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
910
- tableId: _$zod.ZodUUID;
1616
+ notebaseId: _$zod.ZodUUID;
911
1617
  ids: _$zod.ZodArray<_$zod.ZodUUID>;
912
1618
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
913
1619
  txid: _$zod.ZodNumber;
914
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
1620
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
915
1621
  };
916
- row: {
1622
+ notebaseRow: {
917
1623
  create: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
918
- tableId: _$zod.ZodUUID;
1624
+ notebaseId: _$zod.ZodUUID;
919
1625
  data: _$zod.ZodObject<{
920
1626
  id: _$zod.ZodOptional<_$zod.ZodUUID>;
921
1627
  cells: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
922
1628
  }, _$zod_v4_core0.$strict>;
923
1629
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
924
1630
  txid: _$zod.ZodNumber;
925
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND" | "CELL_VALIDATION_FAILED" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
1631
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND" | "CELL_VALIDATION_FAILED" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
926
1632
  update: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
927
- rowId: _$zod.ZodUUID;
1633
+ notebaseRowId: _$zod.ZodUUID;
928
1634
  data: _$zod.ZodObject<{
929
1635
  cells: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
930
1636
  }, _$zod_v4_core0.$strict>;
931
1637
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
932
1638
  id: _$zod.ZodUUID;
933
- tableId: _$zod.ZodUUID;
1639
+ notebaseId: _$zod.ZodUUID;
934
1640
  cells: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
935
1641
  position: _$zod.ZodNumber;
936
1642
  createdAt: _$zod.ZodDate;
937
1643
  updatedAt: _$zod.ZodDate;
938
1644
  txid: _$zod.ZodNumber;
939
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "ROW_NOT_FOUND" | "CELL_VALIDATION_FAILED">>, Record<never, never>>;
1645
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_ROW_NOT_FOUND" | "CELL_VALIDATION_FAILED">>, Record<never, never>>;
940
1646
  delete: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
941
- rowId: _$zod.ZodUUID;
1647
+ notebaseRowId: _$zod.ZodUUID;
942
1648
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
943
1649
  txid: _$zod.ZodNumber;
944
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "ROW_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
1650
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_ROW_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
945
1651
  reorder: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
946
- tableId: _$zod.ZodUUID;
1652
+ notebaseId: _$zod.ZodUUID;
947
1653
  ids: _$zod.ZodArray<_$zod.ZodUUID>;
948
1654
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
949
1655
  txid: _$zod.ZodNumber;
950
- }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "TABLE_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
1656
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_NOT_FOUND" | "CONCURRENT_POSITION_CONFLICT">>, Record<never, never>>;
1657
+ };
1658
+ srs: {
1659
+ review: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1660
+ cardId: _$zod.ZodUUID;
1661
+ id: _$zod.ZodOptional<_$zod.ZodUUID>;
1662
+ rating: _$zod.ZodEnum<{
1663
+ again: "again";
1664
+ hard: "hard";
1665
+ good: "good";
1666
+ easy: "easy";
1667
+ }>;
1668
+ durationMs: _$zod.ZodNumber;
1669
+ timezone: _$zod.ZodString;
1670
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1671
+ card: _$zod.ZodObject<{
1672
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1673
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1674
+ buriedAt: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1675
+ state: _$zod.ZodEnum<{
1676
+ new: "new";
1677
+ learning: "learning";
1678
+ review: "review";
1679
+ relearning: "relearning";
1680
+ }>;
1681
+ scheduleStatus: _$zod.ZodEnum<{
1682
+ new: "new";
1683
+ learning: "learning";
1684
+ review: "review";
1685
+ suspended: "suspended";
1686
+ buried: "buried";
1687
+ }>;
1688
+ dueAt: _$zod.ZodCoercedDate<unknown>;
1689
+ lastReviewTime: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1690
+ stability: _$zod.ZodNumber;
1691
+ difficulty: _$zod.ZodNumber;
1692
+ step: _$zod.ZodNumber;
1693
+ lapses: _$zod.ZodNumber;
1694
+ reps: _$zod.ZodNumber;
1695
+ id: _$zod.ZodUUID;
1696
+ notebaseId: _$zod.ZodUUID;
1697
+ notebaseRowId: _$zod.ZodUUID;
1698
+ templateId: _$zod.ZodUUID;
1699
+ variantKey: _$zod.ZodString;
1700
+ }, _$zod_v4_core0.$strip>;
1701
+ revlog: _$zod.ZodObject<{
1702
+ id: _$zod.ZodUUID;
1703
+ notebaseId: _$zod.ZodUUID;
1704
+ cardId: _$zod.ZodUUID;
1705
+ rating: _$zod.ZodEnum<{
1706
+ again: "again";
1707
+ hard: "hard";
1708
+ good: "good";
1709
+ easy: "easy";
1710
+ }>;
1711
+ state: _$zod.ZodEnum<{
1712
+ new: "new";
1713
+ learning: "learning";
1714
+ review: "review";
1715
+ relearning: "relearning";
1716
+ }>;
1717
+ afterScheduleStatus: _$zod.ZodEnum<{
1718
+ new: "new";
1719
+ learning: "learning";
1720
+ review: "review";
1721
+ suspended: "suspended";
1722
+ buried: "buried";
1723
+ }>;
1724
+ reviewedAt: _$zod.ZodCoercedDate<unknown>;
1725
+ durationMs: _$zod.ZodNumber;
1726
+ fsrsReviewLogSnapshot: _$zod.ZodObject<{
1727
+ rating: _$zod.ZodUnion<readonly [_$zod.ZodLiteral<1>, _$zod.ZodLiteral<2>, _$zod.ZodLiteral<3>, _$zod.ZodLiteral<4>]>;
1728
+ state: _$zod.ZodUnion<readonly [_$zod.ZodLiteral<0>, _$zod.ZodLiteral<1>, _$zod.ZodLiteral<2>, _$zod.ZodLiteral<3>]>;
1729
+ dueAt: _$zod.ZodString;
1730
+ stability: _$zod.ZodNumber;
1731
+ difficulty: _$zod.ZodNumber;
1732
+ scheduledDays: _$zod.ZodNumber;
1733
+ learningSteps: _$zod.ZodNumber;
1734
+ review: _$zod.ZodString;
1735
+ }, _$zod_v4_core0.$strict>;
1736
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1737
+ }, _$zod_v4_core0.$strip>;
1738
+ txid: _$zod.ZodNumber;
1739
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "CARD_NOT_FOUND" | "CARD_NOT_REVIEWABLE" | "CARD_REVIEW_STATE_STALE">>, Record<never, never>>;
1740
+ rollbackReview: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1741
+ cardId: _$zod.ZodUUID;
1742
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1743
+ card: _$zod.ZodObject<{
1744
+ createdAt: _$zod.ZodCoercedDate<unknown>;
1745
+ updatedAt: _$zod.ZodCoercedDate<unknown>;
1746
+ buriedAt: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1747
+ state: _$zod.ZodEnum<{
1748
+ new: "new";
1749
+ learning: "learning";
1750
+ review: "review";
1751
+ relearning: "relearning";
1752
+ }>;
1753
+ scheduleStatus: _$zod.ZodEnum<{
1754
+ new: "new";
1755
+ learning: "learning";
1756
+ review: "review";
1757
+ suspended: "suspended";
1758
+ buried: "buried";
1759
+ }>;
1760
+ dueAt: _$zod.ZodCoercedDate<unknown>;
1761
+ lastReviewTime: _$zod.ZodNullable<_$zod.ZodCoercedDate<unknown>>;
1762
+ stability: _$zod.ZodNumber;
1763
+ difficulty: _$zod.ZodNumber;
1764
+ step: _$zod.ZodNumber;
1765
+ lapses: _$zod.ZodNumber;
1766
+ reps: _$zod.ZodNumber;
1767
+ id: _$zod.ZodUUID;
1768
+ notebaseId: _$zod.ZodUUID;
1769
+ notebaseRowId: _$zod.ZodUUID;
1770
+ templateId: _$zod.ZodUUID;
1771
+ variantKey: _$zod.ZodString;
1772
+ }, _$zod_v4_core0.$strip>;
1773
+ rolledBackRevlogId: _$zod.ZodUUID;
1774
+ txid: _$zod.ZodNumber;
1775
+ }, _$zod_v4_core0.$strip>, _$_orpc_contract0.MergedErrorMap<_$_orpc_contract0.MergedErrorMap<Record<never, never>, Pick<_$_orpc_contract0.ErrorMap, "NOTEBASE_BETA_RESTRICTED">>, Pick<_$_orpc_contract0.ErrorMap, "CARD_NOT_FOUND" | "CARD_REVIEW_ROLLBACK_UNAVAILABLE">>, Record<never, never>>;
1776
+ };
1777
+ user: {
1778
+ ensureTimezone: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<_$zod.ZodObject<{
1779
+ timezone: _$zod.ZodString;
1780
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1781
+ timezone: _$zod.ZodString;
1782
+ updated: _$zod.ZodBoolean;
1783
+ }, _$zod_v4_core0.$strict>, Record<never, never>, Record<never, never>>;
951
1784
  };
952
1785
  };
953
1786
  type ORPCRouterClient = ContractRouterClient<typeof contract>;
954
1787
  //#endregion
955
- export { BetaAccessStatusInput, BetaAccessStatusInputSchema, BetaAccessStatusOutput, BetaAccessStatusOutputSchema, BetaFeatureKey, BetaFeatureKeySchema, CellValidationFailedData, CellValidationFailedDataSchema, CellValidationFailureDetails, CellValidationFailureDetailsSchema, CellValidationFailureReason, CellValidationFailureReasonSchema, ColumnCreateData, ColumnCreateInput, ColumnCreateInputSchema, ColumnCreateOutput, ColumnCreateOutputSchema, ColumnDeleteInput, ColumnDeleteInputSchema, ColumnDeleteOutput, ColumnDeleteOutputSchema, ColumnReorderInput, ColumnReorderInputSchema, ColumnReorderOutput, ColumnReorderOutputSchema, ColumnUpdateData, ColumnUpdateInput, ColumnUpdateInputSchema, ColumnUpdateOutput, ColumnUpdateOutputSchema, CustomTableCreateData, CustomTableCreateInput, CustomTableCreateInputSchema, CustomTableCreateOutput, CustomTableCreateOutputSchema, CustomTableDeleteInput, CustomTableDeleteInputSchema, CustomTableDeleteOutput, CustomTableDeleteOutputSchema, CustomTableGetInput, CustomTableGetInputSchema, CustomTableGetOutput, CustomTableGetOutputSchema, CustomTableGetSchemaInput, CustomTableGetSchemaInputSchema, CustomTableGetSchemaOutput, CustomTableGetSchemaOutputSchema, CustomTableListInput, CustomTableListInputSchema, CustomTableListItem, CustomTableListItemSchema, CustomTableListOutput, CustomTableListOutputSchema, CustomTableUpdateData, CustomTableUpdateInput, CustomTableUpdateInputSchema, CustomTableUpdateOutput, CustomTableUpdateOutputSchema, ORPCRouterClient, PUBLIC_APP_ERROR_DEFS, PublicAppErrorCode, PublicAppErrorData, RowCreateData, RowCreateInput, RowCreateInputSchema, RowCreateOutput, RowCreateOutputSchema, RowDeleteInput, RowDeleteInputSchema, RowDeleteOutput, RowDeleteOutputSchema, RowReorderInput, RowReorderInputSchema, RowReorderOutput, RowReorderOutputSchema, RowUpdateData, RowUpdateInput, RowUpdateInputSchema, RowUpdateOutput, RowUpdateOutputSchema, TableColumn, TableRow, TableView, TableViewType, ViewConfig, ViewCreateData, ViewFilter, ViewSort, ViewUpdateData, columnCreateDataSchema, columnUpdateDataSchema, columnWidthSchema, contract, customTableCreateDataSchema, customTableUpdateDataSchema, getPublicErrorDefinition, isPublicAppErrorCode, pickPublicErrorMap, rowCellsSchema, rowCreateDataSchema, rowUpdateDataSchema, tableColumnSchema, tableRowSchema, tableViewSchema, tableViewTypeSchema, viewConfigSchema, viewCreateDataSchema, viewFilterSchema, viewFiltersSchema, viewSortSchema, viewSortsSchema, viewUpdateDataSchema };
1788
+ export { BetaAccessStatusInput, BetaAccessStatusInputSchema, BetaAccessStatusOutput, BetaAccessStatusOutputSchema, BetaFeatureKey, BetaFeatureKeySchema, Card, CardGenerateInput, CardGenerateInputSchema, CardGenerateOutput, CardGenerateOutputSchema, CardGetInput, CardGetInputSchema, CardGetOutput, CardGetOutputSchema, CardListInput, CardListInputSchema, CardListOutput, CardListOutputSchema, type CardState, CardTemplate, CardTemplateCreateInput, CardTemplateCreateInputSchema, CardTemplateCreateOutput, CardTemplateCreateOutputSchema, CardTemplateDeleteInput, CardTemplateDeleteInputSchema, CardTemplateDeleteOutput, CardTemplateDeleteOutputSchema, CardTemplateGetInput, CardTemplateGetInputSchema, CardTemplateGetOutput, CardTemplateGetOutputSchema, CardTemplateInvalidColumnsData, CardTemplateInvalidColumnsDataSchema, CardTemplateListInput, CardTemplateListInputSchema, CardTemplateListOutput, CardTemplateListOutputSchema, CardTemplateUpdateInput, CardTemplateUpdateInputSchema, CardTemplateUpdateOutput, CardTemplateUpdateOutputSchema, CellValidationFailedData, CellValidationFailedDataSchema, CellValidationFailureDetails, CellValidationFailureDetailsSchema, CellValidationFailureReason, CellValidationFailureReasonSchema, Notebase, NotebaseColumn, NotebaseColumnCreateData, NotebaseColumnCreateInput, NotebaseColumnCreateInputSchema, NotebaseColumnCreateOutput, NotebaseColumnCreateOutputSchema, NotebaseColumnDeleteInput, NotebaseColumnDeleteInputSchema, NotebaseColumnDeleteOutput, NotebaseColumnDeleteOutputSchema, NotebaseColumnReorderInput, NotebaseColumnReorderInputSchema, NotebaseColumnReorderOutput, NotebaseColumnReorderOutputSchema, NotebaseColumnUpdateData, NotebaseColumnUpdateInput, NotebaseColumnUpdateInputSchema, NotebaseColumnUpdateOutput, NotebaseColumnUpdateOutputSchema, NotebaseCreateData, NotebaseCreateInput, NotebaseCreateInputSchema, NotebaseCreateOutput, NotebaseCreateOutputSchema, NotebaseDeleteInput, NotebaseDeleteInputSchema, NotebaseDeleteOutput, NotebaseDeleteOutputSchema, NotebaseGetInput, NotebaseGetInputSchema, NotebaseGetOutput, NotebaseGetOutputSchema, NotebaseGetSchemaInput, NotebaseGetSchemaInputSchema, NotebaseGetSchemaOutput, NotebaseGetSchemaOutputSchema, NotebaseListInput, NotebaseListInputSchema, NotebaseListItem, NotebaseListItemSchema, NotebaseListOutput, NotebaseListOutputSchema, NotebaseRow, NotebaseRowCreateData, NotebaseRowCreateInput, NotebaseRowCreateInputSchema, NotebaseRowCreateOutput, NotebaseRowCreateOutputSchema, NotebaseRowDeleteInput, NotebaseRowDeleteInputSchema, NotebaseRowDeleteOutput, NotebaseRowDeleteOutputSchema, NotebaseRowReorderInput, NotebaseRowReorderInputSchema, NotebaseRowReorderOutput, NotebaseRowReorderOutputSchema, NotebaseRowUpdateData, NotebaseRowUpdateInput, NotebaseRowUpdateInputSchema, NotebaseRowUpdateOutput, NotebaseRowUpdateOutputSchema, NotebaseUpdateData, NotebaseUpdateInput, NotebaseUpdateInputSchema, NotebaseUpdateOutput, NotebaseUpdateOutputSchema, NotebaseView, NotebaseViewConfig, NotebaseViewCreateData, NotebaseViewFilter, NotebaseViewSort, NotebaseViewType, NotebaseViewUpdateData, ORPCRouterClient, PUBLIC_APP_ERROR_DEFS, PublicAppErrorCode, PublicAppErrorData, RenderedCard, type ReviewRating, SRS_REVIEW_CLIENT_ID_NAMESPACE, SRS_REVIEW_DURATION_MS_MAX, type ScheduleStatus, type SchedulingParams, SrsReviewClientIdCard, SrsReviewInput, SrsReviewOutput, SrsRevlog, SrsRollbackReviewInput, SrsRollbackReviewOutput, Step, type Timezone, UserEnsureTimezoneInput, UserEnsureTimezoneOutput, cardSchema, cardStateSchema, cardTemplateSchema, contract, createSrsReviewClientId, getPublicErrorDefinition, isPublicAppErrorCode, notebaseColumnCreateDataSchema, notebaseColumnSchema, notebaseColumnUpdateDataSchema, notebaseColumnWidthSchema, notebaseCreateDataSchema, notebaseRowCellsSchema, notebaseRowCreateDataSchema, notebaseRowSchema, notebaseRowUpdateDataSchema, notebaseSchema, notebaseUpdateDataSchema, notebaseViewConfigSchema, notebaseViewCreateDataSchema, notebaseViewFilterSchema, notebaseViewFiltersSchema, notebaseViewSchema, notebaseViewSortSchema, notebaseViewSortsSchema, notebaseViewTypeSchema, notebaseViewUpdateDataSchema, pickPublicErrorMap, renderedCardSchema, reviewRatingSchema, scheduleStatusSchema, schedulingParamsSchema, srsReviewInputSchema, srsReviewOutputSchema, srsRevlogSchema, srsRollbackReviewInputSchema, srsRollbackReviewOutputSchema, stepSchema, timezoneSchema, userEnsureTimezoneInputSchema, userEnsureTimezoneOutputSchema };
956
1789
  //# sourceMappingURL=index.d.ts.map