deesse 0.0.25 → 0.0.27
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/dist/collections/index.d.mts +9 -6
- package/dist/collections/index.d.ts +9 -6
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +20 -2
- package/dist/index.mjs +16 -1
- package/package.json +1 -1
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
type Collection = {
|
|
2
|
+
name: string;
|
|
2
3
|
fields: Field[];
|
|
3
4
|
};
|
|
4
5
|
type Field = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
name: {
|
|
7
|
+
type: undefined;
|
|
8
|
+
permissions: {
|
|
9
|
+
create: string[];
|
|
10
|
+
read: string[];
|
|
11
|
+
update: string[];
|
|
12
|
+
delete: string[];
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
};
|
|
13
16
|
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
type Collection = {
|
|
2
|
+
name: string;
|
|
2
3
|
fields: Field[];
|
|
3
4
|
};
|
|
4
5
|
type Field = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
name: {
|
|
7
|
+
type: undefined;
|
|
8
|
+
permissions: {
|
|
9
|
+
create: string[];
|
|
10
|
+
read: string[];
|
|
11
|
+
update: string[];
|
|
12
|
+
delete: string[];
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
};
|
|
13
16
|
|
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -20,7 +20,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
|
-
buildConfig: () => buildConfig
|
|
23
|
+
buildConfig: () => buildConfig,
|
|
24
|
+
collection: () => collection,
|
|
25
|
+
field: () => field,
|
|
26
|
+
text: () => text
|
|
24
27
|
});
|
|
25
28
|
module.exports = __toCommonJS(index_exports);
|
|
26
29
|
|
|
@@ -28,7 +31,22 @@ module.exports = __toCommonJS(index_exports);
|
|
|
28
31
|
var buildConfig = (config) => {
|
|
29
32
|
return config;
|
|
30
33
|
};
|
|
34
|
+
|
|
35
|
+
// src/collections/fields.ts
|
|
36
|
+
var field = (field2) => {
|
|
37
|
+
return field2;
|
|
38
|
+
};
|
|
39
|
+
var text = () => {
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// src/collections/collections.ts
|
|
43
|
+
var collection = (collection2) => {
|
|
44
|
+
return collection2;
|
|
45
|
+
};
|
|
31
46
|
// Annotate the CommonJS export names for ESM import in node:
|
|
32
47
|
0 && (module.exports = {
|
|
33
|
-
buildConfig
|
|
48
|
+
buildConfig,
|
|
49
|
+
collection,
|
|
50
|
+
field,
|
|
51
|
+
text
|
|
34
52
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
var buildConfig = (config) => {
|
|
3
3
|
return config;
|
|
4
4
|
};
|
|
5
|
+
|
|
6
|
+
// src/collections/fields.ts
|
|
7
|
+
var field = (field2) => {
|
|
8
|
+
return field2;
|
|
9
|
+
};
|
|
10
|
+
var text = () => {
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
// src/collections/collections.ts
|
|
14
|
+
var collection = (collection2) => {
|
|
15
|
+
return collection2;
|
|
16
|
+
};
|
|
5
17
|
export {
|
|
6
|
-
buildConfig
|
|
18
|
+
buildConfig,
|
|
19
|
+
collection,
|
|
20
|
+
field,
|
|
21
|
+
text
|
|
7
22
|
};
|