UNPKG

@contentstack/management

Version:

The Content Management API is used to manage the content of your Contentstack account

18 lines (13 loc) 560 B
import { AnyProperty, SystemFields } from "../../utility/fields"; import { Queryable, SystemFunction } from "../../utility/operations"; import { Schema } from "../contentType"; export interface GlobalField extends SystemFields, SystemFunction<GlobalField> { } export interface GlobalFields extends Queryable<GlobalField, {global_field: GlobalFieldData}> { import(data: {global_field: string}, params?: any): Promise<GlobalField> } export interface GlobalFieldData extends AnyProperty { title: string uid: string schema: Array<Schema> }