Function: createSchema()
ts
function createSchema(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
archivedObjectCount?: number;
created?: Date;
description?: string;
id?: number;
name?: string;
objectCount?: number;
objectSchemaKey?: string;
objectTypeCount?: number;
status?: string;
updated?: Date;
}>;Defined in: src/assetsServer/api/objectSchemas.ts:14
Create a new object schema.
Parameters
| Parameter | Type |
|---|---|
client | Client |
parameters | { description?: string; name: string; objectSchemaKey: string; } |
parameters.description? | string |
parameters.name? | string |
parameters.objectSchemaKey? | string |
options? | RequestOptions |
Returns
Promise<{ [key: string]: unknown; archivedObjectCount?: number; created?: Date; description?: string; id?: number; name?: string; objectCount?: number; objectSchemaKey?: string; objectTypeCount?: number; status?: string; updated?: Date; }>