@interactive-inc/docs-client 1.0.12 → 1.0.14
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/build/index.d.ts +9 -5
- package/build/index.js +1 -11
- package/build/models.d.ts +10 -11
- package/build/models.js +1 -5
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { zDocFileMd, zDocFileUnknown, zDocClientConfig, zDocFilePath, zDocFileIndexSchemaField, zDocSchemaFieldText, zDocSchemaFieldNumber, zDocSchemaFieldBoolean, zDocSchemaFieldRelation, zDocSchemaFieldSelectText, zDocSchemaFieldSelectNumber, zDocSchemaFieldMultiText, zDocSchemaFieldMultiNumber, zDocSchemaFieldMultiRelation, zDocSchemaFieldMultiSelectText, zDocSchemaFieldMultiSelectNumber, zDocRelation, zDocRelationFile, zDocMetaFieldRelation, zDocMetaFieldMultiRelation, zDocMetaFieldText, zDocMetaFieldNumber, zDocMetaFieldBoolean, zDocMetaFieldMultiText, zDocMetaFieldMultiNumber,
|
|
2
|
+
import { zDocFileMd, zDocFileUnknown, zDocClientConfig, zDocFilePath, zDocFileIndexSchemaField, zDocSchemaFieldText, zDocSchemaFieldNumber, zDocSchemaFieldBoolean, zDocSchemaFieldRelation, zDocSchemaFieldSelectText, zDocSchemaFieldSelectNumber, zDocSchemaFieldMultiText, zDocSchemaFieldMultiNumber, zDocSchemaFieldMultiRelation, zDocSchemaFieldMultiSelectText, zDocSchemaFieldMultiSelectNumber, zDocRelation, zDocRelationFile, zDocMetaFieldRelation, zDocMetaFieldMultiRelation, zDocMetaFieldText, zDocMetaFieldNumber, zDocMetaFieldBoolean, zDocMetaFieldMultiText, zDocMetaFieldMultiNumber, zDocRelationField, zDocMetaField, zDocMetaFieldSelectText, zDocMetaFieldSelectNumber, zDocMetaFieldMultiSelectText, zDocMetaFieldMultiSelectNumber, zDocMetaFieldTypeText, zDocMetaFieldTypeNumber, zDocMetaFieldTypeBoolean, zDocMetaFieldTypeSelectText, zDocMetaFieldTypeSelectNumber, zDocMetaFieldTypeRelation, zDocMetaFieldType, zDocFileIndex } from './models.js';
|
|
3
3
|
export { zDocCustomSchema, zDocCustomSchemaField, zDocCustomSchemaFieldBoolean, zDocCustomSchemaFieldMultiNumber, zDocCustomSchemaFieldMultiRelation, zDocCustomSchemaFieldMultiSelectNumber, zDocCustomSchemaFieldMultiSelectText, zDocCustomSchemaFieldMultiText, zDocCustomSchemaFieldNumber, zDocCustomSchemaFieldRelation, zDocCustomSchemaFieldSelectNumber, zDocCustomSchemaFieldSelectText, zDocCustomSchemaFieldText, zDocFile, zDocFileDirectory, zDocFileIndexContent, zDocFileIndexMeta, zDocFileIndexMetaInput, zDocFileIndexSchema, zDocFileIndexSchemaInput, zDocFileMdContent, zDocFileMdContentInput, zDocFileMdInput, zDocFileMdMeta, zDocFileMdMetaInput, zDocMetaFieldTypeMultiNumber, zDocMetaFieldTypeMultiRelation, zDocMetaFieldTypeMultiSelectNumber, zDocMetaFieldTypeMultiSelectText, zDocMetaFieldTypeMultiText, zDocTreeDirectoryNode, zDocTreeFileNode, zDocTreeNode } from './models.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -160,7 +160,6 @@ declare class DocFileMdMetaValue<T extends DocCustomSchema> {
|
|
|
160
160
|
boolean(key: keyof T): DocMetaFieldBoolean;
|
|
161
161
|
multiText(key: keyof T): DocMetaFieldMultiText;
|
|
162
162
|
multiNumber(key: keyof T): DocMetaFieldMultiNumber;
|
|
163
|
-
multiBoolean(key: keyof T): DocMetaFieldMultiBoolean;
|
|
164
163
|
hasKey(key: keyof T): boolean;
|
|
165
164
|
toJson(): SchemaToValueType<T>;
|
|
166
165
|
toYaml(): string;
|
|
@@ -525,7 +524,6 @@ type DocMetaFieldSelectNumber = z.infer<typeof zDocMetaFieldSelectNumber>;
|
|
|
525
524
|
type DocMetaFieldRelation = z.infer<typeof zDocMetaFieldRelation>;
|
|
526
525
|
type DocMetaFieldMultiText = z.infer<typeof zDocMetaFieldMultiText>;
|
|
527
526
|
type DocMetaFieldMultiNumber = z.infer<typeof zDocMetaFieldMultiNumber>;
|
|
528
|
-
type DocMetaFieldMultiBoolean = z.infer<typeof zDocMetaFieldMultiBoolean>;
|
|
529
527
|
type DocMetaFieldMultiSelectText = z.infer<typeof zDocMetaFieldMultiSelectText>;
|
|
530
528
|
type DocMetaFieldMultiSelectNumber = z.infer<typeof zDocMetaFieldMultiSelectNumber>;
|
|
531
529
|
type DocMetaFieldMultiRelation = z.infer<typeof zDocMetaFieldMultiRelation>;
|
|
@@ -677,6 +675,12 @@ type DocFileUnknown = z.infer<typeof zDocFileUnknown>;
|
|
|
677
675
|
*/
|
|
678
676
|
type DocFile<T extends DocCustomSchema = DocCustomSchema> = DocFileIndex<T> | DocFileMd<T> | DocFileUnknown;
|
|
679
677
|
type DocDirectoryFile<T extends DocCustomSchema = DocCustomSchema> = DocFileMd<T> | DocFileUnknown;
|
|
678
|
+
type DocFileIndexAny = z.infer<typeof zDocFileIndex>;
|
|
679
|
+
type DocFileMdAny = z.infer<typeof zDocFileMd>;
|
|
680
|
+
/**
|
|
681
|
+
* DocFile<DocCustomSchema<RecordKey>>
|
|
682
|
+
*/
|
|
683
|
+
type DocFileAny = DocFileIndexAny | DocFileMdAny | DocFileUnknown;
|
|
680
684
|
/**
|
|
681
685
|
* Directory FrontMatter type
|
|
682
686
|
*/
|
|
@@ -795,7 +799,7 @@ type OptionalKeys<T extends DocCustomSchema> = {
|
|
|
795
799
|
type SchemaToValueType<T extends DocCustomSchema> = {
|
|
796
800
|
[K in RequiredKeys<T>]: BaseFieldValueType<ExtractFieldType<T[K]>>;
|
|
797
801
|
} & {
|
|
798
|
-
[K in OptionalKeys<T>]
|
|
802
|
+
[K in OptionalKeys<T>]: BaseFieldValueType<ExtractFieldType<T[K]>> | null;
|
|
799
803
|
};
|
|
800
804
|
/**
|
|
801
805
|
* Helper type for type-safe property access
|
|
@@ -2159,4 +2163,4 @@ declare class DocRelationFieldValue {
|
|
|
2159
2163
|
}): DocRelationFieldValue;
|
|
2160
2164
|
}
|
|
2161
2165
|
|
|
2162
|
-
export { type BaseFieldValueType, type DetectFileType, DocClient, type DocClientConfig, type DocCustomSchema, type DocCustomSchemaField, type DocCustomSchemaFieldBoolean, type DocCustomSchemaFieldMultiNumber, type DocCustomSchemaFieldMultiRelation, type DocCustomSchemaFieldMultiSelectNumber, type DocCustomSchemaFieldMultiSelectText, type DocCustomSchemaFieldMultiText, type DocCustomSchemaFieldNumber, type DocCustomSchemaFieldRelation, type DocCustomSchemaFieldSelectNumber, type DocCustomSchemaFieldSelectText, type DocCustomSchemaFieldText, DocCustomSchemaFieldValue, type DocDirectory, type DocDirectoryFile, DocDirectoryPathValue, DocDirectoryReference, type DocFieldTypeLiteral, type DocFile, type DocFileEntity, type DocFileIndex, type DocFileIndexContent, DocFileIndexContentValue, DocFileIndexEntity, type DocFileIndexMeta, DocFileIndexMetaValue, DocFileIndexReference, type DocFileIndexSchema, type DocFileIndexSchemaField, DocFileIndexSchemaValue, type DocFileMd, type DocFileMdContent, DocFileMdContentValue, DocFileMdEntity, type DocFileMdMeta, DocFileMdMetaValue, DocFileMdReference, type DocFilePath, DocFilePathValue, DocFileRelationReference, DocFileSystem, DocFileSystemMock, DocFileTreeSystem, type DocFileUnknown, DocFileUnknownEntity, DocFileUnknownReference, DocMarkdownSystem, type DocMetaField, type DocMetaFieldBoolean, type
|
|
2166
|
+
export { type BaseFieldValueType, type DetectFileType, DocClient, type DocClientConfig, type DocCustomSchema, type DocCustomSchemaField, type DocCustomSchemaFieldBoolean, type DocCustomSchemaFieldMultiNumber, type DocCustomSchemaFieldMultiRelation, type DocCustomSchemaFieldMultiSelectNumber, type DocCustomSchemaFieldMultiSelectText, type DocCustomSchemaFieldMultiText, type DocCustomSchemaFieldNumber, type DocCustomSchemaFieldRelation, type DocCustomSchemaFieldSelectNumber, type DocCustomSchemaFieldSelectText, type DocCustomSchemaFieldText, DocCustomSchemaFieldValue, type DocDirectory, type DocDirectoryFile, DocDirectoryPathValue, DocDirectoryReference, type DocFieldTypeLiteral, type DocFile, type DocFileAny, type DocFileEntity, type DocFileIndex, type DocFileIndexAny, type DocFileIndexContent, DocFileIndexContentValue, DocFileIndexEntity, type DocFileIndexMeta, DocFileIndexMetaValue, DocFileIndexReference, type DocFileIndexSchema, type DocFileIndexSchemaField, DocFileIndexSchemaValue, type DocFileMd, type DocFileMdAny, type DocFileMdContent, DocFileMdContentValue, DocFileMdEntity, type DocFileMdMeta, DocFileMdMetaValue, DocFileMdReference, type DocFilePath, DocFilePathValue, DocFileRelationReference, DocFileSystem, DocFileSystemMock, DocFileTreeSystem, type DocFileUnknown, DocFileUnknownEntity, DocFileUnknownReference, DocMarkdownSystem, type DocMetaField, type DocMetaFieldBoolean, type DocMetaFieldMultiNumber, type DocMetaFieldMultiRelation, type DocMetaFieldMultiSelectNumber, type DocMetaFieldMultiSelectText, type DocMetaFieldMultiText, type DocMetaFieldNumber, type DocMetaFieldRelation, type DocMetaFieldSelectNumber, type DocMetaFieldSelectText, type DocMetaFieldText, type DocMetaFieldType, type DocMetaFieldTypeBoolean, type DocMetaFieldTypeNumber, type DocMetaFieldTypeRelation, type DocMetaFieldTypeSelectNumber, type DocMetaFieldTypeSelectText, type DocMetaFieldTypeText, DocPathSystem, DocPathSystemMock, type DocRelation, type DocRelationField, DocRelationFieldValue, type DocRelationFile, DocRelationFileValue, DocRelationValue, DocSchemaBuilder, type DocSchemaFieldBoolean, type DocSchemaFieldMultiNumber, type DocSchemaFieldMultiRelation, type DocSchemaFieldMultiSelectNumber, type DocSchemaFieldMultiSelectText, type DocSchemaFieldMultiText, type DocSchemaFieldNumber, type DocSchemaFieldRelation, type DocSchemaFieldSelectNumber, type DocSchemaFieldSelectText, type DocSchemaFieldText, type DocSchemaRelationFieldUnion, type DocTreeDirectoryNode, DocTreeDirectoryNodeValue, type DocTreeFileNode, DocTreeFileNodeValue, type DocTreeNode, type DocTreeNodeValue, type Equals, type ExtractFieldType, type ExtractRequired, type FieldValueType, type GetIndexFieldType, type GetValueType, type InferDocFileMd, type InferReference, type MultiRelationKeys, type OptionalKeys, type RecordKey, type RelationKeys, type RequiredKeys, type SchemaToValueType, assertType, defaultTestConfig, defineSchema, docCustomSchemaField, expectType, zDocClientConfig, zDocFileIndex, zDocFileIndexSchemaField, zDocFileMd, zDocFilePath, zDocFileUnknown, zDocMetaField, zDocMetaFieldBoolean, zDocMetaFieldMultiNumber, zDocMetaFieldMultiRelation, zDocMetaFieldMultiSelectNumber, zDocMetaFieldMultiSelectText, zDocMetaFieldMultiText, zDocMetaFieldNumber, zDocMetaFieldRelation, zDocMetaFieldSelectNumber, zDocMetaFieldSelectText, zDocMetaFieldText, zDocMetaFieldType, zDocMetaFieldTypeBoolean, zDocMetaFieldTypeNumber, zDocMetaFieldTypeRelation, zDocMetaFieldTypeSelectNumber, zDocMetaFieldTypeSelectText, zDocMetaFieldTypeText, zDocRelation, zDocRelationField, zDocRelationFile, zDocSchemaFieldBoolean, zDocSchemaFieldMultiNumber, zDocSchemaFieldMultiRelation, zDocSchemaFieldMultiSelectNumber, zDocSchemaFieldMultiSelectText, zDocSchemaFieldMultiText, zDocSchemaFieldNumber, zDocSchemaFieldRelation, zDocSchemaFieldSelectNumber, zDocSchemaFieldSelectText, zDocSchemaFieldText };
|
package/build/index.js
CHANGED
|
@@ -136,7 +136,6 @@ var zDocMetaFieldSelectNumber = z.number().nullable();
|
|
|
136
136
|
var zDocMetaFieldRelation = z.string().nullable();
|
|
137
137
|
var zDocMetaFieldMultiText = z.string().array();
|
|
138
138
|
var zDocMetaFieldMultiNumber = z.number().array();
|
|
139
|
-
var zDocMetaFieldMultiBoolean = z.boolean().array();
|
|
140
139
|
var zDocMetaFieldMultiSelectText = z.string().array();
|
|
141
140
|
var zDocMetaFieldMultiSelectNumber = z.number().array();
|
|
142
141
|
var zDocMetaFieldMultiRelation = z.string().array();
|
|
@@ -149,11 +148,9 @@ var zDocMetaField = z.union([
|
|
|
149
148
|
zDocMetaFieldRelation,
|
|
150
149
|
zDocMetaFieldMultiText,
|
|
151
150
|
zDocMetaFieldMultiNumber,
|
|
152
|
-
zDocMetaFieldMultiBoolean,
|
|
153
151
|
zDocMetaFieldMultiSelectText,
|
|
154
152
|
zDocMetaFieldMultiSelectNumber,
|
|
155
|
-
zDocMetaFieldMultiRelation
|
|
156
|
-
z.null()
|
|
153
|
+
zDocMetaFieldMultiRelation
|
|
157
154
|
]);
|
|
158
155
|
var zDocFileMdMeta = z.record(z.string(), zDocMetaField);
|
|
159
156
|
var zDocFileMdMetaInput = z.record(
|
|
@@ -1315,12 +1312,6 @@ var DocFileMdMetaValue = class _DocFileMdMetaValue {
|
|
|
1315
1312
|
}
|
|
1316
1313
|
return zDocMetaFieldMultiNumber.parse(this.value[key]);
|
|
1317
1314
|
}
|
|
1318
|
-
multiBoolean(key) {
|
|
1319
|
-
if (this.hasKey(key) === false) {
|
|
1320
|
-
return [];
|
|
1321
|
-
}
|
|
1322
|
-
return zDocMetaFieldMultiBoolean.parse(this.value[key]);
|
|
1323
|
-
}
|
|
1324
1315
|
hasKey(key) {
|
|
1325
1316
|
const schemaField = this.schemaField(key);
|
|
1326
1317
|
const hasKey = key in this.value;
|
|
@@ -6363,7 +6354,6 @@ export {
|
|
|
6363
6354
|
zDocFileUnknown,
|
|
6364
6355
|
zDocMetaField,
|
|
6365
6356
|
zDocMetaFieldBoolean,
|
|
6366
|
-
zDocMetaFieldMultiBoolean,
|
|
6367
6357
|
zDocMetaFieldMultiNumber,
|
|
6368
6358
|
zDocMetaFieldMultiRelation,
|
|
6369
6359
|
zDocMetaFieldMultiSelectNumber,
|
package/build/models.d.ts
CHANGED
|
@@ -224,20 +224,19 @@ declare const zDocMetaFieldSelectNumber: z.ZodNullable<z.ZodNumber>;
|
|
|
224
224
|
declare const zDocMetaFieldRelation: z.ZodNullable<z.ZodString>;
|
|
225
225
|
declare const zDocMetaFieldMultiText: z.ZodArray<z.ZodString>;
|
|
226
226
|
declare const zDocMetaFieldMultiNumber: z.ZodArray<z.ZodNumber>;
|
|
227
|
-
declare const zDocMetaFieldMultiBoolean: z.ZodArray<z.ZodBoolean>;
|
|
228
227
|
declare const zDocMetaFieldMultiSelectText: z.ZodArray<z.ZodString>;
|
|
229
228
|
declare const zDocMetaFieldMultiSelectNumber: z.ZodArray<z.ZodNumber>;
|
|
230
229
|
declare const zDocMetaFieldMultiRelation: z.ZodArray<z.ZodString>;
|
|
231
|
-
declare const zDocMetaField: z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
230
|
+
declare const zDocMetaField: z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>;
|
|
232
231
|
/**
|
|
233
232
|
* FrontMatter schema (internal use - only nullable)
|
|
234
233
|
*/
|
|
235
|
-
declare const zDocFileMdMeta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
234
|
+
declare const zDocFileMdMeta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>>;
|
|
236
235
|
/**
|
|
237
236
|
* FrontMatter input schema (allows undefined for external APIs)
|
|
238
237
|
* Transforms undefined to null for internal consistency
|
|
239
238
|
*/
|
|
240
|
-
declare const zDocFileMdMetaInput: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
239
|
+
declare const zDocFileMdMetaInput: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>, z.ZodUndefined]>>;
|
|
241
240
|
/**
|
|
242
241
|
* Schema definition
|
|
243
242
|
* Mapping of field names to schema fields
|
|
@@ -708,7 +707,7 @@ declare const zDocFileMdContent: z.ZodObject<{
|
|
|
708
707
|
body: z.ZodString;
|
|
709
708
|
title: z.ZodString;
|
|
710
709
|
description: z.ZodString;
|
|
711
|
-
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
710
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>>;
|
|
712
711
|
}, z.core.$strip>;
|
|
713
712
|
/**
|
|
714
713
|
* Markdown content input (allows undefined in meta) - for external APIs
|
|
@@ -718,7 +717,7 @@ declare const zDocFileMdContentInput: z.ZodObject<{
|
|
|
718
717
|
body: z.ZodString;
|
|
719
718
|
title: z.ZodString;
|
|
720
719
|
description: z.ZodString;
|
|
721
|
-
meta: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
720
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>, z.ZodUndefined]>>;
|
|
722
721
|
}, z.core.$strip>;
|
|
723
722
|
/**
|
|
724
723
|
* Markdown content information (for index files)
|
|
@@ -933,7 +932,7 @@ declare const zDocFileMd: z.ZodObject<{
|
|
|
933
932
|
body: z.ZodString;
|
|
934
933
|
title: z.ZodString;
|
|
935
934
|
description: z.ZodString;
|
|
936
|
-
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
935
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>>;
|
|
937
936
|
}, z.core.$strip>;
|
|
938
937
|
isArchived: z.ZodBoolean;
|
|
939
938
|
}, z.core.$strip>;
|
|
@@ -953,7 +952,7 @@ declare const zDocFileMdInput: z.ZodObject<{
|
|
|
953
952
|
body: z.ZodString;
|
|
954
953
|
title: z.ZodString;
|
|
955
954
|
description: z.ZodString;
|
|
956
|
-
meta: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
955
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>, z.ZodUndefined]>>;
|
|
957
956
|
}, z.core.$strip>;
|
|
958
957
|
isArchived: z.ZodBoolean;
|
|
959
958
|
}, z.core.$strip>;
|
|
@@ -1065,7 +1064,7 @@ declare const zDocFile: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1065
1064
|
body: z.ZodString;
|
|
1066
1065
|
title: z.ZodString;
|
|
1067
1066
|
description: z.ZodString;
|
|
1068
|
-
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
1067
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>>;
|
|
1069
1068
|
}, z.core.$strip>;
|
|
1070
1069
|
isArchived: z.ZodBoolean;
|
|
1071
1070
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1093,7 +1092,7 @@ declare const zDocFileDirectory: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1093
1092
|
body: z.ZodString;
|
|
1094
1093
|
title: z.ZodString;
|
|
1095
1094
|
description: z.ZodString;
|
|
1096
|
-
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.
|
|
1095
|
+
meta: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodBoolean>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodNumber>, z.ZodNullable<z.ZodString>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodNumber>, z.ZodArray<z.ZodString>]>>;
|
|
1097
1096
|
}, z.core.$strip>;
|
|
1098
1097
|
isArchived: z.ZodBoolean;
|
|
1099
1098
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1144,4 +1143,4 @@ declare const zDocClientConfig: z.ZodObject<{
|
|
|
1144
1143
|
directoryExcludes: z.ZodArray<z.ZodString>;
|
|
1145
1144
|
}, z.core.$strip>;
|
|
1146
1145
|
|
|
1147
|
-
export { zDocClientConfig, zDocCustomSchema, zDocCustomSchemaField, zDocCustomSchemaFieldBoolean, zDocCustomSchemaFieldMultiNumber, zDocCustomSchemaFieldMultiRelation, zDocCustomSchemaFieldMultiSelectNumber, zDocCustomSchemaFieldMultiSelectText, zDocCustomSchemaFieldMultiText, zDocCustomSchemaFieldNumber, zDocCustomSchemaFieldRelation, zDocCustomSchemaFieldSelectNumber, zDocCustomSchemaFieldSelectText, zDocCustomSchemaFieldText, zDocFile, zDocFileDirectory, zDocFileIndex, zDocFileIndexContent, zDocFileIndexMeta, zDocFileIndexMetaInput, zDocFileIndexSchema, zDocFileIndexSchemaField, zDocFileIndexSchemaInput, zDocFileMd, zDocFileMdContent, zDocFileMdContentInput, zDocFileMdInput, zDocFileMdMeta, zDocFileMdMetaInput, zDocFilePath, zDocFileUnknown, zDocMetaField, zDocMetaFieldBoolean,
|
|
1146
|
+
export { zDocClientConfig, zDocCustomSchema, zDocCustomSchemaField, zDocCustomSchemaFieldBoolean, zDocCustomSchemaFieldMultiNumber, zDocCustomSchemaFieldMultiRelation, zDocCustomSchemaFieldMultiSelectNumber, zDocCustomSchemaFieldMultiSelectText, zDocCustomSchemaFieldMultiText, zDocCustomSchemaFieldNumber, zDocCustomSchemaFieldRelation, zDocCustomSchemaFieldSelectNumber, zDocCustomSchemaFieldSelectText, zDocCustomSchemaFieldText, zDocFile, zDocFileDirectory, zDocFileIndex, zDocFileIndexContent, zDocFileIndexMeta, zDocFileIndexMetaInput, zDocFileIndexSchema, zDocFileIndexSchemaField, zDocFileIndexSchemaInput, zDocFileMd, zDocFileMdContent, zDocFileMdContentInput, zDocFileMdInput, zDocFileMdMeta, zDocFileMdMetaInput, zDocFilePath, zDocFileUnknown, zDocMetaField, zDocMetaFieldBoolean, zDocMetaFieldMultiNumber, zDocMetaFieldMultiRelation, zDocMetaFieldMultiSelectNumber, zDocMetaFieldMultiSelectText, zDocMetaFieldMultiText, zDocMetaFieldNumber, zDocMetaFieldRelation, zDocMetaFieldSelectNumber, zDocMetaFieldSelectText, zDocMetaFieldText, zDocMetaFieldType, zDocMetaFieldTypeBoolean, zDocMetaFieldTypeMultiNumber, zDocMetaFieldTypeMultiRelation, zDocMetaFieldTypeMultiSelectNumber, zDocMetaFieldTypeMultiSelectText, zDocMetaFieldTypeMultiText, zDocMetaFieldTypeNumber, zDocMetaFieldTypeRelation, zDocMetaFieldTypeSelectNumber, zDocMetaFieldTypeSelectText, zDocMetaFieldTypeText, zDocRelation, zDocRelationField, zDocRelationFile, zDocSchemaFieldBoolean, zDocSchemaFieldMultiNumber, zDocSchemaFieldMultiRelation, zDocSchemaFieldMultiSelectNumber, zDocSchemaFieldMultiSelectText, zDocSchemaFieldMultiText, zDocSchemaFieldNumber, zDocSchemaFieldRelation, zDocSchemaFieldSelectNumber, zDocSchemaFieldSelectText, zDocSchemaFieldText, zDocTreeDirectoryNode, zDocTreeFileNode, zDocTreeNode };
|
package/build/models.js
CHANGED
|
@@ -136,7 +136,6 @@ var zDocMetaFieldSelectNumber = z.number().nullable();
|
|
|
136
136
|
var zDocMetaFieldRelation = z.string().nullable();
|
|
137
137
|
var zDocMetaFieldMultiText = z.string().array();
|
|
138
138
|
var zDocMetaFieldMultiNumber = z.number().array();
|
|
139
|
-
var zDocMetaFieldMultiBoolean = z.boolean().array();
|
|
140
139
|
var zDocMetaFieldMultiSelectText = z.string().array();
|
|
141
140
|
var zDocMetaFieldMultiSelectNumber = z.number().array();
|
|
142
141
|
var zDocMetaFieldMultiRelation = z.string().array();
|
|
@@ -149,11 +148,9 @@ var zDocMetaField = z.union([
|
|
|
149
148
|
zDocMetaFieldRelation,
|
|
150
149
|
zDocMetaFieldMultiText,
|
|
151
150
|
zDocMetaFieldMultiNumber,
|
|
152
|
-
zDocMetaFieldMultiBoolean,
|
|
153
151
|
zDocMetaFieldMultiSelectText,
|
|
154
152
|
zDocMetaFieldMultiSelectNumber,
|
|
155
|
-
zDocMetaFieldMultiRelation
|
|
156
|
-
z.null()
|
|
153
|
+
zDocMetaFieldMultiRelation
|
|
157
154
|
]);
|
|
158
155
|
var zDocFileMdMeta = z.record(z.string(), zDocMetaField);
|
|
159
156
|
var zDocFileMdMetaInput = z.record(
|
|
@@ -359,7 +356,6 @@ export {
|
|
|
359
356
|
zDocFileUnknown,
|
|
360
357
|
zDocMetaField,
|
|
361
358
|
zDocMetaFieldBoolean,
|
|
362
|
-
zDocMetaFieldMultiBoolean,
|
|
363
359
|
zDocMetaFieldMultiNumber,
|
|
364
360
|
zDocMetaFieldMultiRelation,
|
|
365
361
|
zDocMetaFieldMultiSelectNumber,
|