evo360-types 1.1.85 → 1.1.86
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,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CAKE_ASSETS_COLLECTION = exports.CAKES_COLLECTION = exports.EVO_CAKE_APP = void 0;
|
|
3
|
+
exports.CAKE_ASSETS_COLLECTION = exports.CAKE_DOCS_COLLECTION = exports.CAKES_COLLECTION = exports.EVO_CAKE_APP = void 0;
|
|
4
4
|
//EVO Activity Application Doc
|
|
5
5
|
exports.EVO_CAKE_APP = "evo-cake";
|
|
6
6
|
//Activities collection
|
|
7
7
|
exports.CAKES_COLLECTION = "cakes";
|
|
8
|
+
exports.CAKE_DOCS_COLLECTION = "docs"; //consensus documents
|
|
8
9
|
exports.CAKE_ASSETS_COLLECTION = "assets";
|
|
@@ -19,6 +19,18 @@ export declare enum ICakeAssetAction {
|
|
|
19
19
|
Store_cake_asset = "STORE_CAKE_ASSET",
|
|
20
20
|
Retrieve_cake_asset = "RETRIEVE_CAKE_ASSET"
|
|
21
21
|
}
|
|
22
|
+
export interface ICake extends IFireDoc {
|
|
23
|
+
name: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
assets?: ICakeAsset[] | null;
|
|
26
|
+
tags?: ITag[] | null;
|
|
27
|
+
}
|
|
28
|
+
export interface ICakeDoc extends IFireDoc {
|
|
29
|
+
name: string;
|
|
30
|
+
description?: string;
|
|
31
|
+
content?: string;
|
|
32
|
+
tags?: ITag[] | null;
|
|
33
|
+
}
|
|
22
34
|
export type CakeAssetType = "file" | "event" | "meeting" | "note" | "data";
|
|
23
35
|
export declare enum ICakeAssetType {
|
|
24
36
|
File = "file",
|
|
@@ -49,6 +49,21 @@ export enum ICakeAssetAction {
|
|
|
49
49
|
Retrieve_cake_asset = "RETRIEVE_CAKE_ASSET", // Recuperação do asset
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
export interface ICake extends IFireDoc {
|
|
53
|
+
name: string;
|
|
54
|
+
description?: string;
|
|
55
|
+
assets?: ICakeAsset[] | null;
|
|
56
|
+
tags?: ITag[] | null;
|
|
57
|
+
}
|
|
58
|
+
// Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus - Consensus -
|
|
59
|
+
export interface ICakeDoc extends IFireDoc {
|
|
60
|
+
name: string;
|
|
61
|
+
description?: string;
|
|
62
|
+
content?: string;
|
|
63
|
+
tags?: ITag[] | null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset ----- Asset -----
|
|
52
67
|
// Enum for Asset Type
|
|
53
68
|
export type CakeAssetType = "file" | "event" | "meeting" | "note" | "data";
|
|
54
69
|
|