Alokai
You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current

TypeDefinition

Types define the structure of custom fields which can be attached to different entities throughout the platform.

export type TypeDefinition = Versioned & {
    __typename?: 'TypeDefinition';
    key: Scalars['String'];
    name?: Maybe<Scalars['String']>;
    description?: Maybe<Scalars['String']>;
    nameAllLocales: Array<LocalizedString>;
    descriptionAllLocales?: Maybe<Array<LocalizedString>>;
    resourceTypeIds: Array<Scalars['String']>;
    fieldDefinitions: Array<FieldDefinition>;
    id: Scalars['String'];
    version: Scalars['Long'];
    createdAt: Scalars['DateTime'];
    lastModifiedAt: Scalars['DateTime'];
    createdBy?: Maybe<Initiator>;
    lastModifiedBy?: Maybe<Initiator>;
};

Referenced Types

On this page