evo360-types 1.3.454 → 1.3.456
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.
|
@@ -3,3 +3,17 @@ export declare const EVO_INTEGRATIONS_PLATFORM_DOC = "evo-integrations";
|
|
|
3
3
|
export declare const ADAPTERS_COLLECTION = "adapters";
|
|
4
4
|
export declare const INTEGRATION_CREDENTIALS_COLLECTION = "integration-credentials";
|
|
5
5
|
export declare const SYNC_STATES_COLLECTION = "sync-states";
|
|
6
|
+
/**
|
|
7
|
+
* Per-WEEK sync state, subcollection of the calendar's sync state (feat-098).
|
|
8
|
+
* Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}/sync-weeks/{sunday}
|
|
9
|
+
*
|
|
10
|
+
* O nome precisa ser ESPECÍFICO, não descritivo. A TTL policy do Firestore que
|
|
11
|
+
* apaga estes docs é configurada por COLLECTION GROUP — ou seja, ela alcança
|
|
12
|
+
* toda coleção com este id, em qualquer profundidade do banco. Um nome genérico
|
|
13
|
+
* como `weeks` faria qualquer subcoleção homônima criada no futuro, com um campo
|
|
14
|
+
* `expires_at`, ter os documentos apagados em silêncio.
|
|
15
|
+
*
|
|
16
|
+
* Por isso mora aqui e não como string solta: o backend, as security rules e o
|
|
17
|
+
* FE têm que concordar, e a policy de TTL é amarrada exatamente a este valor.
|
|
18
|
+
*/
|
|
19
|
+
export declare const SYNC_WEEKS_COLLECTION = "sync-weeks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SYNC_STATES_COLLECTION = exports.INTEGRATION_CREDENTIALS_COLLECTION = exports.ADAPTERS_COLLECTION = exports.EVO_INTEGRATIONS_PLATFORM_DOC = exports.PLATFORM_COLLECTION = void 0;
|
|
3
|
+
exports.SYNC_WEEKS_COLLECTION = exports.SYNC_STATES_COLLECTION = exports.INTEGRATION_CREDENTIALS_COLLECTION = exports.ADAPTERS_COLLECTION = exports.EVO_INTEGRATIONS_PLATFORM_DOC = exports.PLATFORM_COLLECTION = void 0;
|
|
4
4
|
// Platform-level (Nexus-managed, cross-tenant) adapter catalog
|
|
5
5
|
// Path: /platform/evo-integrations/adapters/{adapter_id}
|
|
6
6
|
exports.PLATFORM_COLLECTION = "platform";
|
|
@@ -12,3 +12,17 @@ exports.INTEGRATION_CREDENTIALS_COLLECTION = "integration-credentials";
|
|
|
12
12
|
// Per-calendar sync state (1 doc per calendar).
|
|
13
13
|
// Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}
|
|
14
14
|
exports.SYNC_STATES_COLLECTION = "sync-states";
|
|
15
|
+
/**
|
|
16
|
+
* Per-WEEK sync state, subcollection of the calendar's sync state (feat-098).
|
|
17
|
+
* Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}/sync-weeks/{sunday}
|
|
18
|
+
*
|
|
19
|
+
* O nome precisa ser ESPECÍFICO, não descritivo. A TTL policy do Firestore que
|
|
20
|
+
* apaga estes docs é configurada por COLLECTION GROUP — ou seja, ela alcança
|
|
21
|
+
* toda coleção com este id, em qualquer profundidade do banco. Um nome genérico
|
|
22
|
+
* como `weeks` faria qualquer subcoleção homônima criada no futuro, com um campo
|
|
23
|
+
* `expires_at`, ter os documentos apagados em silêncio.
|
|
24
|
+
*
|
|
25
|
+
* Por isso mora aqui e não como string solta: o backend, as security rules e o
|
|
26
|
+
* FE têm que concordar, e a policy de TTL é amarrada exatamente a este valor.
|
|
27
|
+
*/
|
|
28
|
+
exports.SYNC_WEEKS_COLLECTION = "sync-weeks";
|
|
@@ -11,3 +11,18 @@ export const INTEGRATION_CREDENTIALS_COLLECTION = "integration-credentials";
|
|
|
11
11
|
// Per-calendar sync state (1 doc per calendar).
|
|
12
12
|
// Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}
|
|
13
13
|
export const SYNC_STATES_COLLECTION = "sync-states";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Per-WEEK sync state, subcollection of the calendar's sync state (feat-098).
|
|
17
|
+
* Path: /tenants/{t}/apps/evo-med/sync-states/{calendar_id}/sync-weeks/{sunday}
|
|
18
|
+
*
|
|
19
|
+
* O nome precisa ser ESPECÍFICO, não descritivo. A TTL policy do Firestore que
|
|
20
|
+
* apaga estes docs é configurada por COLLECTION GROUP — ou seja, ela alcança
|
|
21
|
+
* toda coleção com este id, em qualquer profundidade do banco. Um nome genérico
|
|
22
|
+
* como `weeks` faria qualquer subcoleção homônima criada no futuro, com um campo
|
|
23
|
+
* `expires_at`, ter os documentos apagados em silêncio.
|
|
24
|
+
*
|
|
25
|
+
* Por isso mora aqui e não como string solta: o backend, as security rules e o
|
|
26
|
+
* FE têm que concordar, e a policy de TTL é amarrada exatamente a este valor.
|
|
27
|
+
*/
|
|
28
|
+
export const SYNC_WEEKS_COLLECTION = "sync-weeks";
|