@eventcatalog/sdk 2.11.0 → 2.12.1
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.
- package/README.md +86 -1
- package/dist/cli/index.d.mts +1 -0
- package/dist/cli/index.d.ts +1 -0
- package/dist/{eventcatalog.js → cli/index.js} +588 -378
- package/dist/cli/index.js.map +1 -0
- package/dist/{eventcatalog.mjs → cli/index.mjs} +666 -436
- package/dist/cli/index.mjs.map +1 -0
- package/dist/cli-docs.d.mts +43 -0
- package/dist/cli-docs.d.ts +43 -0
- package/dist/cli-docs.js +1614 -0
- package/dist/cli-docs.js.map +1 -0
- package/dist/cli-docs.mjs +1586 -0
- package/dist/cli-docs.mjs.map +1 -0
- package/dist/index.d.mts +443 -25
- package/dist/index.d.ts +443 -25
- package/dist/index.js +204 -121
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +204 -121
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -4
- package/dist/channels.d.mts +0 -214
- package/dist/channels.d.ts +0 -214
- package/dist/channels.js +0 -432
- package/dist/channels.js.map +0 -1
- package/dist/channels.mjs +0 -384
- package/dist/channels.mjs.map +0 -1
- package/dist/commands.d.mts +0 -274
- package/dist/commands.d.ts +0 -274
- package/dist/commands.js +0 -394
- package/dist/commands.js.map +0 -1
- package/dist/commands.mjs +0 -350
- package/dist/commands.mjs.map +0 -1
- package/dist/containers.d.mts +0 -179
- package/dist/containers.d.ts +0 -179
- package/dist/containers.js +0 -388
- package/dist/containers.js.map +0 -1
- package/dist/containers.mjs +0 -345
- package/dist/containers.mjs.map +0 -1
- package/dist/custom-docs.d.mts +0 -89
- package/dist/custom-docs.d.ts +0 -89
- package/dist/custom-docs.js +0 -164
- package/dist/custom-docs.js.map +0 -1
- package/dist/custom-docs.mjs +0 -122
- package/dist/custom-docs.mjs.map +0 -1
- package/dist/data-products.d.mts +0 -225
- package/dist/data-products.d.ts +0 -225
- package/dist/data-products.js +0 -375
- package/dist/data-products.js.map +0 -1
- package/dist/data-products.mjs +0 -332
- package/dist/data-products.mjs.map +0 -1
- package/dist/data-stores.d.mts +0 -179
- package/dist/data-stores.d.ts +0 -179
- package/dist/data-stores.js +0 -401
- package/dist/data-stores.js.map +0 -1
- package/dist/data-stores.mjs +0 -356
- package/dist/data-stores.mjs.map +0 -1
- package/dist/domains.d.mts +0 -347
- package/dist/domains.d.ts +0 -347
- package/dist/domains.js +0 -547
- package/dist/domains.js.map +0 -1
- package/dist/domains.mjs +0 -498
- package/dist/domains.mjs.map +0 -1
- package/dist/entities.d.mts +0 -174
- package/dist/entities.d.ts +0 -174
- package/dist/entities.js +0 -348
- package/dist/entities.js.map +0 -1
- package/dist/entities.mjs +0 -307
- package/dist/entities.mjs.map +0 -1
- package/dist/eventcatalog.d.mts +0 -21
- package/dist/eventcatalog.d.ts +0 -21
- package/dist/eventcatalog.js.map +0 -1
- package/dist/eventcatalog.mjs.map +0 -1
- package/dist/events.d.mts +0 -276
- package/dist/events.d.ts +0 -276
- package/dist/events.js +0 -393
- package/dist/events.js.map +0 -1
- package/dist/events.mjs +0 -349
- package/dist/events.mjs.map +0 -1
- package/dist/messages.d.mts +0 -65
- package/dist/messages.d.ts +0 -65
- package/dist/messages.js +0 -312
- package/dist/messages.js.map +0 -1
- package/dist/messages.mjs +0 -269
- package/dist/messages.mjs.map +0 -1
- package/dist/queries.d.mts +0 -276
- package/dist/queries.d.ts +0 -276
- package/dist/queries.js +0 -394
- package/dist/queries.js.map +0 -1
- package/dist/queries.mjs +0 -350
- package/dist/queries.mjs.map +0 -1
- package/dist/services.d.mts +0 -384
- package/dist/services.d.ts +0 -384
- package/dist/services.js +0 -577
- package/dist/services.js.map +0 -1
- package/dist/services.mjs +0 -526
- package/dist/services.mjs.map +0 -1
- package/dist/teams.d.mts +0 -90
- package/dist/teams.d.ts +0 -90
- package/dist/teams.js +0 -246
- package/dist/teams.js.map +0 -1
- package/dist/teams.mjs +0 -202
- package/dist/teams.mjs.map +0 -1
- package/dist/types.d.d.mts +0 -331
- package/dist/types.d.d.ts +0 -331
- package/dist/types.d.js +0 -19
- package/dist/types.d.js.map +0 -1
- package/dist/types.d.mjs +0 -1
- package/dist/types.d.mjs.map +0 -1
- package/dist/users.d.mts +0 -83
- package/dist/users.d.ts +0 -83
- package/dist/users.js +0 -127
- package/dist/users.js.map +0 -1
- package/dist/users.mjs +0 -88
- package/dist/users.mjs.map +0 -1
package/dist/data-stores.d.mts
DELETED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { Container } from './types.d.mjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Returns a data store (e.g. database, cache, etc.) from EventCatalog.
|
|
5
|
-
*
|
|
6
|
-
* You can optionally specify a version to get a specific version of the data store
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* import utils from '@eventcatalog/utils';
|
|
11
|
-
*
|
|
12
|
-
* const { getContainer } = utils('/path/to/eventcatalog');
|
|
13
|
-
*
|
|
14
|
-
* // Gets the latest version of the data store
|
|
15
|
-
* const container = await getDataStore('orders-db');
|
|
16
|
-
*
|
|
17
|
-
* // Gets a version of the entity
|
|
18
|
-
* const container = await getDataStore('orders-db', '0.0.1');
|
|
19
|
-
*
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
declare const getDataStore: (directory: string) => (id: string, version?: string) => Promise<Container>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns all data stores (e.g. databases, caches, etc.) from EventCatalog.
|
|
25
|
-
*
|
|
26
|
-
* You can optionally specify if you want to get the latest version of the data stores.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* import utils from '@eventcatalog/utils';
|
|
31
|
-
*
|
|
32
|
-
* const { getDataStores } = utils('/path/to/eventcatalog');
|
|
33
|
-
*
|
|
34
|
-
* // Gets all data stores (and versions) from the catalog
|
|
35
|
-
* const containers = await getDataStores();
|
|
36
|
-
*
|
|
37
|
-
* // Gets all data stores (only latest version) from the catalog
|
|
38
|
-
* const containers = await getDataStores({ latestOnly: true });
|
|
39
|
-
*
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
declare const getDataStores: (directory: string) => (options?: {
|
|
43
|
-
latestOnly?: boolean;
|
|
44
|
-
}) => Promise<Container[]>;
|
|
45
|
-
/**
|
|
46
|
-
* Write a data store (e.g. database, cache, etc.) to EventCatalog.
|
|
47
|
-
*/
|
|
48
|
-
declare const writeDataStore: (directory: string) => (data: Container, options?: {
|
|
49
|
-
path?: string;
|
|
50
|
-
override?: boolean;
|
|
51
|
-
versionExistingContent?: boolean;
|
|
52
|
-
format?: "md" | "mdx";
|
|
53
|
-
}) => Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* Version an data store (e.g. database, cache, etc.) by its id.
|
|
56
|
-
*
|
|
57
|
-
* Takes the latest data store and moves it to a versioned directory.
|
|
58
|
-
* All files with this data store are also versioned (e.g /containers/orders-db/schema.json)
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* import utils from '@eventcatalog/utils';
|
|
63
|
-
*
|
|
64
|
-
* const { versionDataStore } = utils('/path/to/eventcatalog');
|
|
65
|
-
*
|
|
66
|
-
* // moves the latest orders-db data store to a versioned directory
|
|
67
|
-
* // the version within that data store is used as the version number.
|
|
68
|
-
* await versionDataStore('orders-db');
|
|
69
|
-
*
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
|
-
declare const versionDataStore: (directory: string) => (id: string) => Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Delete an data store (e.g. database, cache, etc.) at its given path.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```ts
|
|
78
|
-
* import utils from '@eventcatalog/utils';
|
|
79
|
-
*
|
|
80
|
-
* const { rmDataStore } = utils('/path/to/eventcatalog');
|
|
81
|
-
*
|
|
82
|
-
* // removes an data store at the given path (containers dir is appended to the given path)
|
|
83
|
-
* // Removes the data store at containers/orders-db
|
|
84
|
-
* await rmDataStore('/orders-db');
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
declare const rmDataStore: (directory: string) => (path: string) => Promise<void>;
|
|
88
|
-
/**
|
|
89
|
-
* Delete an data store (e.g. database, cache, etc.) by its id.
|
|
90
|
-
*
|
|
91
|
-
* Optionally specify a version to delete a specific version of the data store.
|
|
92
|
-
*
|
|
93
|
-
* @example
|
|
94
|
-
* ```ts
|
|
95
|
-
* import utils from '@eventcatalog/utils';
|
|
96
|
-
*
|
|
97
|
-
* const { rmDataStoreById } = utils('/path/to/eventcatalog');
|
|
98
|
-
*
|
|
99
|
-
* // deletes the latest orders-db data store
|
|
100
|
-
* await rmDataStoreById('orders-db');
|
|
101
|
-
*
|
|
102
|
-
* // deletes a specific version of the orders-db data store
|
|
103
|
-
* await rmDataStoreById('orders-db', '0.0.1');
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
declare const rmDataStoreById: (directory: string) => (id: string, version?: string, persistFiles?: boolean) => Promise<void>;
|
|
107
|
-
/**
|
|
108
|
-
* Check to see if the catalog has a version for the given data store (e.g. database, cache, etc.).
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* ```ts
|
|
112
|
-
* import utils from '@eventcatalog/utils';
|
|
113
|
-
*
|
|
114
|
-
* const { dataStoreHasVersion } = utils('/path/to/eventcatalog');
|
|
115
|
-
*
|
|
116
|
-
* // returns true if version is found for the given data store and version (supports semver)
|
|
117
|
-
* await dataStoreHasVersion('orders-db', '0.0.1');
|
|
118
|
-
* await dataStoreHasVersion('orders-db', 'latest');
|
|
119
|
-
* await dataStoreHasVersion('orders-db', '0.0.x');
|
|
120
|
-
*
|
|
121
|
-
* ```
|
|
122
|
-
*/
|
|
123
|
-
declare const dataStoreHasVersion: (directory: string) => (id: string, version?: string) => Promise<boolean>;
|
|
124
|
-
/**
|
|
125
|
-
* Add a file to a data store (e.g. database, cache, etc.) by it's id.
|
|
126
|
-
*
|
|
127
|
-
* Optionally specify a version to add a file to a specific version of the data store.
|
|
128
|
-
*
|
|
129
|
-
* @example
|
|
130
|
-
* ```ts
|
|
131
|
-
* import utils from '@eventcatalog/utils';
|
|
132
|
-
*
|
|
133
|
-
* const { addFileToDataStore } = utils('/path/to/eventcatalog');
|
|
134
|
-
*
|
|
135
|
-
* // adds a file to the latest InventoryAdjusted data store
|
|
136
|
-
* await addFileToDataStore('InventoryAdjusted', { content: 'Hello world', fileName: 'hello.txt' });
|
|
137
|
-
*
|
|
138
|
-
* // adds a file to a specific version of the InventoryAdjusted data store
|
|
139
|
-
* await addFileToDataStore('InventoryAdjusted', { content: 'Hello world', fileName: 'hello.txt' }, '0.0.1');
|
|
140
|
-
*
|
|
141
|
-
* ```
|
|
142
|
-
*/
|
|
143
|
-
declare const addFileToDataStore: (directory: string) => (id: string, file: {
|
|
144
|
-
content: string;
|
|
145
|
-
fileName: string;
|
|
146
|
-
}, version?: string) => Promise<void>;
|
|
147
|
-
/**
|
|
148
|
-
* Write an data store (e.g. database, cache, etc.) to a service in EventCatalog.
|
|
149
|
-
*
|
|
150
|
-
* You can optionally override the path of the data store.
|
|
151
|
-
*
|
|
152
|
-
* @example
|
|
153
|
-
* ```ts
|
|
154
|
-
* import utils from '@eventcatalog/utils';
|
|
155
|
-
*
|
|
156
|
-
* const { writeDataStoreToService } = utils('/path/to/eventcatalog');
|
|
157
|
-
*
|
|
158
|
-
* // Write a data store to a given service in the catalog
|
|
159
|
-
* // Data store would be written to services/Inventory/containers/orders-db
|
|
160
|
-
* await writeDataStoreToService({
|
|
161
|
-
* id: 'orders-db',
|
|
162
|
-
* name: 'Orders DB',
|
|
163
|
-
* version: '0.0.1',
|
|
164
|
-
* summary: 'This is a summary',
|
|
165
|
-
* markdown: '# Hello world',
|
|
166
|
-
* container_type: 'database',
|
|
167
|
-
* }, { id: 'Inventory' });
|
|
168
|
-
* ```
|
|
169
|
-
*/
|
|
170
|
-
declare const writeDataStoreToService: (directory: string) => (container: Container, service: {
|
|
171
|
-
id: string;
|
|
172
|
-
version?: string;
|
|
173
|
-
}, options?: {
|
|
174
|
-
path?: string;
|
|
175
|
-
format?: "md" | "mdx";
|
|
176
|
-
override?: boolean;
|
|
177
|
-
}) => Promise<void>;
|
|
178
|
-
|
|
179
|
-
export { addFileToDataStore, dataStoreHasVersion, getDataStore, getDataStores, rmDataStore, rmDataStoreById, versionDataStore, writeDataStore, writeDataStoreToService };
|
package/dist/data-stores.d.ts
DELETED
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { Container } from './types.d.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Returns a data store (e.g. database, cache, etc.) from EventCatalog.
|
|
5
|
-
*
|
|
6
|
-
* You can optionally specify a version to get a specific version of the data store
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```ts
|
|
10
|
-
* import utils from '@eventcatalog/utils';
|
|
11
|
-
*
|
|
12
|
-
* const { getContainer } = utils('/path/to/eventcatalog');
|
|
13
|
-
*
|
|
14
|
-
* // Gets the latest version of the data store
|
|
15
|
-
* const container = await getDataStore('orders-db');
|
|
16
|
-
*
|
|
17
|
-
* // Gets a version of the entity
|
|
18
|
-
* const container = await getDataStore('orders-db', '0.0.1');
|
|
19
|
-
*
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
declare const getDataStore: (directory: string) => (id: string, version?: string) => Promise<Container>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns all data stores (e.g. databases, caches, etc.) from EventCatalog.
|
|
25
|
-
*
|
|
26
|
-
* You can optionally specify if you want to get the latest version of the data stores.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```ts
|
|
30
|
-
* import utils from '@eventcatalog/utils';
|
|
31
|
-
*
|
|
32
|
-
* const { getDataStores } = utils('/path/to/eventcatalog');
|
|
33
|
-
*
|
|
34
|
-
* // Gets all data stores (and versions) from the catalog
|
|
35
|
-
* const containers = await getDataStores();
|
|
36
|
-
*
|
|
37
|
-
* // Gets all data stores (only latest version) from the catalog
|
|
38
|
-
* const containers = await getDataStores({ latestOnly: true });
|
|
39
|
-
*
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
declare const getDataStores: (directory: string) => (options?: {
|
|
43
|
-
latestOnly?: boolean;
|
|
44
|
-
}) => Promise<Container[]>;
|
|
45
|
-
/**
|
|
46
|
-
* Write a data store (e.g. database, cache, etc.) to EventCatalog.
|
|
47
|
-
*/
|
|
48
|
-
declare const writeDataStore: (directory: string) => (data: Container, options?: {
|
|
49
|
-
path?: string;
|
|
50
|
-
override?: boolean;
|
|
51
|
-
versionExistingContent?: boolean;
|
|
52
|
-
format?: "md" | "mdx";
|
|
53
|
-
}) => Promise<void>;
|
|
54
|
-
/**
|
|
55
|
-
* Version an data store (e.g. database, cache, etc.) by its id.
|
|
56
|
-
*
|
|
57
|
-
* Takes the latest data store and moves it to a versioned directory.
|
|
58
|
-
* All files with this data store are also versioned (e.g /containers/orders-db/schema.json)
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* import utils from '@eventcatalog/utils';
|
|
63
|
-
*
|
|
64
|
-
* const { versionDataStore } = utils('/path/to/eventcatalog');
|
|
65
|
-
*
|
|
66
|
-
* // moves the latest orders-db data store to a versioned directory
|
|
67
|
-
* // the version within that data store is used as the version number.
|
|
68
|
-
* await versionDataStore('orders-db');
|
|
69
|
-
*
|
|
70
|
-
* ```
|
|
71
|
-
*/
|
|
72
|
-
declare const versionDataStore: (directory: string) => (id: string) => Promise<void>;
|
|
73
|
-
/**
|
|
74
|
-
* Delete an data store (e.g. database, cache, etc.) at its given path.
|
|
75
|
-
*
|
|
76
|
-
* @example
|
|
77
|
-
* ```ts
|
|
78
|
-
* import utils from '@eventcatalog/utils';
|
|
79
|
-
*
|
|
80
|
-
* const { rmDataStore } = utils('/path/to/eventcatalog');
|
|
81
|
-
*
|
|
82
|
-
* // removes an data store at the given path (containers dir is appended to the given path)
|
|
83
|
-
* // Removes the data store at containers/orders-db
|
|
84
|
-
* await rmDataStore('/orders-db');
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
declare const rmDataStore: (directory: string) => (path: string) => Promise<void>;
|
|
88
|
-
/**
|
|
89
|
-
* Delete an data store (e.g. database, cache, etc.) by its id.
|
|
90
|
-
*
|
|
91
|
-
* Optionally specify a version to delete a specific version of the data store.
|
|
92
|
-
*
|
|
93
|
-
* @example
|
|
94
|
-
* ```ts
|
|
95
|
-
* import utils from '@eventcatalog/utils';
|
|
96
|
-
*
|
|
97
|
-
* const { rmDataStoreById } = utils('/path/to/eventcatalog');
|
|
98
|
-
*
|
|
99
|
-
* // deletes the latest orders-db data store
|
|
100
|
-
* await rmDataStoreById('orders-db');
|
|
101
|
-
*
|
|
102
|
-
* // deletes a specific version of the orders-db data store
|
|
103
|
-
* await rmDataStoreById('orders-db', '0.0.1');
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
declare const rmDataStoreById: (directory: string) => (id: string, version?: string, persistFiles?: boolean) => Promise<void>;
|
|
107
|
-
/**
|
|
108
|
-
* Check to see if the catalog has a version for the given data store (e.g. database, cache, etc.).
|
|
109
|
-
*
|
|
110
|
-
* @example
|
|
111
|
-
* ```ts
|
|
112
|
-
* import utils from '@eventcatalog/utils';
|
|
113
|
-
*
|
|
114
|
-
* const { dataStoreHasVersion } = utils('/path/to/eventcatalog');
|
|
115
|
-
*
|
|
116
|
-
* // returns true if version is found for the given data store and version (supports semver)
|
|
117
|
-
* await dataStoreHasVersion('orders-db', '0.0.1');
|
|
118
|
-
* await dataStoreHasVersion('orders-db', 'latest');
|
|
119
|
-
* await dataStoreHasVersion('orders-db', '0.0.x');
|
|
120
|
-
*
|
|
121
|
-
* ```
|
|
122
|
-
*/
|
|
123
|
-
declare const dataStoreHasVersion: (directory: string) => (id: string, version?: string) => Promise<boolean>;
|
|
124
|
-
/**
|
|
125
|
-
* Add a file to a data store (e.g. database, cache, etc.) by it's id.
|
|
126
|
-
*
|
|
127
|
-
* Optionally specify a version to add a file to a specific version of the data store.
|
|
128
|
-
*
|
|
129
|
-
* @example
|
|
130
|
-
* ```ts
|
|
131
|
-
* import utils from '@eventcatalog/utils';
|
|
132
|
-
*
|
|
133
|
-
* const { addFileToDataStore } = utils('/path/to/eventcatalog');
|
|
134
|
-
*
|
|
135
|
-
* // adds a file to the latest InventoryAdjusted data store
|
|
136
|
-
* await addFileToDataStore('InventoryAdjusted', { content: 'Hello world', fileName: 'hello.txt' });
|
|
137
|
-
*
|
|
138
|
-
* // adds a file to a specific version of the InventoryAdjusted data store
|
|
139
|
-
* await addFileToDataStore('InventoryAdjusted', { content: 'Hello world', fileName: 'hello.txt' }, '0.0.1');
|
|
140
|
-
*
|
|
141
|
-
* ```
|
|
142
|
-
*/
|
|
143
|
-
declare const addFileToDataStore: (directory: string) => (id: string, file: {
|
|
144
|
-
content: string;
|
|
145
|
-
fileName: string;
|
|
146
|
-
}, version?: string) => Promise<void>;
|
|
147
|
-
/**
|
|
148
|
-
* Write an data store (e.g. database, cache, etc.) to a service in EventCatalog.
|
|
149
|
-
*
|
|
150
|
-
* You can optionally override the path of the data store.
|
|
151
|
-
*
|
|
152
|
-
* @example
|
|
153
|
-
* ```ts
|
|
154
|
-
* import utils from '@eventcatalog/utils';
|
|
155
|
-
*
|
|
156
|
-
* const { writeDataStoreToService } = utils('/path/to/eventcatalog');
|
|
157
|
-
*
|
|
158
|
-
* // Write a data store to a given service in the catalog
|
|
159
|
-
* // Data store would be written to services/Inventory/containers/orders-db
|
|
160
|
-
* await writeDataStoreToService({
|
|
161
|
-
* id: 'orders-db',
|
|
162
|
-
* name: 'Orders DB',
|
|
163
|
-
* version: '0.0.1',
|
|
164
|
-
* summary: 'This is a summary',
|
|
165
|
-
* markdown: '# Hello world',
|
|
166
|
-
* container_type: 'database',
|
|
167
|
-
* }, { id: 'Inventory' });
|
|
168
|
-
* ```
|
|
169
|
-
*/
|
|
170
|
-
declare const writeDataStoreToService: (directory: string) => (container: Container, service: {
|
|
171
|
-
id: string;
|
|
172
|
-
version?: string;
|
|
173
|
-
}, options?: {
|
|
174
|
-
path?: string;
|
|
175
|
-
format?: "md" | "mdx";
|
|
176
|
-
override?: boolean;
|
|
177
|
-
}) => Promise<void>;
|
|
178
|
-
|
|
179
|
-
export { addFileToDataStore, dataStoreHasVersion, getDataStore, getDataStores, rmDataStore, rmDataStoreById, versionDataStore, writeDataStore, writeDataStoreToService };
|