Type alias IModel

IModel: {
    apiId: Scalars["String"];
    apiIdPlural: Scalars["String"];
    contentViews: ContentView[];
    createdAt: Scalars["DateTime"];
    createdBy?: Maybe<CreatedBy>;
    description?: Maybe<Scalars["String"]>;
    displayName: Scalars["String"];
    environment: Environment;
    field: IField;
    fields: IField[];
    fieldsConnection: FieldsConnection;
    hasContent: Scalars["Boolean"];
    hasLocalizedComponents: Scalars["Boolean"];
    id: Scalars["ID"];
    isLocalized: Scalars["Boolean"];
    isSystem: Scalars["Boolean"];
    isVersioned: Scalars["Boolean"];
    nestedFields: IField[];
    sidebarElements: ISidebarElement[];
    titleFields: IField[];
    updatedAt: Scalars["DateTime"];
    viewerPermission: ModelViewerPermission;
}

Type declaration

  • apiId: Scalars["String"]
  • apiIdPlural: Scalars["String"]
  • contentViews: ContentView[]
  • createdAt: Scalars["DateTime"]
  • Optional createdBy?: Maybe<CreatedBy>
  • Optional description?: Maybe<Scalars["String"]>
  • displayName: Scalars["String"]
  • environment: Environment
  • field: IField
  • fields: IField[]
  • fieldsConnection: FieldsConnection
  • hasContent: Scalars["Boolean"]

    Model has at least one document

  • hasLocalizedComponents: Scalars["Boolean"]
  • id: Scalars["ID"]
  • isLocalized: Scalars["Boolean"]

    Is true when at least one field is marked as localized. This includes the variant fields by default, but you may also want to check if only the variant fields are localized, use the variantFieldsOnly argument for that.

  • isSystem: Scalars["Boolean"]
  • isVersioned: Scalars["Boolean"]
  • nestedFields: IField[]

    Returns all fields of the model but also all fields of the components that are used in this model. It returns all nested fields across all used components. We find all components by looking at nested component fields and component union fields. We return all kinds of fields, including system fields.

  • sidebarElements: ISidebarElement[]
  • titleFields: IField[]
  • updatedAt: Scalars["DateTime"]
  • viewerPermission: ModelViewerPermission

Generated using TypeDoc