evo360-types 1.3.38 → 1.3.40

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.
Files changed (44) hide show
  1. package/dist/apps/evo-activity/zod-schemas.d.ts +6 -6
  2. package/dist/apps/evo-activity/zod-schemas.js +8 -10
  3. package/dist/apps/evo-activity/zod-schemas.ts +1 -2
  4. package/dist/apps/evo-med/procedure/zod-schemas.d.ts +2 -2
  5. package/dist/apps/evo-survey/zod-schemas.d.ts +21 -21
  6. package/dist/apps/shared/zod-schemas.d.ts +1 -1
  7. package/dist/apps/shared/zod-schemas.js +2 -2
  8. package/dist/apps/shared/zod-schemas.ts +2 -2
  9. package/dist/index.d.ts +0 -2
  10. package/dist/index.js +0 -2
  11. package/dist/index.ts +0 -2
  12. package/dist/types/evo-activity/index.d.ts +1 -2
  13. package/dist/types/evo-activity/index.ts +1 -3
  14. package/dist/types/shared/index.d.ts +4 -5
  15. package/dist/types/shared/index.js +2 -3
  16. package/dist/types/shared/index.ts +6 -7
  17. package/package.json +1 -1
  18. package/dist/apps/evo-cake/zod-schemas.d.ts +0 -783
  19. package/dist/apps/evo-cake/zod-schemas.js +0 -110
  20. package/dist/apps/evo-cake/zod-schemas.ts +0 -121
  21. package/dist/apps/evo-calendar/zod-schemas.d.ts +0 -71
  22. package/dist/apps/evo-calendar/zod-schemas.js +0 -32
  23. package/dist/apps/evo-calendar/zod-schemas.ts +0 -33
  24. package/dist/apps/evo-meeting/zod-schemas.d.ts +0 -429
  25. package/dist/apps/evo-meeting/zod-schemas.js +0 -56
  26. package/dist/apps/evo-meeting/zod-schemas.ts +0 -62
  27. package/dist/types/evo-cake/fb_collections.d.ts +0 -4
  28. package/dist/types/evo-cake/fb_collections.js +0 -9
  29. package/dist/types/evo-cake/fb_collections.ts +0 -7
  30. package/dist/types/evo-cake/index.d.ts +0 -111
  31. package/dist/types/evo-cake/index.js +0 -79
  32. package/dist/types/evo-cake/index.ts +0 -186
  33. package/dist/types/evo-calendar/fb_collections.d.ts +0 -2
  34. package/dist/types/evo-calendar/fb_collections.js +0 -7
  35. package/dist/types/evo-calendar/fb_collections.ts +0 -5
  36. package/dist/types/evo-calendar/index.d.ts +0 -54
  37. package/dist/types/evo-calendar/index.js +0 -37
  38. package/dist/types/evo-calendar/index.ts +0 -67
  39. package/dist/types/evo-meeting/fb_collections.d.ts +0 -2
  40. package/dist/types/evo-meeting/fb_collections.js +0 -7
  41. package/dist/types/evo-meeting/fb_collections.ts +0 -5
  42. package/dist/types/evo-meeting/index.d.ts +0 -58
  43. package/dist/types/evo-meeting/index.js +0 -32
  44. package/dist/types/evo-meeting/index.ts +0 -80
@@ -1,79 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ICakeAssetProcessingStatus = exports.ICakeAssetType = exports.ICakeStatus = exports.ICakePermission = exports.ICakeAssetAction = exports.ICakeAction = void 0;
18
- __exportStar(require("./fb_collections"), exports);
19
- var ICakeAction;
20
- (function (ICakeAction) {
21
- // Ações principais sobre o asset
22
- ICakeAction["Create_cake_asset"] = "CREATE_CAKE_ASSET";
23
- ICakeAction["Delete_cake_asset"] = "DELETE_CAKE_ASSET";
24
- ICakeAction["Update_cake_asset"] = "UPDATE_CAKE_ASSET";
25
- ICakeAction["Share_cake_asset"] = "SHARE_CAKE";
26
- })(ICakeAction || (exports.ICakeAction = ICakeAction = {}));
27
- var ICakeAssetAction;
28
- (function (ICakeAssetAction) {
29
- // Ações principais sobre o asset
30
- ICakeAssetAction["Create_cake_asset"] = "CREATE_CAKE_ASSET";
31
- ICakeAssetAction["Delete_cake_asset"] = "DELETE_CAKE_ASSET";
32
- ICakeAssetAction["Update_cake_asset"] = "UPDATE_CAKE_ASSET";
33
- // Ações de processamento
34
- ICakeAssetAction["Process_cake_asset"] = "PROCESS_CAKE_ASSET";
35
- ICakeAssetAction["Classify_cake_asset"] = "CLASSIFY_CAKE_ASSET";
36
- ICakeAssetAction["Extract_text_cake_asset"] = "EXTRACT_TEXT_CAKE_ASSET";
37
- ICakeAssetAction["Ocr_cake_asset"] = "OCR_CAKE_ASSET";
38
- ICakeAssetAction["Metadata_extraction_cake_asset"] = "METADATA_EXTRACTION_CAKE_ASSET";
39
- ICakeAssetAction["Process_cake_asset_done"] = "PROCESS_CAKE_ASSET_DONE";
40
- // Ações de atualização de metadados
41
- ICakeAssetAction["Update_relevance_score_cake_asset"] = "UPDATE_RELEVANCE_SCORE_CAKE_ASSET";
42
- ICakeAssetAction["Update_asset_status_cake_asset"] = "UPDATE_ASSET_STATUS_CAKE_ASSET";
43
- ICakeAssetAction["Update_asset_tags_cake_asset"] = "UPDATE_ASSET_TAGS_CAKE_ASSET";
44
- // Ações relacionadas a erros
45
- ICakeAssetAction["Process_cake_asset_failed"] = "PROCESS_CAKE_ASSET_FAILED";
46
- ICakeAssetAction["Classify_cake_asset_failed"] = "CLASSIFY_CAKE_ASSET_FAILED";
47
- ICakeAssetAction["Extract_text_cake_asset_failed"] = "EXTRACT_TEXT_CAKE_ASSET_FAILED";
48
- // Ações relacionadas a armazenamento
49
- ICakeAssetAction["Store_cake_asset"] = "STORE_CAKE_ASSET";
50
- ICakeAssetAction["Retrieve_cake_asset"] = "RETRIEVE_CAKE_ASSET";
51
- })(ICakeAssetAction || (exports.ICakeAssetAction = ICakeAssetAction = {}));
52
- var ICakePermission;
53
- (function (ICakePermission) {
54
- ICakePermission["Private"] = "private";
55
- ICakePermission["Tenant"] = "tenant";
56
- ICakePermission["Public"] = "public";
57
- })(ICakePermission || (exports.ICakePermission = ICakePermission = {}));
58
- var ICakeStatus;
59
- (function (ICakeStatus) {
60
- ICakeStatus["Active"] = "active";
61
- ICakeStatus["Archived"] = "archived";
62
- })(ICakeStatus || (exports.ICakeStatus = ICakeStatus = {}));
63
- // Enum for Asset Type
64
- var ICakeAssetType;
65
- (function (ICakeAssetType) {
66
- ICakeAssetType["File"] = "file";
67
- ICakeAssetType["Event"] = "event";
68
- ICakeAssetType["Meeting"] = "meeting";
69
- ICakeAssetType["Note"] = "note";
70
- ICakeAssetType["Data"] = "data";
71
- })(ICakeAssetType || (exports.ICakeAssetType = ICakeAssetType = {}));
72
- // Enum for Asset Type
73
- var ICakeAssetProcessingStatus;
74
- (function (ICakeAssetProcessingStatus) {
75
- ICakeAssetProcessingStatus["Waiting"] = "waiting";
76
- ICakeAssetProcessingStatus["Started"] = "started";
77
- ICakeAssetProcessingStatus["Done"] = "done";
78
- ICakeAssetProcessingStatus["Failed"] = "failed";
79
- })(ICakeAssetProcessingStatus || (exports.ICakeAssetProcessingStatus = ICakeAssetProcessingStatus = {}));
@@ -1,186 +0,0 @@
1
- export * from "./fb_collections";
2
- import type { IFireDoc, ITag } from "../shared";
3
-
4
- // Cake Asset
5
-
6
- // Enum for Cake Action - used in Cake tracking
7
- export type CakeAction =
8
- | "CREATE_CAKE"
9
- | "DELETE_CAKE"
10
- | "UPDATE_CAKE"
11
- | "SHARE_CAKE";
12
- export enum ICakeAction {
13
- // Ações principais sobre o asset
14
- Create_cake_asset = "CREATE_CAKE_ASSET",
15
- Delete_cake_asset = "DELETE_CAKE_ASSET",
16
- Update_cake_asset = "UPDATE_CAKE_ASSET",
17
- Share_cake_asset = "SHARE_CAKE",
18
- }
19
-
20
- // Enum for Cake Asset Action - used in Asset tracking
21
- export type CakeAssetAction =
22
- | "CREATE_CAKE_ASSET"
23
- | "DELETE_CAKE_ASSET"
24
- | "UPDATE_CAKE_ASSET"
25
- | "PROCESS_CAKE_ASSET"
26
- | "CLASSIFY_CAKE_ASSET"
27
- | "EXTRACT_TEXT_CAKE_ASSET"
28
- | "OCR_CAKE_ASSET"
29
- | "METADATA_EXTRACTION_CAKE_ASSET"
30
- | "PROCESS_CAKE_ASSET_DONE"
31
- | "UPDATE_RELEVANCE_SCORE_CAKE_ASSET"
32
- | "UPDATE_ASSET_STATUS_CAKE_ASSET"
33
- | "UPDATE_ASSET_TAGS_CAKE_ASSET"
34
- | "PROCESS_CAKE_ASSET_FAILED"
35
- | "CLASSIFY_CAKE_ASSET_FAILED"
36
- | "EXTRACT_TEXT_CAKE_ASSET_FAILED"
37
- | "STORE_CAKE_ASSET"
38
- | "RETRIEVE_CAKE_ASSET";
39
- export enum ICakeAssetAction {
40
- // Ações principais sobre o asset
41
- Create_cake_asset = "CREATE_CAKE_ASSET",
42
- Delete_cake_asset = "DELETE_CAKE_ASSET",
43
- Update_cake_asset = "UPDATE_CAKE_ASSET",
44
-
45
- // Ações de processamento
46
- Process_cake_asset = "PROCESS_CAKE_ASSET", // Ação geral de processamento iniciada
47
- Classify_cake_asset = "CLASSIFY_CAKE_ASSET", // Classificação do asset (ex: tipo de documento, linguagem)
48
- Extract_text_cake_asset = "EXTRACT_TEXT_CAKE_ASSET", // Extração de texto do asset
49
- Ocr_cake_asset = "OCR_CAKE_ASSET", // Processamento OCR se aplicável
50
- Metadata_extraction_cake_asset = "METADATA_EXTRACTION_CAKE_ASSET", // Extração de metadados
51
- Process_cake_asset_done = "PROCESS_CAKE_ASSET_DONE", // Ação geral de processamento finalizada
52
-
53
- // Ações de atualização de metadados
54
- Update_relevance_score_cake_asset = "UPDATE_RELEVANCE_SCORE_CAKE_ASSET",
55
- Update_asset_status_cake_asset = "UPDATE_ASSET_STATUS_CAKE_ASSET", // Ex: processando, processado, erro
56
- Update_asset_tags_cake_asset = "UPDATE_ASSET_TAGS_CAKE_ASSET",
57
-
58
- // Ações relacionadas a erros
59
- Process_cake_asset_failed = "PROCESS_CAKE_ASSET_FAILED",
60
- Classify_cake_asset_failed = "CLASSIFY_CAKE_ASSET_FAILED",
61
- Extract_text_cake_asset_failed = "EXTRACT_TEXT_CAKE_ASSET_FAILED",
62
-
63
- // Ações relacionadas a armazenamento
64
- Store_cake_asset = "STORE_CAKE_ASSET", // Armazenamento do asset (ex: nuvem, banco de dados)
65
- Retrieve_cake_asset = "RETRIEVE_CAKE_ASSET", // Recuperação do asset
66
- }
67
-
68
- //Cake
69
- export type CakePermission = "private" | "tenant" | "public";
70
- export enum ICakePermission {
71
- Private = "private",
72
- Tenant = "tenant",
73
- Public = "public",
74
- }
75
-
76
- export type CakeStatus = "active" | "archived";
77
- export enum ICakeStatus {
78
- Active = "active",
79
- Archived = "archived",
80
- }
81
-
82
- export interface ICake extends IFireDoc {
83
- name: string;
84
- description?: string;
85
- status?: CakeStatus;
86
- permission?: CakePermission;
87
- assets?: ICakeAsset[] | null;
88
- tags?: ITag[] | null;
89
- }
90
- // Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus -
91
- export interface ICakeDoc extends IFireDoc {
92
- name: string;
93
- description?: string;
94
- content?: string | null;
95
- tags?: ITag[] | null;
96
- }
97
-
98
- // Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset -----
99
- // Enum for Asset Type
100
- export type CakeAssetType = "file" | "event" | "meeting" | "note" | "data";
101
-
102
- // Enum for Asset Type
103
- export enum ICakeAssetType {
104
- File = "file",
105
- Event = "event",
106
- Meeting = "meeting",
107
- Note = "note",
108
- Data = "data",
109
- }
110
- // Enum for Processing status
111
- export type CakeAssetProcessingStatus =
112
- | "waiting"
113
- | "started"
114
- | "done"
115
- | "failed";
116
-
117
- // Enum for Asset Type
118
- export enum ICakeAssetProcessingStatus {
119
- Waiting = "waiting",
120
- Started = "started",
121
- Done = "done",
122
- Failed = "failed",
123
- }
124
-
125
- // Interface for structured data - allows nested objects and mixed types
126
- interface StructuredData {
127
- [key: string]: string | number | boolean | Date | StructuredData; // Permite tipos mistos
128
- }
129
-
130
- // Generic interface for any type of asset
131
- export type ICakeAsset =
132
- | IFileAsset
133
- | ICalendarEventAsset
134
- | IMeetingAsset
135
- | INoteAsset
136
- | IStructuredDataAsset;
137
-
138
- // Base interface for all assets - extends IFireDoc (assuming this is a common interface)
139
- export interface IBaseAsset extends IFireDoc {
140
- cakeId: string;
141
- type: CakeAssetType;
142
- relevance_score: number; // Relevance score (0-1, 1 being most relevant)
143
- structured_data?: StructuredData; // Optional structured data
144
- embeddings?: number[]; // Optional embedding vector for semantic search
145
- metadata?: Record<string, any>; // Optional additional metadata
146
- processing_status?: CakeAssetProcessingStatus; // Optional processing
147
- tags?: ITag[] | null;
148
- }
149
-
150
- // Interface for file assets
151
- export interface IFileAsset extends IBaseAsset {
152
- file_name: string; // File name
153
- file_type: string; // File type (e.g., "pdf", "txt", "jpg")
154
- storage_location: string; // Path in Firebase Storage
155
- download_url: string; // Firebase Storage download url
156
- extracted_text?: string; // Extracted text (optional, populated later)
157
- }
158
-
159
- // Interface for calendar event assets
160
- export interface ICalendarEventAsset extends IBaseAsset {
161
- title: string; // Event title
162
- date: Date; // Event date
163
- start_time?: Date; // Optional start time
164
- end_time?: Date; // Optional end time
165
- location?: string; // Optional location
166
- participants?: string[]; // Optional array of participants
167
- description?: string; // Optional description
168
- }
169
-
170
- // Interface for meeting assets (extends CalendarEventAsset)
171
- export interface IMeetingAsset extends ICalendarEventAsset {
172
- agenda?: string; // Meeting agenda
173
- notes?: string; // Meeting notes
174
- }
175
-
176
- // Interface for note assets
177
- export interface INoteAsset extends IBaseAsset {
178
- title?: string; // Optional title
179
- content: string; // Note content
180
- }
181
-
182
- // Interface for structured data (JSON) assets
183
- export interface IStructuredDataAsset extends IBaseAsset {
184
- data?: object; // JSON data
185
- schema?: string; // Optional schema description
186
- }
@@ -1,2 +0,0 @@
1
- export declare const EVO_CALENDAR_APP = "evo-calendar";
2
- export declare const EVENTS_COLLECTION = "events";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EVENTS_COLLECTION = exports.EVO_CALENDAR_APP = void 0;
4
- //EVO Calendar Application Doc
5
- exports.EVO_CALENDAR_APP = "evo-calendar";
6
- //Calendar collection
7
- exports.EVENTS_COLLECTION = "events";
@@ -1,5 +0,0 @@
1
- //EVO Calendar Application Doc
2
- export const EVO_CALENDAR_APP = "evo-calendar";
3
-
4
- //Calendar collection
5
- export const EVENTS_COLLECTION = "events";
@@ -1,54 +0,0 @@
1
- export * from "./fb_collections";
2
- import type { FirestoreDocumentReference, IFireDoc, ITag } from "../shared";
3
- export type CalendarAction = "CREATE_EVENT" | "DELETE_EVENT" | "UPDATE_EVENT";
4
- export declare enum ICalendarAction {
5
- Create_event = "CREATE_EVENT",
6
- Delete_event = "DELETE_EVENT",
7
- Update_event = "UPDATE_EVENT"
8
- }
9
- export type EventStatus = "scheduled" | "completed" | "cancelled";
10
- export declare enum IEventStatus {
11
- Scheduled = "scheduled",// The event is scheduled and upcoming
12
- Completed = "completed",// The event has been completed
13
- Cancelled = "cancelled"
14
- }
15
- export type CalendarEventType = "event" | "meeting" | "workshop" | "other";
16
- export declare enum ICalendarEventType {
17
- Event = "event",// A general event type
18
- Meeting = "meeting",// A meeting event
19
- Workshop = "workshop",// A workshop event
20
- Other = "other"
21
- }
22
- export interface IEventMeeting {
23
- meetingRef?: FirestoreDocumentReference;
24
- readonly task_count?: number;
25
- readonly talkingPoints_count?: number;
26
- tags?: ITag[] | null;
27
- }
28
- export interface IRecurringEvent extends IFireDoc {
29
- title: string;
30
- description?: string;
31
- creatorName: string;
32
- creatorRef?: FirestoreDocumentReference;
33
- participants: string[];
34
- start_date: Date;
35
- end_date?: Date;
36
- type: CalendarEventType;
37
- rrule: string;
38
- exceptions: string[];
39
- }
40
- export interface IEvent extends IFireDoc {
41
- recurringRef?: FirestoreDocumentReference;
42
- title: string;
43
- description?: string;
44
- creatorName: string;
45
- creatorRef?: FirestoreDocumentReference;
46
- participantNames?: string[];
47
- participantRefs?: FirestoreDocumentReference[];
48
- start_date: Date;
49
- end_date?: Date;
50
- type: CalendarEventType;
51
- tags?: ITag[] | null;
52
- meeting?: IEventMeeting;
53
- status: EventStatus;
54
- }
@@ -1,37 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.ICalendarEventType = exports.IEventStatus = exports.ICalendarAction = void 0;
18
- __exportStar(require("./fb_collections"), exports);
19
- var ICalendarAction;
20
- (function (ICalendarAction) {
21
- ICalendarAction["Create_event"] = "CREATE_EVENT";
22
- ICalendarAction["Delete_event"] = "DELETE_EVENT";
23
- ICalendarAction["Update_event"] = "UPDATE_EVENT";
24
- })(ICalendarAction || (exports.ICalendarAction = ICalendarAction = {}));
25
- var IEventStatus;
26
- (function (IEventStatus) {
27
- IEventStatus["Scheduled"] = "scheduled";
28
- IEventStatus["Completed"] = "completed";
29
- IEventStatus["Cancelled"] = "cancelled";
30
- })(IEventStatus || (exports.IEventStatus = IEventStatus = {}));
31
- var ICalendarEventType;
32
- (function (ICalendarEventType) {
33
- ICalendarEventType["Event"] = "event";
34
- ICalendarEventType["Meeting"] = "meeting";
35
- ICalendarEventType["Workshop"] = "workshop";
36
- ICalendarEventType["Other"] = "other";
37
- })(ICalendarEventType || (exports.ICalendarEventType = ICalendarEventType = {}));
@@ -1,67 +0,0 @@
1
- export * from "./fb_collections";
2
- import type { FirestoreDocumentReference, IFireDoc, ITag } from "../shared";
3
-
4
- // ----- CalendarTypes
5
- // Enum for Calendar Action - used in Activities tracking
6
- export type CalendarAction = "CREATE_EVENT" | "DELETE_EVENT" | "UPDATE_EVENT";
7
- export enum ICalendarAction {
8
- Create_event = "CREATE_EVENT",
9
- Delete_event = "DELETE_EVENT",
10
- Update_event = "UPDATE_EVENT",
11
- }
12
-
13
- // Enum for Event Instance Status
14
- export type EventStatus = "scheduled" | "completed" | "cancelled";
15
- export enum IEventStatus {
16
- Scheduled = "scheduled", // The event is scheduled and upcoming
17
- Completed = "completed", // The event has been completed
18
- Cancelled = "cancelled", // The event has been cancelled
19
- }
20
-
21
- // Enum for Event Types
22
- export type CalendarEventType = "event" | "meeting" | "workshop" | "other";
23
- export enum ICalendarEventType {
24
- Event = "event", // A general event type
25
- Meeting = "meeting", // A meeting event
26
- Workshop = "workshop", // A workshop event
27
- Other = "other", // Any other type of event
28
- }
29
-
30
- // Interface for Meeting within a Event (meetingTasks)
31
- export interface IEventMeeting {
32
- meetingRef?: FirestoreDocumentReference; // Reference to the original task
33
- readonly task_count?: number;
34
- readonly talkingPoints_count?: number;
35
- tags?: ITag[] | null;
36
- }
37
-
38
- // Interface for Recurring Events (recurringEvents)
39
- export interface IRecurringEvent extends IFireDoc {
40
- title: string; // Title of the meeting
41
- description?: string; // Optional description of the meeting
42
- creatorName: string; // Name of the user who created the event
43
- creatorRef?: FirestoreDocumentReference; // reference to the user who created the event
44
- participants: string[]; // List of participant IDs
45
- start_date: Date; // Start date and time of the first meeting
46
- end_date?: Date; // Optional end date and time of the recurring meeting
47
- type: CalendarEventType; // Type of event
48
- rrule: string; // Recurrence rule in RRULE format
49
- exceptions: string[]; // List of instance IDs that represent exceptions
50
- }
51
-
52
- // Interface for Event Instances (eventInstances)
53
- export interface IEvent extends IFireDoc {
54
- recurringRef?: FirestoreDocumentReference; // Reference to the recurring event rule (optional)
55
- title: string; // Title of the event
56
- description?: string; // Optional description of the event
57
- creatorName: string; // Name of the user who created the event
58
- creatorRef?: FirestoreDocumentReference; // reference to the user who created the event
59
- participantNames?: string[]; // List of participant names
60
- participantRefs?: FirestoreDocumentReference[]; // List of participant references
61
- start_date: Date; // Start date and time of the event
62
- end_date?: Date; // Optional end date and time of the event
63
- type: CalendarEventType; // Type of event
64
- tags?: ITag[] | null;
65
- meeting?: IEventMeeting;
66
- status: EventStatus; // Status of the event
67
- }
@@ -1,2 +0,0 @@
1
- export declare const EVO_MEETING_APP = "evo-meeting";
2
- export declare const MEETINGS_COLLECTION = "meetings";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MEETINGS_COLLECTION = exports.EVO_MEETING_APP = void 0;
4
- //EVO Meeting Application Doc
5
- exports.EVO_MEETING_APP = "evo-meeting";
6
- //meetings collection
7
- exports.MEETINGS_COLLECTION = "meetings";
@@ -1,5 +0,0 @@
1
- //EVO Meeting Application Doc
2
- export const EVO_MEETING_APP = "evo-meeting";
3
-
4
- //meetings collection
5
- export const MEETINGS_COLLECTION = "meetings";
@@ -1,58 +0,0 @@
1
- export * from "./fb_collections";
2
- import type { FirestoreDocumentReference, IFireDoc, ITag } from "../shared";
3
- import type { TaskPriority, TaskStatus } from "../evo-task";
4
- export type MeetingAction = "CREATE_MEETING" | "DELETE_MEETING" | "UPDATE_MEETING";
5
- export declare enum IMeetingAction {
6
- Create_meeting = "CREATE_MEETING",
7
- Delete_meeting = "DELETE_MEETING",
8
- Update_meeting = "UPDATE_MEETING"
9
- }
10
- export type MeetingType = "regular" | "oneonone" | "feedback" | "presentation" | "other";
11
- export declare enum IMeetingType {
12
- Regular = "regular",// A regular meeting
13
- OneOnOne = "oneonone",// A one-on-one meeting
14
- Feedback = "feedback",// A feedback session
15
- Presentation = "presentation",// A presentation meeting
16
- Other = "other"
17
- }
18
- export interface IMeetingEvent {
19
- eventRef?: FirestoreDocumentReference;
20
- participantNames: string[];
21
- participantRefs?: FirestoreDocumentReference[];
22
- startDate: Date;
23
- endDate?: Date;
24
- }
25
- export interface IMeetingTask {
26
- taskRef?: FirestoreDocumentReference;
27
- title: string;
28
- status: TaskStatus;
29
- priority?: TaskPriority;
30
- assigneeName?: string;
31
- }
32
- export interface ITalkingPointTemplate extends IFireDoc {
33
- title: string;
34
- description?: string;
35
- tags?: ITag[] | null;
36
- }
37
- export interface IMeetingTalkingPoint {
38
- templateRef?: FirestoreDocumentReference;
39
- title: string;
40
- description?: string;
41
- tags?: ITag[] | null;
42
- discussed: boolean;
43
- notes?: string;
44
- assigneeName?: string;
45
- assigneeRef?: FirestoreDocumentReference;
46
- }
47
- export interface IMeeting extends IFireDoc {
48
- title: string;
49
- description?: string;
50
- creatorName: string;
51
- creatorRef?: FirestoreDocumentReference;
52
- event: IMeetingEvent;
53
- type: MeetingType;
54
- tasks?: IMeetingTask[];
55
- talkingPoints?: IMeetingTalkingPoint[];
56
- tags?: ITag[] | null;
57
- [key: string]: unknown;
58
- }
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.IMeetingType = exports.IMeetingAction = void 0;
18
- __exportStar(require("./fb_collections"), exports);
19
- var IMeetingAction;
20
- (function (IMeetingAction) {
21
- IMeetingAction["Create_meeting"] = "CREATE_MEETING";
22
- IMeetingAction["Delete_meeting"] = "DELETE_MEETING";
23
- IMeetingAction["Update_meeting"] = "UPDATE_MEETING";
24
- })(IMeetingAction || (exports.IMeetingAction = IMeetingAction = {}));
25
- var IMeetingType;
26
- (function (IMeetingType) {
27
- IMeetingType["Regular"] = "regular";
28
- IMeetingType["OneOnOne"] = "oneonone";
29
- IMeetingType["Feedback"] = "feedback";
30
- IMeetingType["Presentation"] = "presentation";
31
- IMeetingType["Other"] = "other";
32
- })(IMeetingType || (exports.IMeetingType = IMeetingType = {}));
@@ -1,80 +0,0 @@
1
- export * from "./fb_collections";
2
- import type { FirestoreDocumentReference, IFireDoc, ITag } from "../shared";
3
- import type { TaskPriority, TaskStatus } from "../evo-task";
4
-
5
- // ----- MeetingTypes
6
- // Enum for Meeting Action - used in Activities tracking
7
- export type MeetingAction =
8
- | "CREATE_MEETING"
9
- | "DELETE_MEETING"
10
- | "UPDATE_MEETING";
11
- export enum IMeetingAction {
12
- Create_meeting = "CREATE_MEETING",
13
- Delete_meeting = "DELETE_MEETING",
14
- Update_meeting = "UPDATE_MEETING",
15
- }
16
-
17
- export type MeetingType =
18
- | "regular"
19
- | "oneonone"
20
- | "feedback"
21
- | "presentation"
22
- | "other";
23
- export enum IMeetingType {
24
- Regular = "regular", // A regular meeting
25
- OneOnOne = "oneonone", // A one-on-one meeting
26
- Feedback = "feedback", // A feedback session
27
- Presentation = "presentation", // A presentation meeting
28
- Other = "other", // Any other type of meeting
29
- }
30
-
31
- // Interface for Event within a Meeting (meetingEvent)
32
- export interface IMeetingEvent {
33
- eventRef?: FirestoreDocumentReference; // Reference to the original event
34
- participantNames: string[]; // List of participant names
35
- participantRefs?: FirestoreDocumentReference[]; // List of participant references
36
- startDate: Date; // Start date and time of the event
37
- endDate?: Date; // Optional end date and time of the event
38
- }
39
-
40
- // Interface for Tasks within a Meeting (meetingTasks)
41
- export interface IMeetingTask {
42
- taskRef?: FirestoreDocumentReference; // Reference to the original task
43
- title: string; // Title (copied from the original task)
44
- status: TaskStatus; // Status (can be updated independently from the original task)
45
- priority?: TaskPriority; // Priority (copied from the original task)
46
- assigneeName?: string; // Name of the assignee (copied from the original task)
47
- }
48
-
49
- // Interface for Talking Point Templates (talkingPointTemplates)
50
- export interface ITalkingPointTemplate extends IFireDoc {
51
- title: string; // Title of the talking point
52
- description?: string; // Optional detailed description
53
- tags?: ITag[] | null; // Optional tags for categorization
54
- }
55
-
56
- // Interface for Talking Points within a Meeting (meetingTalkingPoints)
57
- export interface IMeetingTalkingPoint {
58
- templateRef?: FirestoreDocumentReference; // Reference to the original template
59
- title: string; // Title (can be copied from the template or edited)
60
- description?: string; // Description (can be copied from the template or edited)
61
- tags?: ITag[] | null; // Tags (can be copied from the template or edited)
62
- discussed: boolean; // Flag to indicate if the talking point was discussed
63
- notes?: string; // Optional field for notes taken during the discussion
64
- assigneeName?: string; // Name of the assignee (optional)
65
- assigneeRef?: FirestoreDocumentReference; // Reference to the assignee (optional)
66
- }
67
-
68
- // Interface for Meeting Instances (meetingInstances)
69
- export interface IMeeting extends IFireDoc {
70
- title: string; // Title of the meeting
71
- description?: string; // Optional description of the meeting
72
- creatorName: string; // Name of the user who created the meeting
73
- creatorRef?: FirestoreDocumentReference; // reference to the user who created the meeting
74
- event: IMeetingEvent;
75
- type: MeetingType; // Type of meeting
76
- tasks?: IMeetingTask[];
77
- talkingPoints?: IMeetingTalkingPoint[];
78
- tags?: ITag[] | null;
79
- [key: string]: unknown; // index signature
80
- }