@tinacms/schema-tools 0.0.0-c8b1d84-20241003015733 → 0.0.0-e0ddb8c-20241004065742
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/types/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -161,6 +161,9 @@ export type ImageField = (FieldGeneric<string, undefined> | FieldGeneric<string,
|
|
|
161
161
|
};
|
|
162
162
|
type ReferenceFieldOptions = {
|
|
163
163
|
optionComponent?: OptionComponent;
|
|
164
|
+
/**
|
|
165
|
+
* @deprecated use `collectionFilter` instead as experimental___Filter will be removed in a future release
|
|
166
|
+
*/
|
|
164
167
|
experimental___filter?: (list: Array<any>, searchQuery: string) => Array<any>;
|
|
165
168
|
collectionFilter?: Record<string, Record<string, FilterValue>> | (() => Record<string, Record<string, FilterValue>>);
|
|
166
169
|
};
|
|
@@ -182,7 +185,7 @@ export type ReferenceField = (FieldGeneric<string, undefined, ReferenceFieldOpti
|
|
|
182
185
|
export type PasswordField = (FieldGeneric<string, undefined> | FieldGeneric<string, false>) & BaseField & {
|
|
183
186
|
type: 'password';
|
|
184
187
|
};
|
|
185
|
-
type toolbarItemName = 'heading' | 'link' | 'image' | 'quote' | 'ul' | 'ol' | 'code' | 'codeBlock' | 'bold' | 'italic' | 'raw' | 'embed';
|
|
188
|
+
type toolbarItemName = 'heading' | 'link' | 'image' | 'quote' | 'ul' | 'ol' | 'code' | 'codeBlock' | 'bold' | 'italic' | 'raw' | 'embed' | 'mermaid';
|
|
186
189
|
type RichTextAst = {
|
|
187
190
|
type: 'root';
|
|
188
191
|
children: Record<string, unknown>[];
|