@churchapps/helpers
Version:
Library of helper functions not specific to any one ChurchApps project or framework.
149 lines • 3.47 kB
TypeScript
export interface ActionInterface {
id?: string;
automationId?: string;
actionType?: string;
actionData?: string;
}
export interface AutomationInterface {
id?: string;
title: string;
recurs: string;
active: boolean;
}
export interface ConditionInterface {
id?: string;
conjunctionId?: string;
field?: string;
fieldData?: string;
operator?: string;
value?: string;
label?: string;
}
export interface ConjunctionInterface {
id?: string;
automationId?: string;
parentId?: string;
groupType?: string;
conjunctions?: ConjunctionInterface[];
conditions?: ConditionInterface[];
}
export interface TaskInterface {
id?: string;
taskNumber?: number;
taskType?: string;
dateCreated?: Date;
dateClosed?: Date;
associatedWithType?: string;
associatedWithId?: string;
associatedWithLabel?: string;
createdByType?: string;
createdById?: string;
createdByLabel?: string;
assignedToType?: string;
assignedToId?: string;
assignedToLabel?: string;
title?: string;
status?: string;
automationId?: string;
conversationId?: string;
data?: string;
}
export interface PlanInterface {
id?: string;
churchId?: string;
name?: string;
ministryId?: string;
serviceDate?: Date;
notes?: string;
contentType?: string;
contentId?: string;
providerId?: string;
providerPlanId?: string;
providerPlanName?: string;
signupDeadlineHours?: number;
showVolunteerNames?: boolean;
}
export interface PositionInterface {
id?: string;
churchId?: string;
planId?: string;
categoryName?: string;
name?: string;
count?: number;
groupId?: string;
allowSelfSignup?: boolean;
description?: string;
}
export interface AssignmentInterface {
id?: string;
churchId?: string;
positionId?: string;
personId?: string;
status?: string;
notified?: Date;
}
export interface TimeInterface {
id?: string;
churchId?: string;
planId?: string;
displayName?: string;
startTime?: Date;
endTime?: Date;
teams?: string;
teamList?: string[];
serviceTimeType?: string;
}
export interface PlanItemTimeInterface {
id?: string;
churchId?: string;
planItemId?: string;
timeId?: string;
excluded?: boolean;
}
export interface BlockoutDateInterface {
id?: string;
churchId?: string;
personId?: string;
startDate?: Date;
endDate?: Date;
}
export interface ExternalVenueRefInterface {
externalProviderId: string;
programId: string;
studyId: string;
lessonId: string;
venueId: string;
}
export interface ContentFileInterface {
id?: string;
name?: string;
url?: string;
fileType?: string;
seconds?: number;
}
export interface PlanItemContentInterface {
provider: string;
embedUrl?: string;
html?: string;
files?: ContentFileInterface[];
metadata?: Record<string, any>;
}
export interface PlanItemInterface {
id?: string;
planId?: string;
parentId?: string;
sort?: number;
itemType?: string;
relatedId?: string;
label?: string;
description?: string;
seconds?: number;
link?: string;
children?: PlanItemInterface[];
content?: PlanItemContentInterface;
providerId?: string;
providerPath?: string;
providerContentPath?: string;
thumbnailUrl?: string;
}
//# sourceMappingURL=Doing.d.ts.map