@clxmedia/types 1.0.174 → 1.0.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,7 @@ import { CLiQUserLocator, CLiQuserLocatorSlug } from "../auth";
|
|
|
2
2
|
import { CLXFormRuleSet } from "../clxforms";
|
|
3
3
|
import type { EnterpriseEventSlugs } from "../events";
|
|
4
4
|
export type CLXSortDirection = 'asc' | 'desc';
|
|
5
|
+
export type ISODateString = `${number}-${number}-${number}`;
|
|
5
6
|
export type CLXTaskStatus = 'pending' | 'open' | 'done';
|
|
6
7
|
export type CLXTaskFilter = {
|
|
7
8
|
cliq_user_locator_slug?: CLiQuserLocatorSlug;
|
|
@@ -194,6 +195,7 @@ export type ProjectReminderConfig = {
|
|
|
194
195
|
template_slug: string;
|
|
195
196
|
schedule: ProjectReminderScheduleEntry[];
|
|
196
197
|
};
|
|
198
|
+
export type CLXPriority = 'low' | 'normal' | 'urgent';
|
|
197
199
|
export type CLXTaskMetaData = {
|
|
198
200
|
verifier: CLiQUserLocator | null;
|
|
199
201
|
resource?: {
|
|
@@ -203,6 +205,8 @@ export type CLXTaskMetaData = {
|
|
|
203
205
|
reminders?: TaskReminderScheduleConfig;
|
|
204
206
|
tags?: string[];
|
|
205
207
|
notifications?: TaskNotificationConfig[];
|
|
208
|
+
due_date?: ISODateString;
|
|
209
|
+
priority?: CLXPriority;
|
|
206
210
|
};
|
|
207
211
|
export type CLXTaskTriggerConstraint = 'event_user_to_onboarding_recipient_match' | 'project_id_match';
|
|
208
212
|
export type CLXTaskTriggerConfig = {
|