busa-sdk 0.10.2 → 0.10.3

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
@@ -6,6 +6,253 @@ import { z } from 'zod';
6
6
  import * as _orpc_client from '@orpc/client';
7
7
  import * as _orpc_shared from '@orpc/shared';
8
8
 
9
+ /**
10
+ * Unified Grep (P2a files+docs, P2b records) — top-level, domain-agnostic
11
+ * schemas for `POST /grep`. See apps/busabase/content/spec/unified-grep.md.
12
+ *
13
+ * Mirrors how `search`'s schemas live top-level in `contract/schemas.ts`
14
+ * rather than inside a single domain's contract: `grep` composes multiple
15
+ * domains (files, Docs, Base records), so its schemas belong at the same
16
+ * level as `search`'s, not inside `domains/assets/` or `domains/base/`.
17
+ * The internal files scanner and SDK compatibility adapter keep files-only
18
+ * schemas in `domains/assets/types.ts`. This file intentionally reuses only
19
+ * their numeric default/cap constants (same budget language), never their
20
+ * type names (which would collide: `GrepMatchVO` vs `UnifiedGrepMatchVO`).
21
+ *
22
+ * Pure zod — no logic/db imports (client-safe: pulled into the browser
23
+ * bundle and the RN oRPC client's type graph).
24
+ */
25
+
26
+ declare const UnifiedGrepInputSchema: z.ZodObject<{
27
+ pattern: z.ZodString;
28
+ flags: z.ZodDefault<z.ZodOptional<z.ZodString>>;
29
+ sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
30
+ records: "records";
31
+ files: "files";
32
+ docs: "docs";
33
+ }>>>;
34
+ scope: z.ZodOptional<z.ZodObject<{
35
+ files: z.ZodOptional<z.ZodObject<{
36
+ assetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ drivePath: z.ZodOptional<z.ZodString>;
38
+ mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ }, z.core.$strip>>;
40
+ docs: z.ZodOptional<z.ZodObject<{
41
+ nodeIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
+ }, z.core.$strip>>;
43
+ records: z.ZodOptional<z.ZodObject<{
44
+ baseIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
+ baseSlugs: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
+ }, z.core.$strip>>;
47
+ }, z.core.$strip>>;
48
+ maxMatches: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
49
+ contextLines: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
50
+ }, z.core.$strip>;
51
+ /** Caller input before Zod applies grep defaults. */
52
+ type UnifiedGrepInputDTO = z.input<typeof UnifiedGrepInputSchema>;
53
+ declare const UnifiedGrepResultVOSchema: z.ZodObject<{
54
+ matches: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
55
+ line: z.ZodNumber;
56
+ column: z.ZodNumber;
57
+ text: z.ZodString;
58
+ before: z.ZodArray<z.ZodString>;
59
+ after: z.ZodArray<z.ZodString>;
60
+ source: z.ZodLiteral<"files">;
61
+ assetId: z.ZodString;
62
+ fileName: z.ZodString;
63
+ drivePath: z.ZodString;
64
+ }, z.core.$strip>, z.ZodObject<{
65
+ line: z.ZodNumber;
66
+ column: z.ZodNumber;
67
+ text: z.ZodString;
68
+ before: z.ZodArray<z.ZodString>;
69
+ after: z.ZodArray<z.ZodString>;
70
+ source: z.ZodLiteral<"docs">;
71
+ nodeId: z.ZodString;
72
+ slug: z.ZodString;
73
+ name: z.ZodString;
74
+ }, z.core.$strip>, z.ZodObject<{
75
+ line: z.ZodNumber;
76
+ column: z.ZodNumber;
77
+ text: z.ZodString;
78
+ before: z.ZodArray<z.ZodString>;
79
+ after: z.ZodArray<z.ZodString>;
80
+ source: z.ZodLiteral<"records">;
81
+ baseId: z.ZodString;
82
+ baseSlug: z.ZodString;
83
+ recordId: z.ZodString;
84
+ fieldSlug: z.ZodString;
85
+ }, z.core.$strip>], "source">>;
86
+ coverage: z.ZodObject<{
87
+ files: z.ZodObject<{
88
+ scanned: z.ZodNumber;
89
+ missing: z.ZodArray<z.ZodString>;
90
+ stale: z.ZodArray<z.ZodString>;
91
+ unsearchable: z.ZodNumber;
92
+ errored: z.ZodArray<z.ZodString>;
93
+ notReached: z.ZodNumber;
94
+ }, z.core.$strip>;
95
+ docs: z.ZodObject<{
96
+ scanned: z.ZodNumber;
97
+ errored: z.ZodArray<z.ZodString>;
98
+ notReached: z.ZodNumber;
99
+ }, z.core.$strip>;
100
+ records: z.ZodObject<{
101
+ scanned: z.ZodNumber;
102
+ errored: z.ZodArray<z.ZodString>;
103
+ notReached: z.ZodNumber;
104
+ }, z.core.$strip>;
105
+ }, z.core.$strip>;
106
+ truncated: z.ZodBoolean;
107
+ }, z.core.$strip>;
108
+ type UnifiedGrepResultVO = z.infer<typeof UnifiedGrepResultVOSchema>;
109
+
110
+ /**
111
+ * Assets — VO Zod schemas (the contract's output source of truth). Pure zod, no
112
+ * logic/db imports (client-safe). `schema/` holds the PO; these are the VOs the
113
+ * `/assets` library and the "where-used" panel render.
114
+ */
115
+
116
+ /**
117
+ * Derived text-slot status for an Asset (Drive Grep Retrieval). `missing` is
118
+ * the absence of a `busabase_asset_texts` row (no writer has supplied text
119
+ * yet, or a pre-existing asset hasn't been lazily self-healed by a grep call);
120
+ * `present` / `none` / `stale` are the row's own `status` column.
121
+ */
122
+ declare const AssetTextStatusSchema: z.ZodEnum<{
123
+ missing: "missing";
124
+ stale: "stale";
125
+ none: "none";
126
+ present: "present";
127
+ }>;
128
+ type AssetTextStatus = z.infer<typeof AssetTextStatusSchema>;
129
+ /** One library entry: the deduped file + its busabase metadata + usage count. */
130
+ declare const AssetVOSchema: z.ZodObject<{
131
+ id: z.ZodString;
132
+ attachmentId: z.ZodString;
133
+ name: z.ZodString;
134
+ contentKind: z.ZodEnum<{
135
+ text: "text";
136
+ binary: "binary";
137
+ }>;
138
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
139
+ fileName: z.ZodString;
140
+ mimeType: z.ZodString;
141
+ size: z.ZodNumber;
142
+ url: z.ZodString;
143
+ contentHash: z.ZodNullable<z.ZodString>;
144
+ usageCount: z.ZodNumber;
145
+ textStatus: z.ZodEnum<{
146
+ missing: "missing";
147
+ stale: "stale";
148
+ none: "none";
149
+ present: "present";
150
+ }>;
151
+ createdAt: z.ZodString;
152
+ }, z.core.$strip>;
153
+ type AssetVO = z.infer<typeof AssetVOSchema>;
154
+ /** One place an asset is referenced — the row behind "Where Used". */
155
+ declare const AssetUsageVOSchema: z.ZodObject<{
156
+ ownerType: z.ZodEnum<{
157
+ base: "base";
158
+ skill: "skill";
159
+ drive: "drive";
160
+ airapp: "airapp";
161
+ doc: "doc";
162
+ file_node: "file_node";
163
+ }>;
164
+ nodeId: z.ZodString;
165
+ nodeName: z.ZodString;
166
+ nodeType: z.ZodString;
167
+ nodeSlug: z.ZodString;
168
+ path: z.ZodNullable<z.ZodString>;
169
+ recordId: z.ZodNullable<z.ZodString>;
170
+ fieldSlug: z.ZodNullable<z.ZodString>;
171
+ blockId: z.ZodNullable<z.ZodString>;
172
+ createdAt: z.ZodString;
173
+ }, z.core.$strip>;
174
+ type AssetUsageVO = z.infer<typeof AssetUsageVOSchema>;
175
+ /** Asset detail = the library entry plus every place it is used. */
176
+ declare const AssetDetailVOSchema: z.ZodObject<{
177
+ asset: z.ZodObject<{
178
+ id: z.ZodString;
179
+ attachmentId: z.ZodString;
180
+ name: z.ZodString;
181
+ contentKind: z.ZodEnum<{
182
+ text: "text";
183
+ binary: "binary";
184
+ }>;
185
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
186
+ fileName: z.ZodString;
187
+ mimeType: z.ZodString;
188
+ size: z.ZodNumber;
189
+ url: z.ZodString;
190
+ contentHash: z.ZodNullable<z.ZodString>;
191
+ usageCount: z.ZodNumber;
192
+ textStatus: z.ZodEnum<{
193
+ missing: "missing";
194
+ stale: "stale";
195
+ none: "none";
196
+ present: "present";
197
+ }>;
198
+ createdAt: z.ZodString;
199
+ }, z.core.$strip>;
200
+ usages: z.ZodArray<z.ZodObject<{
201
+ ownerType: z.ZodEnum<{
202
+ base: "base";
203
+ skill: "skill";
204
+ drive: "drive";
205
+ airapp: "airapp";
206
+ doc: "doc";
207
+ file_node: "file_node";
208
+ }>;
209
+ nodeId: z.ZodString;
210
+ nodeName: z.ZodString;
211
+ nodeType: z.ZodString;
212
+ nodeSlug: z.ZodString;
213
+ path: z.ZodNullable<z.ZodString>;
214
+ recordId: z.ZodNullable<z.ZodString>;
215
+ fieldSlug: z.ZodNullable<z.ZodString>;
216
+ blockId: z.ZodNullable<z.ZodString>;
217
+ createdAt: z.ZodString;
218
+ }, z.core.$strip>>;
219
+ }, z.core.$strip>;
220
+ type AssetDetailVO = z.infer<typeof AssetDetailVOSchema>;
221
+ /** Files-only grep input used internally and by the SDK's `assets.grep` convenience adapter. */
222
+ declare const GrepInputSchema: z.ZodObject<{
223
+ pattern: z.ZodString;
224
+ flags: z.ZodDefault<z.ZodOptional<z.ZodString>>;
225
+ scope: z.ZodOptional<z.ZodObject<{
226
+ assetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
227
+ drivePath: z.ZodOptional<z.ZodString>;
228
+ mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
229
+ }, z.core.$strip>>;
230
+ maxMatches: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
231
+ contextLines: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
232
+ }, z.core.$strip>;
233
+ /** Caller input before Zod applies defaults. */
234
+ type GrepInputDTO = z.input<typeof GrepInputSchema>;
235
+ declare const GrepResultVOSchema: z.ZodObject<{
236
+ matches: z.ZodArray<z.ZodObject<{
237
+ assetId: z.ZodString;
238
+ fileName: z.ZodString;
239
+ drivePath: z.ZodString;
240
+ line: z.ZodNumber;
241
+ column: z.ZodNumber;
242
+ text: z.ZodString;
243
+ before: z.ZodArray<z.ZodString>;
244
+ after: z.ZodArray<z.ZodString>;
245
+ }, z.core.$strip>>;
246
+ filesScanned: z.ZodNumber;
247
+ missing: z.ZodArray<z.ZodString>;
248
+ stale: z.ZodArray<z.ZodString>;
249
+ unsearchable: z.ZodNumber;
250
+ errored: z.ZodArray<z.ZodString>;
251
+ notReached: z.ZodNumber;
252
+ truncated: z.ZodBoolean;
253
+ }, z.core.$strip>;
254
+ type GrepResultVO = z.infer<typeof GrepResultVOSchema>;
255
+
9
256
  /**
10
257
  * Node-type registry. Each node type is its own module (./folder, ./base,
11
258
  * ./skill, …); this file **registers** them and derives everything else.
@@ -10324,35 +10571,6 @@ declare const cloudContract: {
10324
10571
  storageKey: z.ZodString;
10325
10572
  expiresIn: z.ZodNumber;
10326
10573
  }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
10327
- grep: _orpc_contract.ContractProcedure<z.ZodObject<{
10328
- pattern: z.ZodString;
10329
- flags: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10330
- scope: z.ZodOptional<z.ZodObject<{
10331
- assetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
10332
- drivePath: z.ZodOptional<z.ZodString>;
10333
- mimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
10334
- }, z.core.$strip>>;
10335
- maxMatches: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
10336
- contextLines: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
10337
- }, z.core.$strip>, z.ZodObject<{
10338
- matches: z.ZodArray<z.ZodObject<{
10339
- assetId: z.ZodString;
10340
- fileName: z.ZodString;
10341
- drivePath: z.ZodString;
10342
- line: z.ZodNumber;
10343
- column: z.ZodNumber;
10344
- text: z.ZodString;
10345
- before: z.ZodArray<z.ZodString>;
10346
- after: z.ZodArray<z.ZodString>;
10347
- }, z.core.$strip>>;
10348
- filesScanned: z.ZodNumber;
10349
- missing: z.ZodArray<z.ZodString>;
10350
- stale: z.ZodArray<z.ZodString>;
10351
- unsearchable: z.ZodNumber;
10352
- errored: z.ZodArray<z.ZodString>;
10353
- notReached: z.ZodNumber;
10354
- truncated: z.ZodBoolean;
10355
- }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
10356
10574
  readTextLines: _orpc_contract.ContractProcedure<z.ZodObject<{
10357
10575
  assetId: z.ZodString;
10358
10576
  startLine: z.ZodCoercedNumber<unknown>;
@@ -14388,214 +14606,224 @@ declare const cloudContract: {
14388
14606
  }, z.core.$strip>>;
14389
14607
  nextCursor: z.ZodNullable<z.ZodString>;
14390
14608
  }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
14391
- count: _orpc_contract.ContractProcedure<z.ZodDefault<z.ZodOptional<z.ZodObject<{
14392
- baseId: z.ZodOptional<z.ZodString>;
14393
- }, z.core.$strip>>>, z.ZodObject<{
14394
- total: z.ZodNumber;
14395
- }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
14396
- get: _orpc_contract.ContractProcedure<z.ZodObject<{
14397
- recordId: z.ZodString;
14398
- }, z.core.$strip>, z.ZodObject<{
14399
- id: z.ZodString;
14609
+ listPage: _orpc_contract.ContractProcedure<z.ZodObject<{
14400
14610
  baseId: z.ZodString;
14401
- headCommitId: z.ZodString;
14402
- parentRecordId: z.ZodNullable<z.ZodString>;
14403
- parentCommitId: z.ZodNullable<z.ZodString>;
14404
- status: z.ZodEnum<{
14405
- active: "active";
14406
- archived: "archived";
14407
- }>;
14408
- createdBy: z.ZodString;
14409
- createdByUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
14410
- id: z.ZodString;
14411
- name: z.ZodNullable<z.ZodString>;
14412
- email: z.ZodNullable<z.ZodString>;
14413
- image: z.ZodNullable<z.ZodString>;
14414
- role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14415
- }, z.core.$strip>>>>;
14416
- archivedAt: z.ZodNullable<z.ZodString>;
14417
- createdAt: z.ZodString;
14418
- updatedAt: z.ZodString;
14419
- base: z.ZodObject<{
14611
+ viewId: z.ZodOptional<z.ZodString>;
14612
+ page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
14613
+ pageSize: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
14614
+ }, z.core.$strip>, z.ZodObject<{
14615
+ records: z.ZodArray<z.ZodObject<{
14420
14616
  id: z.ZodString;
14421
- nodeId: z.ZodString;
14422
- slug: z.ZodString;
14423
- name: z.ZodString;
14424
- description: z.ZodString;
14425
- reviewPolicy: z.ZodObject<{
14426
- kind: z.ZodLiteral<"single">;
14427
- requiredApprovals: z.ZodNumber;
14428
- }, z.core.$strip>;
14617
+ baseId: z.ZodString;
14618
+ headCommitId: z.ZodString;
14619
+ parentRecordId: z.ZodNullable<z.ZodString>;
14620
+ parentCommitId: z.ZodNullable<z.ZodString>;
14621
+ status: z.ZodEnum<{
14622
+ active: "active";
14623
+ archived: "archived";
14624
+ }>;
14625
+ createdBy: z.ZodString;
14626
+ createdByUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
14627
+ id: z.ZodString;
14628
+ name: z.ZodNullable<z.ZodString>;
14629
+ email: z.ZodNullable<z.ZodString>;
14630
+ image: z.ZodNullable<z.ZodString>;
14631
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14632
+ }, z.core.$strip>>>>;
14633
+ archivedAt: z.ZodNullable<z.ZodString>;
14429
14634
  createdAt: z.ZodString;
14430
- fields: z.ZodArray<z.ZodObject<{
14635
+ updatedAt: z.ZodString;
14636
+ base: z.ZodObject<{
14431
14637
  id: z.ZodString;
14432
- baseId: z.ZodString;
14638
+ nodeId: z.ZodString;
14433
14639
  slug: z.ZodString;
14434
- name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
14435
- en: "en";
14436
- "zh-CN": "zh-CN";
14437
- "zh-TW": "zh-TW";
14438
- ja: "ja";
14439
- ko: "ko";
14440
- de: "de";
14441
- fr: "fr";
14442
- es: "es";
14443
- pt: "pt";
14444
- }> & z.core.$partial, z.ZodString>]>;
14445
- type: z.ZodEnum<{
14446
- number: "number";
14447
- email: "email";
14448
- date: "date";
14449
- text: "text";
14450
- whiteboard: "whiteboard";
14451
- html: "html";
14452
- longtext: "longtext";
14453
- markdown: "markdown";
14454
- attachment: "attachment";
14455
- relation: "relation";
14456
- checkbox: "checkbox";
14457
- select: "select";
14458
- multiselect: "multiselect";
14459
- url: "url";
14460
- embed: "embed";
14461
- phone: "phone";
14462
- created_time: "created_time";
14463
- updated_time: "updated_time";
14464
- created_by: "created_by";
14465
- updated_by: "updated_by";
14466
- auto_number: "auto_number";
14467
- ai_summary: "ai_summary";
14468
- ai_tags: "ai_tags";
14469
- code: "code";
14470
- json: "json";
14471
- yaml: "yaml";
14472
- formula: "formula";
14473
- lookup: "lookup";
14474
- }>;
14475
- required: z.ZodBoolean;
14476
- position: z.ZodNumber;
14477
- options: z.ZodDefault<z.ZodObject<{
14478
- ai: z.ZodOptional<z.ZodObject<{
14479
- model: z.ZodOptional<z.ZodString>;
14480
- prompt: z.ZodOptional<z.ZodString>;
14481
- reviewRequired: z.ZodOptional<z.ZodBoolean>;
14482
- sourceFieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
14483
- }, z.core.$strip>>;
14484
- attachment: z.ZodOptional<z.ZodObject<{
14485
- maxFiles: z.ZodOptional<z.ZodNumber>;
14486
- allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
14487
- maxFileSize: z.ZodOptional<z.ZodNumber>;
14488
- }, z.core.$strip>>;
14489
- choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
14490
- color: z.ZodOptional<z.ZodString>;
14491
- id: z.ZodString;
14492
- name: z.ZodString;
14493
- }, z.core.$strip>>>;
14494
- code: z.ZodOptional<z.ZodObject<{
14495
- language: z.ZodOptional<z.ZodString>;
14496
- }, z.core.$strip>>;
14497
- embed: z.ZodOptional<z.ZodObject<{
14498
- aspectRatio: z.ZodOptional<z.ZodEnum<{
14499
- "16:9": "16:9";
14500
- "4:3": "4:3";
14501
- "1:1": "1:1";
14502
- }>>;
14503
- height: z.ZodOptional<z.ZodNumber>;
14504
- providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
14505
- }, z.core.$strip>>;
14506
- formula: z.ZodOptional<z.ZodObject<{
14507
- expression: z.ZodString;
14508
- }, z.core.$strip>>;
14509
- inverseFieldId: z.ZodOptional<z.ZodString>;
14510
- lookup: z.ZodOptional<z.ZodObject<{
14511
- relationFieldSlug: z.ZodString;
14512
- targetFieldSlug: z.ZodString;
14513
- rollup: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
14514
- values: "values";
14515
- count: "count";
14516
- sum: "sum";
14517
- average: "average";
14518
- min: "min";
14519
- max: "max";
14520
- concatenate: "concatenate";
14521
- }>>>;
14522
- limit: z.ZodOptional<z.ZodEnum<{
14523
- all: "all";
14524
- first: "first";
14525
- }>>;
14526
- }, z.core.$strip>>;
14527
- multiple: z.ZodOptional<z.ZodBoolean>;
14528
- number: z.ZodOptional<z.ZodObject<{
14529
- format: z.ZodOptional<z.ZodEnum<{
14530
- plain: "plain";
14531
- currency: "currency";
14532
- }>>;
14533
- currency: z.ZodOptional<z.ZodString>;
14534
- locale: z.ZodOptional<z.ZodString>;
14640
+ name: z.ZodString;
14641
+ description: z.ZodString;
14642
+ reviewPolicy: z.ZodObject<{
14643
+ kind: z.ZodLiteral<"single">;
14644
+ requiredApprovals: z.ZodNumber;
14645
+ }, z.core.$strip>;
14646
+ createdAt: z.ZodString;
14647
+ fields: z.ZodArray<z.ZodObject<{
14648
+ id: z.ZodString;
14649
+ baseId: z.ZodString;
14650
+ slug: z.ZodString;
14651
+ name: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodEnum<{
14652
+ en: "en";
14653
+ "zh-CN": "zh-CN";
14654
+ "zh-TW": "zh-TW";
14655
+ ja: "ja";
14656
+ ko: "ko";
14657
+ de: "de";
14658
+ fr: "fr";
14659
+ es: "es";
14660
+ pt: "pt";
14661
+ }> & z.core.$partial, z.ZodString>]>;
14662
+ type: z.ZodEnum<{
14663
+ number: "number";
14664
+ email: "email";
14665
+ date: "date";
14666
+ text: "text";
14667
+ whiteboard: "whiteboard";
14668
+ html: "html";
14669
+ longtext: "longtext";
14670
+ markdown: "markdown";
14671
+ attachment: "attachment";
14672
+ relation: "relation";
14673
+ checkbox: "checkbox";
14674
+ select: "select";
14675
+ multiselect: "multiselect";
14676
+ url: "url";
14677
+ embed: "embed";
14678
+ phone: "phone";
14679
+ created_time: "created_time";
14680
+ updated_time: "updated_time";
14681
+ created_by: "created_by";
14682
+ updated_by: "updated_by";
14683
+ auto_number: "auto_number";
14684
+ ai_summary: "ai_summary";
14685
+ ai_tags: "ai_tags";
14686
+ code: "code";
14687
+ json: "json";
14688
+ yaml: "yaml";
14689
+ formula: "formula";
14690
+ lookup: "lookup";
14691
+ }>;
14692
+ required: z.ZodBoolean;
14693
+ position: z.ZodNumber;
14694
+ options: z.ZodDefault<z.ZodObject<{
14695
+ ai: z.ZodOptional<z.ZodObject<{
14696
+ model: z.ZodOptional<z.ZodString>;
14697
+ prompt: z.ZodOptional<z.ZodString>;
14698
+ reviewRequired: z.ZodOptional<z.ZodBoolean>;
14699
+ sourceFieldIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
14700
+ }, z.core.$strip>>;
14701
+ attachment: z.ZodOptional<z.ZodObject<{
14702
+ maxFiles: z.ZodOptional<z.ZodNumber>;
14703
+ allowedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString>>;
14704
+ maxFileSize: z.ZodOptional<z.ZodNumber>;
14705
+ }, z.core.$strip>>;
14706
+ choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
14707
+ color: z.ZodOptional<z.ZodString>;
14708
+ id: z.ZodString;
14709
+ name: z.ZodString;
14710
+ }, z.core.$strip>>>;
14711
+ code: z.ZodOptional<z.ZodObject<{
14712
+ language: z.ZodOptional<z.ZodString>;
14713
+ }, z.core.$strip>>;
14714
+ embed: z.ZodOptional<z.ZodObject<{
14715
+ aspectRatio: z.ZodOptional<z.ZodEnum<{
14716
+ "16:9": "16:9";
14717
+ "4:3": "4:3";
14718
+ "1:1": "1:1";
14719
+ }>>;
14720
+ height: z.ZodOptional<z.ZodNumber>;
14721
+ providers: z.ZodOptional<z.ZodArray<z.ZodString>>;
14722
+ }, z.core.$strip>>;
14723
+ formula: z.ZodOptional<z.ZodObject<{
14724
+ expression: z.ZodString;
14725
+ }, z.core.$strip>>;
14726
+ inverseFieldId: z.ZodOptional<z.ZodString>;
14727
+ lookup: z.ZodOptional<z.ZodObject<{
14728
+ relationFieldSlug: z.ZodString;
14729
+ targetFieldSlug: z.ZodString;
14730
+ rollup: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
14731
+ values: "values";
14732
+ count: "count";
14733
+ sum: "sum";
14734
+ average: "average";
14735
+ min: "min";
14736
+ max: "max";
14737
+ concatenate: "concatenate";
14738
+ }>>>;
14739
+ limit: z.ZodOptional<z.ZodEnum<{
14740
+ all: "all";
14741
+ first: "first";
14742
+ }>>;
14743
+ }, z.core.$strip>>;
14744
+ multiple: z.ZodOptional<z.ZodBoolean>;
14745
+ number: z.ZodOptional<z.ZodObject<{
14746
+ format: z.ZodOptional<z.ZodEnum<{
14747
+ plain: "plain";
14748
+ currency: "currency";
14749
+ }>>;
14750
+ currency: z.ZodOptional<z.ZodString>;
14751
+ locale: z.ZodOptional<z.ZodString>;
14752
+ }, z.core.$strip>>;
14753
+ targetBaseId: z.ZodOptional<z.ZodString>;
14754
+ targetBaseSlug: z.ZodOptional<z.ZodString>;
14535
14755
  }, z.core.$strip>>;
14536
- targetBaseId: z.ZodOptional<z.ZodString>;
14537
- targetBaseSlug: z.ZodOptional<z.ZodString>;
14538
14756
  }, z.core.$strip>>;
14539
- }, z.core.$strip>>;
14540
- }, z.core.$strip>;
14541
- headCommit: z.ZodObject<{
14542
- id: z.ZodString;
14543
- baseId: z.ZodNullable<z.ZodString>;
14544
- targetType: z.ZodEnum<{
14545
- base: "base";
14546
- node: "node";
14547
- }>;
14548
- nodeId: z.ZodNullable<z.ZodString>;
14549
- operationId: z.ZodNullable<z.ZodString>;
14550
- parentCommitId: z.ZodNullable<z.ZodString>;
14551
- fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14552
- operation: z.ZodEnum<{
14553
- [x: `${string}_file_create`]: `${string}_file_create`;
14554
- [x: `${string}_file_update`]: `${string}_file_update`;
14555
- [x: `${string}_file_delete`]: `${string}_file_delete`;
14556
- [x: `${string}_metadata_update`]: `${string}_metadata_update`;
14557
- record_create: "record_create";
14558
- record_update: "record_update";
14559
- record_delete: "record_delete";
14560
- record_variant: "record_variant";
14561
- view_create: "view_create";
14562
- view_update: "view_update";
14563
- view_delete: "view_delete";
14564
- view_restore: "view_restore";
14565
- base_add_field: "base_add_field";
14566
- base_delete_field: "base_delete_field";
14567
- base_update_field: "base_update_field";
14568
- base_convert_field: "base_convert_field";
14569
- base_reorder_fields: "base_reorder_fields";
14570
- base_restore_field: "base_restore_field";
14571
- base_archive: "base_archive";
14572
- base_restore: "base_restore";
14573
- record_restore: "record_restore";
14574
- doc_update: "doc_update";
14575
- node_create: "node_create";
14576
- node_rename: "node_rename";
14577
- node_delete: "node_delete";
14578
- node_restore: "node_restore";
14579
- node_move: "node_move";
14580
- }>;
14581
- message: z.ZodString;
14582
- author: z.ZodString;
14583
- authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
14757
+ }, z.core.$strip>;
14758
+ headCommit: z.ZodObject<{
14584
14759
  id: z.ZodString;
14585
- name: z.ZodNullable<z.ZodString>;
14586
- email: z.ZodNullable<z.ZodString>;
14587
- image: z.ZodNullable<z.ZodString>;
14588
- role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14589
- }, z.core.$strip>>>>;
14590
- createdAt: z.ZodString;
14591
- }, z.core.$strip>;
14760
+ baseId: z.ZodNullable<z.ZodString>;
14761
+ targetType: z.ZodEnum<{
14762
+ base: "base";
14763
+ node: "node";
14764
+ }>;
14765
+ nodeId: z.ZodNullable<z.ZodString>;
14766
+ operationId: z.ZodNullable<z.ZodString>;
14767
+ parentCommitId: z.ZodNullable<z.ZodString>;
14768
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
14769
+ operation: z.ZodEnum<{
14770
+ [x: `${string}_file_create`]: `${string}_file_create`;
14771
+ [x: `${string}_file_update`]: `${string}_file_update`;
14772
+ [x: `${string}_file_delete`]: `${string}_file_delete`;
14773
+ [x: `${string}_metadata_update`]: `${string}_metadata_update`;
14774
+ record_create: "record_create";
14775
+ record_update: "record_update";
14776
+ record_delete: "record_delete";
14777
+ record_variant: "record_variant";
14778
+ view_create: "view_create";
14779
+ view_update: "view_update";
14780
+ view_delete: "view_delete";
14781
+ view_restore: "view_restore";
14782
+ base_add_field: "base_add_field";
14783
+ base_delete_field: "base_delete_field";
14784
+ base_update_field: "base_update_field";
14785
+ base_convert_field: "base_convert_field";
14786
+ base_reorder_fields: "base_reorder_fields";
14787
+ base_restore_field: "base_restore_field";
14788
+ base_archive: "base_archive";
14789
+ base_restore: "base_restore";
14790
+ record_restore: "record_restore";
14791
+ doc_update: "doc_update";
14792
+ node_create: "node_create";
14793
+ node_rename: "node_rename";
14794
+ node_delete: "node_delete";
14795
+ node_restore: "node_restore";
14796
+ node_move: "node_move";
14797
+ }>;
14798
+ message: z.ZodString;
14799
+ author: z.ZodString;
14800
+ authorUser: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
14801
+ id: z.ZodString;
14802
+ name: z.ZodNullable<z.ZodString>;
14803
+ email: z.ZodNullable<z.ZodString>;
14804
+ image: z.ZodNullable<z.ZodString>;
14805
+ role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14806
+ }, z.core.$strip>>>>;
14807
+ createdAt: z.ZodString;
14808
+ }, z.core.$strip>;
14809
+ }, z.core.$strip>>;
14810
+ total: z.ZodNumber;
14811
+ totalPages: z.ZodNumber;
14812
+ page: z.ZodNumber;
14813
+ pageSize: z.ZodNumber;
14592
14814
  }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
14593
- search: _orpc_contract.ContractProcedure<z.ZodObject<{
14815
+ count: _orpc_contract.ContractProcedure<z.ZodDefault<z.ZodOptional<z.ZodObject<{
14594
14816
  baseId: z.ZodOptional<z.ZodString>;
14817
+ }, z.core.$strip>>>, z.ZodObject<{
14818
+ total: z.ZodNumber;
14819
+ }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
14820
+ get: _orpc_contract.ContractProcedure<z.ZodUnion<readonly [z.ZodObject<{
14821
+ recordId: z.ZodString;
14822
+ }, z.core.$strict>, z.ZodObject<{
14823
+ baseId: z.ZodString;
14595
14824
  fieldSlug: z.ZodString;
14596
14825
  valueText: z.ZodString;
14597
- limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
14598
- }, z.core.$strip>, z.ZodArray<z.ZodObject<{
14826
+ }, z.core.$strict>]>, z.ZodObject<{
14599
14827
  id: z.ZodString;
14600
14828
  baseId: z.ZodString;
14601
14829
  headCommitId: z.ZodString;
@@ -14789,12 +15017,22 @@ declare const cloudContract: {
14789
15017
  }, z.core.$strip>>>>;
14790
15018
  createdAt: z.ZodString;
14791
15019
  }, z.core.$strip>;
14792
- }, z.core.$strip>>, _orpc_contract.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
14793
- getByField: _orpc_contract.ContractProcedure<z.ZodObject<{
14794
- baseId: z.ZodString;
15020
+ }, z.core.$strip>, _orpc_contract.MergedErrorMap<Record<never, never>, _orpc_contract.MergedErrorMap<Record<never, never>, {
15021
+ BAD_REQUEST: {
15022
+ status: number;
15023
+ message: string;
15024
+ };
15025
+ NOT_FOUND: {
15026
+ status: number;
15027
+ message: string;
15028
+ };
15029
+ }>>, Record<never, never>>;
15030
+ search: _orpc_contract.ContractProcedure<z.ZodObject<{
15031
+ baseId: z.ZodOptional<z.ZodString>;
14795
15032
  fieldSlug: z.ZodString;
14796
15033
  valueText: z.ZodString;
14797
- }, z.core.$strip>, z.ZodNullable<z.ZodObject<{
15034
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
15035
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
14798
15036
  id: z.ZodString;
14799
15037
  baseId: z.ZodString;
14800
15038
  headCommitId: z.ZodString;
@@ -16559,6 +16797,12 @@ declare const cloudContract: {
16559
16797
  };
16560
16798
  type CloudContract = typeof cloudContract;
16561
16799
 
16800
+ /**
16801
+ * Normalize a user-supplied base URL to the server root. The API contract
16802
+ * already carries `/api/v1`, so accept either form and strip the suffix.
16803
+ */
16804
+ declare function normalizeBaseUrl(raw: string): string;
16805
+
16562
16806
  /**
16563
16807
  * The fully-typed Busabase client. Built over the *cloud* contract, which is a
16564
16808
  * strict superset of the OSS workbench contract (it adds the cloud-only `/api/v1`
@@ -16615,12 +16859,6 @@ interface ResolvedConfig {
16615
16859
  headers?: BusabaseConfig["headers"];
16616
16860
  fetch?: typeof fetch;
16617
16861
  }
16618
- /**
16619
- * Normalise a user-supplied base URL to the server root. The contract already
16620
- * carries the `/api/v1` prefix (`OpenAPILink` appends it), so accept either form
16621
- * (`http://host` or `http://host/api/v1`) and strip the suffix if present.
16622
- */
16623
- declare function normalizeBaseUrl(raw: string): string;
16624
16862
  /** Fill in missing config fields from environment variables and defaults. */
16625
16863
  declare function resolveConfig(config?: BusabaseConfig): ResolvedConfig;
16626
16864
  /**
@@ -16648,6 +16886,15 @@ declare function resolveConfig(config?: BusabaseConfig): ResolvedConfig;
16648
16886
  */
16649
16887
  declare function createBusabaseClient(config?: BusabaseConfig): BusabaseClient;
16650
16888
 
16889
+ /** The SDK keeps the familiar files-only helper without keeping a second HTTP operation. */
16890
+ type BusabaseAssetsClient = BusabaseClient["assets"] & {
16891
+ grep(input: GrepInputDTO): Promise<GrepResultVO>;
16892
+ };
16893
+ declare const toUnifiedFilesGrepInput: (input: GrepInputDTO) => UnifiedGrepInputDTO;
16894
+ declare const toFilesOnlyGrepResult: (result: UnifiedGrepResultVO) => GrepResultVO;
16895
+ /** Call unified grep as files-only while preserving the former asset helper result shape. */
16896
+ declare const grepAssets: (client: Pick<BusabaseClient, "grep">, input: GrepInputDTO) => Promise<GrepResultVO>;
16897
+
16651
16898
  /**
16652
16899
  * Attachments — DTO/VO Zod schemas + inferred types (the contract's type source
16653
16900
  * of truth). `schema/` is reserved for DB (PO); DTO/VO live here.
@@ -18284,118 +18531,6 @@ interface FileTreeReadFileVO {
18284
18531
  contentHash: string;
18285
18532
  }
18286
18533
 
18287
- /**
18288
- * Assets — VO Zod schemas (the contract's output source of truth). Pure zod, no
18289
- * logic/db imports (client-safe). `schema/` holds the PO; these are the VOs the
18290
- * `/assets` library and the "where-used" panel render.
18291
- */
18292
-
18293
- /**
18294
- * Derived text-slot status for an Asset (Drive Grep Retrieval). `missing` is
18295
- * the absence of a `busabase_asset_texts` row (no writer has supplied text
18296
- * yet, or a pre-existing asset hasn't been lazily self-healed by a grep call);
18297
- * `present` / `none` / `stale` are the row's own `status` column.
18298
- */
18299
- declare const AssetTextStatusSchema: z.ZodEnum<{
18300
- missing: "missing";
18301
- stale: "stale";
18302
- none: "none";
18303
- present: "present";
18304
- }>;
18305
- type AssetTextStatus = z.infer<typeof AssetTextStatusSchema>;
18306
- /** One library entry: the deduped file + its busabase metadata + usage count. */
18307
- declare const AssetVOSchema: z.ZodObject<{
18308
- id: z.ZodString;
18309
- attachmentId: z.ZodString;
18310
- name: z.ZodString;
18311
- contentKind: z.ZodEnum<{
18312
- text: "text";
18313
- binary: "binary";
18314
- }>;
18315
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18316
- fileName: z.ZodString;
18317
- mimeType: z.ZodString;
18318
- size: z.ZodNumber;
18319
- url: z.ZodString;
18320
- contentHash: z.ZodNullable<z.ZodString>;
18321
- usageCount: z.ZodNumber;
18322
- textStatus: z.ZodEnum<{
18323
- missing: "missing";
18324
- stale: "stale";
18325
- none: "none";
18326
- present: "present";
18327
- }>;
18328
- createdAt: z.ZodString;
18329
- }, z.core.$strip>;
18330
- type AssetVO = z.infer<typeof AssetVOSchema>;
18331
- /** One place an asset is referenced — the row behind "Where Used". */
18332
- declare const AssetUsageVOSchema: z.ZodObject<{
18333
- ownerType: z.ZodEnum<{
18334
- base: "base";
18335
- skill: "skill";
18336
- drive: "drive";
18337
- airapp: "airapp";
18338
- doc: "doc";
18339
- file_node: "file_node";
18340
- }>;
18341
- nodeId: z.ZodString;
18342
- nodeName: z.ZodString;
18343
- nodeType: z.ZodString;
18344
- nodeSlug: z.ZodString;
18345
- path: z.ZodNullable<z.ZodString>;
18346
- recordId: z.ZodNullable<z.ZodString>;
18347
- fieldSlug: z.ZodNullable<z.ZodString>;
18348
- blockId: z.ZodNullable<z.ZodString>;
18349
- createdAt: z.ZodString;
18350
- }, z.core.$strip>;
18351
- type AssetUsageVO = z.infer<typeof AssetUsageVOSchema>;
18352
- /** Asset detail = the library entry plus every place it is used. */
18353
- declare const AssetDetailVOSchema: z.ZodObject<{
18354
- asset: z.ZodObject<{
18355
- id: z.ZodString;
18356
- attachmentId: z.ZodString;
18357
- name: z.ZodString;
18358
- contentKind: z.ZodEnum<{
18359
- text: "text";
18360
- binary: "binary";
18361
- }>;
18362
- metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18363
- fileName: z.ZodString;
18364
- mimeType: z.ZodString;
18365
- size: z.ZodNumber;
18366
- url: z.ZodString;
18367
- contentHash: z.ZodNullable<z.ZodString>;
18368
- usageCount: z.ZodNumber;
18369
- textStatus: z.ZodEnum<{
18370
- missing: "missing";
18371
- stale: "stale";
18372
- none: "none";
18373
- present: "present";
18374
- }>;
18375
- createdAt: z.ZodString;
18376
- }, z.core.$strip>;
18377
- usages: z.ZodArray<z.ZodObject<{
18378
- ownerType: z.ZodEnum<{
18379
- base: "base";
18380
- skill: "skill";
18381
- drive: "drive";
18382
- airapp: "airapp";
18383
- doc: "doc";
18384
- file_node: "file_node";
18385
- }>;
18386
- nodeId: z.ZodString;
18387
- nodeName: z.ZodString;
18388
- nodeType: z.ZodString;
18389
- nodeSlug: z.ZodString;
18390
- path: z.ZodNullable<z.ZodString>;
18391
- recordId: z.ZodNullable<z.ZodString>;
18392
- fieldSlug: z.ZodNullable<z.ZodString>;
18393
- blockId: z.ZodNullable<z.ZodString>;
18394
- createdAt: z.ZodString;
18395
- }, z.core.$strip>>;
18396
- }, z.core.$strip>;
18397
- type AssetDetailVO = z.infer<typeof AssetDetailVOSchema>;
18398
-
18399
18534
  declare const FileNodeMetadataSchema: z.ZodObject<{
18400
18535
  assetId: z.ZodString;
18401
18536
  }, z.core.$strip>;
@@ -18799,6 +18934,21 @@ interface AuditEventVO {
18799
18934
  createdAt: string;
18800
18935
  }
18801
18936
 
18937
+ interface RecordByFieldInput {
18938
+ baseId: string;
18939
+ fieldSlug: string;
18940
+ valueText: string;
18941
+ }
18942
+ /** The SDK retains the former field-addressed helper over the canonical get operation. */
18943
+ type BusabaseRecordsClient = BusabaseClient["records"] & {
18944
+ getByField(input: RecordByFieldInput): Promise<RecordVO | null>;
18945
+ };
18946
+ /**
18947
+ * Preserve the former nullable SDK result while the canonical REST operation
18948
+ * consistently reports a missing record as 404 for either selector mode.
18949
+ */
18950
+ declare const getRecordByField: (client: Pick<BusabaseClient, "records">, input: RecordByFieldInput) => Promise<RecordVO | null>;
18951
+
18802
18952
  /**
18803
18953
  * Ergonomic entry point to the Busabase API — a thin, fully-typed wrapper around
18804
18954
  * {@link createBusabaseClient}. Prefer this when you want a single object with
@@ -18826,7 +18976,7 @@ declare class Busabase {
18826
18976
  readonly config: ResolvedConfig;
18827
18977
  constructor(config?: BusabaseConfig);
18828
18978
  get bases(): BusabaseClient["bases"];
18829
- get records(): BusabaseClient["records"];
18979
+ get records(): BusabaseRecordsClient;
18830
18980
  get views(): BusabaseClient["views"];
18831
18981
  get changeRequests(): BusabaseClient["changeRequests"];
18832
18982
  get operations(): BusabaseClient["operations"];
@@ -18834,7 +18984,7 @@ declare class Busabase {
18834
18984
  get comments(): BusabaseClient["comments"];
18835
18985
  get auditEvents(): BusabaseClient["auditEvents"];
18836
18986
  get agent(): BusabaseClient["agent"];
18837
- get assets(): BusabaseClient["assets"];
18987
+ get assets(): BusabaseAssetsClient;
18838
18988
  /** Skills, Drives, and AirApps — one surface, discriminated by `type`. */
18839
18989
  get fileTrees(): BusabaseClient["fileTrees"];
18840
18990
  get files(): BusabaseClient["files"];
@@ -18864,10 +19014,8 @@ declare class Busabase {
18864
19014
  * source (Drive/Skill files, Doc bodies, and Base records — records read
18865
19015
  * the canonical `headCommit.fields`, never the truncated search
18866
19016
  * projection), with a shared `maxMatches`/deadline budget and per-source
18867
- * honest coverage. Use this when the answer could live anywhere; use
18868
- * `client.assets.grep` directly instead when you specifically only care
18869
- * about files and want its fuller `missing`/`stale`/`unsearchable`
18870
- * file-only reporting.
19017
+ * honest coverage. `bb.assets.grep` remains available as a files-only SDK
19018
+ * convenience and delegates here with `sources: ["files"]`.
18871
19019
  */
18872
19020
  grep(input: Parameters<BusabaseClient["grep"]>[0]): _orpc_client.ClientPromiseResult<{
18873
19021
  matches: ({
@@ -18960,4 +19108,4 @@ declare class Busabase {
18960
19108
  }>>>>;
18961
19109
  }
18962
19110
 
18963
- export { type ActivityItemVO, type AgentTaskVO, type FileTreeFileVO as AirAppFileVO, type FileTreeReadFileVO as AirAppReadFileVO, type FileTreeNodeVO as AirAppVO, type AssetAttachmentRef, type AssetDetailVO, type AssetTextStatus, type AssetUsageVO, type AssetVO, type AttachmentRef, type AuditAction, type AuditEventVO, type BaseFieldVO, type BaseVO, Busabase, type BusabaseClient, type BusabaseConfig, CREATABLE_NODE_TYPES, type ChangeRequestBatchResultVO, type ChangeRequestCountsVO, type ChangeRequestStatus, type ChangeRequestTargetType, type ChangeRequestVO, type CloudContract, type CommentSubjectType, type CommentVO, type CommitVO, type CreatableNodeType, type CreateFormDTO, DEFAULT_BASE_URL, type FileTreeFileVO as DriveFileVO, type FileTreeReadFileVO as DriveReadFileVO, type FileTreeNodeVO as DriveVO, type FieldType, type FileNodeMetadata, type FileNodeVO, type FileTreeFileVO, type FileTreeNodeVO, type FileTreeReadFileVO, type FormFieldBindingVO, type FormPageSourceVO, type FormShareVO, type FormSubmitResultVO, type FormThemeVO, type FormVO, type GalleryCardSize, type GalleryCoverFit, type GanttScale, type LookupRollup, type NodeSearchResultVO, type NodeType, type NodeVO, type OperationKind, type OperationStatus, type OperationVO, type RecordLinkVO, type RecordVO, type ResolvedConfig, type ReviewVO, type ReviewVerdict, type SearchResponseVO, type SearchResultKind, type SearchResultVO, type FileTreeFileVO as SkillFileVO, type FileTreeReadFileVO as SkillReadFileVO, type FileTreeNodeVO as SkillVO, type SubmitFormDTO, type UpdateFormDTO, type UpdateVaultSettingsDTO, type UserRefVO, VIEW_FIELD_MAX_WIDTH, VIEW_FIELD_MIN_WIDTH, type VaultAccessPolicy, type VaultEnvironment, type VaultItemInput, type VaultItemKind, type VaultItemVO, type VaultRuntimeEnv, type VaultScopeType, type VaultSettingsVO, type ViewConfigVO, type ViewFilterOperator, type ViewFilterVO, type ViewSortVO, type ViewType, type ViewVO, cloudContract, createBusabaseClient, normalizeBaseUrl, resolveConfig };
19111
+ export { type ActivityItemVO, type AgentTaskVO, type FileTreeFileVO as AirAppFileVO, type FileTreeReadFileVO as AirAppReadFileVO, type FileTreeNodeVO as AirAppVO, type AssetAttachmentRef, type AssetDetailVO, type AssetTextStatus, type AssetUsageVO, type AssetVO, type AttachmentRef, type AuditAction, type AuditEventVO, type BaseFieldVO, type BaseVO, Busabase, type BusabaseAssetsClient, type BusabaseClient, type BusabaseConfig, type BusabaseRecordsClient, CREATABLE_NODE_TYPES, type ChangeRequestBatchResultVO, type ChangeRequestCountsVO, type ChangeRequestStatus, type ChangeRequestTargetType, type ChangeRequestVO, type CloudContract, type CommentSubjectType, type CommentVO, type CommitVO, type CreatableNodeType, type CreateFormDTO, DEFAULT_BASE_URL, type FileTreeFileVO as DriveFileVO, type FileTreeReadFileVO as DriveReadFileVO, type FileTreeNodeVO as DriveVO, type FieldType, type FileNodeMetadata, type FileNodeVO, type FileTreeFileVO, type FileTreeNodeVO, type FileTreeReadFileVO, type FormFieldBindingVO, type FormPageSourceVO, type FormShareVO, type FormSubmitResultVO, type FormThemeVO, type FormVO, type GalleryCardSize, type GalleryCoverFit, type GanttScale, type LookupRollup, type NodeSearchResultVO, type NodeType, type NodeVO, type OperationKind, type OperationStatus, type OperationVO, type RecordByFieldInput, type RecordLinkVO, type RecordVO, type ResolvedConfig, type ReviewVO, type ReviewVerdict, type SearchResponseVO, type SearchResultKind, type SearchResultVO, type FileTreeFileVO as SkillFileVO, type FileTreeReadFileVO as SkillReadFileVO, type FileTreeNodeVO as SkillVO, type SubmitFormDTO, type UpdateFormDTO, type UpdateVaultSettingsDTO, type UserRefVO, VIEW_FIELD_MAX_WIDTH, VIEW_FIELD_MIN_WIDTH, type VaultAccessPolicy, type VaultEnvironment, type VaultItemInput, type VaultItemKind, type VaultItemVO, type VaultRuntimeEnv, type VaultScopeType, type VaultSettingsVO, type ViewConfigVO, type ViewFilterOperator, type ViewFilterVO, type ViewSortVO, type ViewType, type ViewVO, cloudContract, createBusabaseClient, getRecordByField, grepAssets, normalizeBaseUrl, resolveConfig, toFilesOnlyGrepResult, toUnifiedFilesGrepInput };