Function: changeObjectTypePosition()
ts
function changeObjectTypePosition(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
abstractObjectType: boolean;
created: Date;
description?: string;
globalId: string;
icon: {
[key: string]: unknown;
id: string;
name: string;
url16: string;
url48: string;
};
id: string;
inherited: boolean;
name: string;
objectCount: number;
objectSchemaId: string;
parentObjectTypeId?: number;
parentObjectTypeInherited: boolean;
position: number;
type?: number;
updated: Date;
workspaceId: string;
}>;Defined in: src/assets/api/objectTypes.ts:93
Change position of this object type
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { id: string; position: number; toObjectTypeId?: string; } | - |
parameters.id | string | - |
parameters.position? | number | The preffered position |
parameters.toObjectTypeId? | string | The desired new parent of the object type |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; abstractObjectType: boolean; created: Date; description?: string; globalId: string; icon: { [key: string]: unknown; id: string; name: string; url16: string; url48: string; }; id: string; inherited: boolean; name: string; objectCount: number; objectSchemaId: string; parentObjectTypeId?: number; parentObjectTypeInherited: boolean; position: number; type?: number; updated: Date; workspaceId: string; }>