27 lines
657 B
TypeScript
27 lines
657 B
TypeScript
export type Entity = {
|
|
id: string;
|
|
name: string;
|
|
slug?: string | null;
|
|
description?: string | null;
|
|
type_id?: string | null;
|
|
status?: number | null;
|
|
geometry_count?: number;
|
|
created_at?: string;
|
|
updated_at?: string;
|
|
};
|
|
|
|
export type EntitySnapshotOperation = "create" | "update" | "delete" | "reference" | "replace";
|
|
|
|
export type EntitySnapshot = {
|
|
id: string;
|
|
operation: EntitySnapshotOperation;
|
|
name?: string;
|
|
slug?: string | null;
|
|
description?: string | null;
|
|
type_id?: string | null;
|
|
status?: number | null;
|
|
is_deleted?: number;
|
|
base_updated_at?: string;
|
|
base_hash?: string;
|
|
};
|