evo360-types 1.3.159 → 1.3.160

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.
@@ -1,6 +1,14 @@
1
1
  export * from "../../evo-people/fb_collections";
2
2
  import type { FirestoreDocumentReference, IFireDoc, ITag } from "../../shared";
3
3
  import type { IAppointmentCounters } from "../people";
4
+ export declare const EvoMedCalendarPermissions: {
5
+ readonly List: "evo_med_calendar_read";
6
+ readonly Get: "evo_med_calendar_read";
7
+ readonly Create: "evo_med_calendar_write";
8
+ readonly Update: "evo_med_calendar_write";
9
+ readonly Delete: "evo_med_calendar_write";
10
+ };
11
+ export type EvoMedCalendarPermissions = (typeof EvoMedCalendarPermissions)[keyof typeof EvoMedCalendarPermissions];
4
12
  export interface IMedCalendar extends IFireDoc {
5
13
  calendarId: string;
6
14
  color?: string;
@@ -14,4 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.EvoMedCalendarPermissions = void 0;
17
18
  __exportStar(require("../../evo-people/fb_collections"), exports);
19
+ // Permissões para o calendário
20
+ exports.EvoMedCalendarPermissions = {
21
+ List: "evo_med_calendar_read",
22
+ Get: "evo_med_calendar_read",
23
+ Create: "evo_med_calendar_write",
24
+ Update: "evo_med_calendar_write",
25
+ Delete: "evo_med_calendar_write",
26
+ };
@@ -2,8 +2,19 @@ export * from "../../evo-people/fb_collections";
2
2
  import type { FirestoreDocumentReference, IFireDoc, ITag } from "../../shared";
3
3
  import type { IAppointmentCounters } from "../people";
4
4
 
5
- // ----- MedCalendarTypes
5
+ // Permissões para o calendário
6
+ export const EvoMedCalendarPermissions = {
7
+ List: "evo_med_calendar_read",
8
+ Get: "evo_med_calendar_read",
9
+ Create: "evo_med_calendar_write",
10
+ Update: "evo_med_calendar_write",
11
+ Delete: "evo_med_calendar_write",
12
+ } as const;
13
+
14
+ export type EvoMedCalendarPermissions =
15
+ (typeof EvoMedCalendarPermissions)[keyof typeof EvoMedCalendarPermissions];
6
16
 
17
+ // ----- MedCalendarTypes
7
18
  export interface IMedCalendar extends IFireDoc {
8
19
  calendarId: string;
9
20
  color?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.159",
3
+ "version": "1.3.160",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",