dotcms
Version:
This library allows you to interact with DotCMS API's easily from the browser, nodejs and React Native. [Full Documentation](https://dotcms.github.io/core-web/dotcms/)
157 lines (156 loc) • 3.59 kB
TypeScript
export interface DotCMSSite {
lowIndexPriority: boolean;
name: string;
default: boolean;
aliases: string;
parent: boolean;
tagStorage: string;
systemHost: boolean;
inode: string;
versionType: string;
structureInode: string;
hostname: string;
hostThumbnail?: any;
owner: string;
permissionId: string;
permissionType: string;
type: string;
identifier: string;
modDate: number;
host: string;
live: boolean;
indexPolicy: string;
categoryId: string;
actionId?: any;
new: boolean;
archived: boolean;
locked: boolean;
disabledWysiwyg: any[];
modUser: string;
working: boolean;
titleImage: {
present: boolean;
};
folder: string;
htmlpage: boolean;
fileAsset: boolean;
vanityUrl: boolean;
keyValue: boolean;
structure?: DotCMSSiteStructure;
title: string;
languageId: number;
indexPolicyDependencies: string;
contentTypeId: string;
versionId: string;
lastReview: number;
nextReview?: any;
reviewInterval?: any;
sortOrder: number;
contentType: DotCMSSiteContentType;
}
interface DotCMSSiteContentType {
owner?: any;
parentPermissionable: DotCMSSiteParentPermissionable;
permissionId: string;
permissionType: string;
}
interface DotCMSSiteParentPermissionable {
Inode: string;
Identifier: string;
permissionByIdentifier: boolean;
type: string;
owner?: any;
identifier: string;
permissionId: string;
parentPermissionable?: any;
permissionType: string;
inode: string;
childrenPermissionable?: any;
}
interface DotCMSSiteStructure {
iDate: number;
type: string;
owner?: any;
inode: string;
identifier: string;
name: string;
description: string;
defaultStructure: boolean;
reviewInterval?: any;
reviewerRole?: any;
pagedetail?: any;
structureType: number;
fixed: boolean;
system: boolean;
velocityVarName: string;
urlMapPattern?: any;
host: string;
folder: string;
publishDateVar?: any;
expireDateVar?: any;
modDate: number;
fields: DotCMSSiteField[];
widget: boolean;
detailPage?: any;
fieldsBySortOrder: DotCMSSiteField[];
form: boolean;
htmlpageAsset: boolean;
content: boolean;
fileAsset: boolean;
persona: boolean;
permissionId: string;
permissionType: string;
live: boolean;
categoryId: string;
idate: number;
new: boolean;
archived: boolean;
locked: boolean;
modUser: string;
working: boolean;
title: string;
versionId: string;
versionType: string;
}
interface DotCMSSiteField {
iDate: number;
type: string;
owner?: any;
inode: string;
identifier: string;
structureInode: string;
fieldName: string;
fieldType: string;
fieldRelationType?: any;
fieldContentlet: string;
required: boolean;
velocityVarName: string;
sortOrder: number;
values?: any;
regexCheck?: any;
hint?: any;
defaultValue?: any;
indexed: boolean;
listed: boolean;
fixed: boolean;
readOnly: boolean;
searchable: boolean;
unique: boolean;
modDate: number;
dataType: string;
live: boolean;
categoryId: string;
idate: number;
new: boolean;
archived: boolean;
locked: boolean;
modUser: string;
working: boolean;
permissionId: string;
parentPermissionable?: any;
permissionType: string;
title: string;
versionId: string;
versionType: string;
}
export {};