@openinc/parse-server-opendash
Version:
Parse Server Cloud Code for open.INC Stack.
49 lines (48 loc) • 1.59 kB
TypeScript
import type { Source } from "./Source";
import type { TenantMeta } from "./TenantMeta";
export interface TenantAttributes {
id: string;
objectId: string;
createdAt: Date;
updatedAt: Date;
dataProtectionUrl: string;
dataSource?: Source;
description: string;
hasDataSource: boolean;
icon?: Parse.File;
imprintUrl: string;
interactWithOtherTenants: boolean;
label: string;
logo?: Parse.File;
meta?: TenantMeta;
public: boolean;
tagPrefix?: string;
}
export declare class Tenant extends Parse.Object<TenantAttributes> {
static className: string;
constructor(data?: Partial<TenantAttributes>);
get dataProtectionUrl(): string;
set dataProtectionUrl(value: string);
get dataSource(): Source | undefined;
set dataSource(value: Source | undefined);
get description(): string;
set description(value: string);
get hasDataSource(): boolean;
set hasDataSource(value: boolean);
get icon(): Parse.File | undefined;
set icon(value: Parse.File | undefined);
get imprintUrl(): string;
set imprintUrl(value: string);
get interactWithOtherTenants(): boolean;
set interactWithOtherTenants(value: boolean);
get label(): string;
set label(value: string);
get logo(): Parse.File | undefined;
set logo(value: Parse.File | undefined);
get meta(): TenantMeta | undefined;
set meta(value: TenantMeta | undefined);
get public(): boolean;
set public(value: boolean);
get tagPrefix(): string | undefined;
set tagPrefix(value: string | undefined);
}