@openinc/parse-server-opendash
Version:
Parse Server Cloud Code for open.INC Stack.
30 lines (29 loc) • 957 B
TypeScript
import type { SourceMeta } from "./SourceMeta";
import type { Tenant } from "./Tenant";
export interface SourceAttributes {
id: string;
objectId: string;
createdAt: Date;
updatedAt: Date;
children: Parse.Relation<Source, Source>;
meta?: SourceMeta;
name?: string;
parent?: Source;
tag?: string;
tenant?: Tenant;
}
export declare class Source extends Parse.Object<SourceAttributes> {
static className: string;
constructor(data?: Partial<SourceAttributes>);
get children(): Parse.Relation<Source, Source>;
get meta(): SourceMeta | undefined;
set meta(value: SourceMeta | undefined);
get name(): string | undefined;
set name(value: string | undefined);
get parent(): Source | undefined;
set parent(value: Source | undefined);
get tag(): string | undefined;
set tag(value: string | undefined);
get tenant(): Tenant | undefined;
set tenant(value: Tenant | undefined);
}