deesse 0.0.28 → 0.1.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.
@@ -1,15 +1 @@
1
- import { C as Collection } from '../types-Dz3pl6_j.js';
2
-
3
- type AdminConfig = {
4
- defaultLanguage?: string;
5
- };
6
- type AuthConfig = {};
7
- type Config<TCollections extends Collection[] = []> = {
8
- admin: AdminConfig;
9
- auth: AuthConfig;
10
- collections: TCollections;
11
- };
12
-
13
- declare const buildConfig: (config: Config) => Config;
14
-
15
- export { type AdminConfig, type AuthConfig, type Config, buildConfig };
1
+ export declare const defineConfig: () => void;
@@ -1,34 +1,5 @@
1
1
  "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/config/index.ts
21
- var config_exports = {};
22
- __export(config_exports, {
23
- buildConfig: () => buildConfig
24
- });
25
- module.exports = __toCommonJS(config_exports);
26
-
27
- // src/config/build.ts
28
- var buildConfig = (config) => {
29
- return config;
30
- };
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- buildConfig
34
- });
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defineConfig = void 0;
4
+ const defineConfig = () => { };
5
+ exports.defineConfig = defineConfig;
package/dist/index.d.ts CHANGED
@@ -1,3 +1 @@
1
- export { AdminConfig, AuthConfig, Config, buildConfig } from './config/index.js';
2
- export { collection, field, text } from './collections/index.js';
3
- export { C as Collection, F as Field } from './types-Dz3pl6_j.js';
1
+ export * from "./config";
package/dist/index.js CHANGED
@@ -1,52 +1,17 @@
1
1
  "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
9
15
  };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- buildConfig: () => buildConfig,
24
- collection: () => collection,
25
- field: () => field,
26
- text: () => text
27
- });
28
- module.exports = __toCommonJS(index_exports);
29
-
30
- // src/config/build.ts
31
- var buildConfig = (config) => {
32
- return config;
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
- };
46
- // Annotate the CommonJS export names for ESM import in node:
47
- 0 && (module.exports = {
48
- buildConfig,
49
- collection,
50
- field,
51
- text
52
- });
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./config"), exports);
package/package.json CHANGED
@@ -1,22 +1,21 @@
1
- {
2
- "name": "deesse",
3
- "version": "0.0.28",
4
- "description": "The fullstack nextjs framework",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "types": "dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "scripts": {
12
- "build": "tsup",
13
- "test": "echo \"Error: no test specified\" && exit 1"
14
- },
15
- "author": "",
16
- "license": "ISC",
17
- "dependencies": {
18
- "tsup": "^8.5.0",
19
- "typescript": "^5.9.3",
20
- "zod": "^4.1.12"
21
- }
22
- }
1
+ {
2
+ "name": "deesse",
3
+ "version": "0.1.1",
4
+ "description": "The fullstack web framework",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "module": "dist/index.esm.js",
8
+ "files": [
9
+ "dist/**/*",
10
+ "README.md",
11
+ "LICENSE"
12
+ ],
13
+ "scripts": {
14
+ "test": "echo \"Error: no test specified\" && exit 1",
15
+ "build": "tsc",
16
+ "build:watch": "tsc --watch",
17
+ "prepublishOnly": "npm run build"
18
+ },
19
+ "author": "",
20
+ "license": "ISC"
21
+ }
@@ -1,8 +0,0 @@
1
- import { F as Field, C as Collection } from '../types-Dz3pl6_j.mjs';
2
-
3
- declare const field: (field: Field) => Field;
4
- declare const text: () => void;
5
-
6
- declare const collection: (collection: Collection) => Collection;
7
-
8
- export { Collection, Field, collection, field, text };
@@ -1,8 +0,0 @@
1
- import { F as Field, C as Collection } from '../types-Dz3pl6_j.js';
2
-
3
- declare const field: (field: Field) => Field;
4
- declare const text: () => void;
5
-
6
- declare const collection: (collection: Collection) => Collection;
7
-
8
- export { Collection, Field, collection, field, text };
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
-
20
- // src/collections/index.ts
21
- var collections_exports = {};
22
- __export(collections_exports, {
23
- collection: () => collection,
24
- field: () => field,
25
- text: () => text
26
- });
27
- module.exports = __toCommonJS(collections_exports);
28
-
29
- // src/collections/fields.ts
30
- var field = (field2) => {
31
- return field2;
32
- };
33
- var text = () => {
34
- };
35
-
36
- // src/collections/collections.ts
37
- var collection = (collection2) => {
38
- return collection2;
39
- };
40
- // Annotate the CommonJS export names for ESM import in node:
41
- 0 && (module.exports = {
42
- collection,
43
- field,
44
- text
45
- });
@@ -1,16 +0,0 @@
1
- // src/collections/fields.ts
2
- var field = (field2) => {
3
- return field2;
4
- };
5
- var text = () => {
6
- };
7
-
8
- // src/collections/collections.ts
9
- var collection = (collection2) => {
10
- return collection2;
11
- };
12
- export {
13
- collection,
14
- field,
15
- text
16
- };
@@ -1,15 +0,0 @@
1
- import { C as Collection } from '../types-Dz3pl6_j.mjs';
2
-
3
- type AdminConfig = {
4
- defaultLanguage?: string;
5
- };
6
- type AuthConfig = {};
7
- type Config<TCollections extends Collection[] = []> = {
8
- admin: AdminConfig;
9
- auth: AuthConfig;
10
- collections: TCollections;
11
- };
12
-
13
- declare const buildConfig: (config: Config) => Config;
14
-
15
- export { type AdminConfig, type AuthConfig, type Config, buildConfig };
@@ -1,7 +0,0 @@
1
- // src/config/build.ts
2
- var buildConfig = (config) => {
3
- return config;
4
- };
5
- export {
6
- buildConfig
7
- };
package/dist/index.d.mts DELETED
@@ -1,3 +0,0 @@
1
- export { AdminConfig, AuthConfig, Config, buildConfig } from './config/index.mjs';
2
- export { collection, field, text } from './collections/index.mjs';
3
- export { C as Collection, F as Field } from './types-Dz3pl6_j.mjs';
package/dist/index.mjs DELETED
@@ -1,22 +0,0 @@
1
- // src/config/build.ts
2
- var buildConfig = (config) => {
3
- return config;
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
- };
17
- export {
18
- buildConfig,
19
- collection,
20
- field,
21
- text
22
- };
@@ -1,18 +0,0 @@
1
- type Collection = {
2
- name: string;
3
- slug: string;
4
- fields: Field[];
5
- };
6
- type Field = {
7
- name: {
8
- type: undefined;
9
- permissions: {
10
- create: string[];
11
- read: string[];
12
- update: string[];
13
- delete: string[];
14
- };
15
- };
16
- };
17
-
18
- export type { Collection as C, Field as F };
@@ -1,18 +0,0 @@
1
- type Collection = {
2
- name: string;
3
- slug: string;
4
- fields: Field[];
5
- };
6
- type Field = {
7
- name: {
8
- type: undefined;
9
- permissions: {
10
- create: string[];
11
- read: string[];
12
- update: string[];
13
- delete: string[];
14
- };
15
- };
16
- };
17
-
18
- export type { Collection as C, Field as F };