import { Clazz } from '../ff-const'; import { CRUMSObject, ICRUMSObject, IObjPermissions, SearchFilters } from '../ff.interface'; import { IFFUser } from '../user-role-organization/user.interface'; import { FormElementData } from './forms/form-element.interface'; import { FormElementEntryData, FormEntryData } from './forms/form-entry.interface'; import { FormScheduleData } from './forms/form-schedules/form-schedule.interface'; import { FormData } from './forms/form.interface'; import { MetaThingData, MetaThingMetadata } from './meta-thing/meta-thing.interface'; import { ModuleData } from './modules/module.interface'; import { AcasMeterData } from './resources/acas-meter.interface'; import { AssetResourceData } from './resources/asset-resource.interface'; import { ResourceOrderedCarouselData } from './resources/carousel.interface'; import { BaseDiagramData } from './resources/diagram.interface'; import { HelpArticleFeedbackData } from './resources/help-article-feedback.interface'; import { HelpSectionData } from './resources/help-section.interface'; import { HierarchicalTreeData } from './resources/hierarchical-tree.interface'; import { IcuDiaryPageData } from './resources/icu-diary-page.interface'; import { MenuData } from './resources/menu.interface'; import { PageResourceData } from './resources/page.interface'; import { RichtTextAssetResourceData } from './resources/rich-text-with-asset.interface'; import { RichTextData } from './resources/rich-text.interface'; import { AcasMeterFeedbackData, AppSupportData } from './support/support.interface'; export declare const nonPreviewableThingTypes: string[]; export declare const thingTypeData: any; export declare const thingTypeMetadata: any; export declare type ThingMetadataUnionType = ThingMetadata | MetaThingMetadata; export interface IThingMetadata { type?: string; name?: string; } export declare class ThingMetadata implements IThingMetadata { type?: string; name?: string; constructor(obj?: IThingMetadata); } export declare type ThingDataUnionType = AcasMeterData | AssetResourceData | BaseDiagramData | HierarchicalTreeData | MenuData | PageResourceData | ResourceOrderedCarouselData | PageResourceData | IcuDiaryPageData | RichTextData | RichtTextAssetResourceData | ModuleData | FormData | FormElementData | FormElementEntryData | FormEntryData | AcasMeterFeedbackData | AppSupportData | MetaThingData | FormScheduleData | HelpSectionData | HelpArticleFeedbackData; export interface IThing extends ICRUMSObject { guid?: string; clazz?: Clazz; _permissions?: IObjPermissions; createdBy?: IFFUser; updatedBy?: IFFUser; createdAt?: number; updatedAt?: number; organization?: string; data?: ThingDataUnionType; metadata?: ThingMetadataUnionType; type?: string; things?: Array; display?: string; displayOptions?: any; deleted?: boolean; user?: string | IFFUser; } export declare class Thing extends CRUMSObject implements IThing { guid?: string; clazz?: Clazz; _permissions?: IObjPermissions; createdBy?: IFFUser; updatedBy?: IFFUser; createdAt?: number; updatedAt?: number; organization?: string; data?: ThingDataUnionType; metadata?: ThingMetadataUnionType; type?: string; things?: Array; display?: string; displayOptions?: any; deleted?: boolean; user?: string | IFFUser; constructor(obj?: IThing); } /** * A set of Thing filters for GET operations */ export interface ThingSearchFilters extends SearchFilters { /** * @property the type of Thing to get * @example 'Resource', 'Module', 'Form' */ type?: string; /** * @property the 'subtype's of Thing to get * @example 'Page', 'RichText' */ metadataTypes?: string[]; /** * @property the user guid associated with the Things to get */ user?: string; /** * @property the user guid that created the Things to get */ createdBy?: string; /** * @property the organization guid the Thing belongs to */ organization?: string; }