Skip to content

Function: createReferenceType() ​

ts
function createReferenceType(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  cdmData?: {
   [key: string]: unknown;
     types?: object[];
  };
  color?: string;
  description?: string;
  globalId: string;
  id?: string;
  name: string;
  objectSchemaId?: string;
  url16?: string;
  workspaceId: string;
}>;

Defined in: src/assets/api/referenceTypes.ts:28

Update a reference type

Parameters ​

ParameterType
clientClient
parameters{ color?: string; description?: string; name: string; objectSchemaId?: string; }
parameters.color?string
parameters.description?string
parameters.name?string
parameters.objectSchemaId?string
options?RequestOptions

Returns ​

Promise<{ [key: string]: unknown; cdmData?: { [key: string]: unknown; types?: object[]; }; color?: string; description?: string; globalId: string; id?: string; name: string; objectSchemaId?: string; url16?: string; workspaceId: string; }>