deesse 0.0.23 → 0.0.24

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.
@@ -0,0 +1,12 @@
1
+ type AdminConfig = {
2
+ defaultLanguage?: string;
3
+ };
4
+ type AuthConfig = {};
5
+ type Config = {
6
+ admin: AdminConfig;
7
+ auth: AuthConfig;
8
+ };
9
+
10
+ declare const buildConfig: (config: Config) => Config;
11
+
12
+ export { type AdminConfig, type AuthConfig, type Config, buildConfig };
@@ -0,0 +1,12 @@
1
+ type AdminConfig = {
2
+ defaultLanguage?: string;
3
+ };
4
+ type AuthConfig = {};
5
+ type Config = {
6
+ admin: AdminConfig;
7
+ auth: AuthConfig;
8
+ };
9
+
10
+ declare const buildConfig: (config: Config) => Config;
11
+
12
+ export { type AdminConfig, type AuthConfig, type Config, buildConfig };
@@ -0,0 +1,34 @@
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
+ });
@@ -0,0 +1,7 @@
1
+ // src/config/build.ts
2
+ var buildConfig = (config) => {
3
+ return config;
4
+ };
5
+ export {
6
+ buildConfig
7
+ };
package/dist/index.d.mts CHANGED
@@ -1,12 +1 @@
1
- type AdminConfig = {
2
- defaultLanguage?: string;
3
- };
4
- type AuthConfig = {};
5
- type Config = {
6
- admin: AdminConfig;
7
- auth: AuthConfig;
8
- };
9
-
10
- declare const buildConfig: (config: Config) => Config;
11
-
12
- export { type AdminConfig, type AuthConfig, type Config, buildConfig };
1
+ export { AdminConfig, AuthConfig, Config, buildConfig } from './config/index.mjs';
package/dist/index.d.ts CHANGED
@@ -1,12 +1 @@
1
- type AdminConfig = {
2
- defaultLanguage?: string;
3
- };
4
- type AuthConfig = {};
5
- type Config = {
6
- admin: AdminConfig;
7
- auth: AuthConfig;
8
- };
9
-
10
- declare const buildConfig: (config: Config) => Config;
11
-
12
- export { type AdminConfig, type AuthConfig, type Config, buildConfig };
1
+ export { AdminConfig, AuthConfig, Config, buildConfig } from './config/index.js';
package/dist/index.js CHANGED
@@ -32,4 +32,3 @@ var buildConfig = (config) => {
32
32
  0 && (module.exports = {
33
33
  buildConfig
34
34
  });
35
- //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -5,4 +5,3 @@ var buildConfig = (config) => {
5
5
  export {
6
6
  buildConfig
7
7
  };
8
- //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deesse",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "The fullstack nextjs framework",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts","../src/config/build.ts"],"sourcesContent":["export * from './config';\r\n","import { Config } from \"./types\";\n\n\nexport const buildConfig = (config: Config): Config => {\n return config;\n};\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGO,IAAM,cAAc,CAAC,WAA2B;AACrD,SAAO;AACT;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/config/build.ts"],"sourcesContent":["import { Config } from \"./types\";\n\n\nexport const buildConfig = (config: Config): Config => {\n return config;\n};\n\n"],"mappings":";AAGO,IAAM,cAAc,CAAC,WAA2B;AACrD,SAAO;AACT;","names":[]}