@tinacms/schema-tools 1.4.0 → 1.4.2
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 +5 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ export declare type ObjectField<WithNamespace extends boolean = false> = (FieldG
|
|
|
234
234
|
type: 'object';
|
|
235
235
|
fields?: undefined;
|
|
236
236
|
templates: Template<WithNamespace>[];
|
|
237
|
+
templateKey?: string;
|
|
237
238
|
});
|
|
238
239
|
declare type Field<WithNamespace extends boolean = false> = (StringField | NumberField | BooleanField | DateTimeField | ImageField | ReferenceField | RichTextField<WithNamespace> | ObjectField<WithNamespace>) & MaybeNamespace<WithNamespace>;
|
|
239
240
|
export declare type TinaField<WithNamespace extends boolean = false> = Field<WithNamespace> & MaybeNamespace<WithNamespace>;
|
|
@@ -344,6 +345,10 @@ export interface Config<CMSCallback = undefined, FormifyCallback = undefined, Do
|
|
|
344
345
|
* Configurations for the autogenerated GraphQL HTTP client
|
|
345
346
|
*/
|
|
346
347
|
client?: {
|
|
348
|
+
/**
|
|
349
|
+
* Skip building the autogenerated client
|
|
350
|
+
*/
|
|
351
|
+
skip?: boolean;
|
|
347
352
|
/**
|
|
348
353
|
* Autogenerated queries will traverse references to a given depth
|
|
349
354
|
* @default 2
|