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.
@@ -1,13 +1,16 @@
1
1
  type Collection = {
2
+ name: string;
2
3
  fields: Field[];
3
4
  };
4
5
  type Field = {
5
- type: undefined;
6
- permissions: {
7
- create: string[];
8
- read: string[];
9
- update: string[];
10
- delete: string[];
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
- type: undefined;
6
- permissions: {
7
- create: string[];
8
- read: string[];
9
- update: string[];
10
- delete: string[];
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
@@ -1 +1,2 @@
1
1
  export { AdminConfig, AuthConfig, Config, buildConfig } from './config/index.mjs';
2
+ export { Collection, Field, collection, field, text } from './collections/index.mjs';
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { AdminConfig, AuthConfig, Config, buildConfig } from './config/index.js';
2
+ export { Collection, Field, collection, field, text } from './collections/index.js';
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deesse",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "The fullstack nextjs framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",