contentful-management
Version:
Client for Contentful's Content Management API
52 lines (51 loc) • 765 B
TypeScript
export type FieldType = {
type: 'Symbol';
} | {
type: 'Text';
} | {
type: 'RichText';
} | {
type: 'Integer';
} | {
type: 'Number';
} | {
type: 'Date';
} | {
type: 'Boolean';
} | {
type: 'Object';
} | {
type: 'Location';
} | {
type: 'Link';
linkType: 'Asset';
} | {
type: 'Link';
linkType: 'Entry';
} | {
type: 'ResourceLink';
linkType: string;
} | {
type: 'Array';
items: {
type: 'Symbol';
};
} | {
type: 'Array';
items: {
type: 'Link';
linkType: 'Entry';
};
} | {
type: 'Array';
items: {
type: 'ResourceLink';
linkType: string;
};
} | {
type: 'Array';
items: {
type: 'Link';
linkType: 'Asset';
};
};