@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
53 lines (52 loc) • 1.47 kB
TypeScript
import type { GoalOwnersInner } from './GoalOwnersInner.js';
import type { GoalParentGoal } from './GoalParentGoal.js';
export interface Goal {
_id: string;
_type?: GoalTypeEnum;
_rootId: string;
_createdOn?: Date;
_createdBy: string;
_updatedOn?: Date;
_updatedBy?: string;
_archivedOn?: Date;
_archivedBy?: string;
_deletedOn?: Date;
_deletedBy?: string;
_operationId?: string;
_isPublic?: boolean;
name: string;
description?: string;
startValue?: number;
targetValue?: number;
valueType?: string;
currentValue?: number;
currentValueChangedOn?: Date;
startDate?: Date;
endDate?: Date;
_completionDate?: Date;
goalType?: GoalGoalTypeEnum;
templateId?: string;
status?: GoalStatusEnum;
order?: number;
owners?: Array<GoalOwnersInner>;
parentGoal?: GoalParentGoal;
}
export declare enum GoalTypeEnum {
goal = "goal"
}
export declare enum GoalGoalTypeEnum {
target = "target",
binary = "binary",
gauge = "gauge",
calculated = "calculated"
}
export declare enum GoalStatusEnum {
draft = "draft",
active = "active",
done = "done",
archived = "archived"
}
export declare function instanceOfGoal(value: object): boolean;
export declare function GoalFromJSON(json: any): Goal;
export declare function GoalFromJSONTyped(json: any, ignoreDiscriminator: boolean): Goal;
export declare function GoalToJSON(value?: Goal | null): any;