@akanjs/base 0.0.95 → 0.0.96

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/index.js CHANGED
@@ -15,7 +15,3 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
15
15
  var base_exports = {};
16
16
  module.exports = __toCommonJS(base_exports);
17
17
  __reExport(base_exports, require("./src"), module.exports);
18
- // Annotate the CommonJS export names for ESM import in node:
19
- 0 && (module.exports = {
20
- ...require("./src")
21
- });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akanjs/base",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,6 +24,6 @@
24
24
  }
25
25
  },
26
26
  "esbuild": {
27
- "platform": "node"
27
+ "platform": "browser"
28
28
  }
29
29
  }
package/src/base.js CHANGED
@@ -176,11 +176,3 @@ const logo = `
176
176
  \u2605 Star Akanjs on GitHub https://github.com/aka-bassman/akanjs
177
177
 
178
178
  `;
179
- // Annotate the CommonJS export names for ESM import in node:
180
- 0 && (module.exports = {
181
- DataList,
182
- Enum,
183
- enumOf,
184
- logo,
185
- version
186
- });
package/src/baseEnv.js CHANGED
@@ -82,8 +82,3 @@ const baseClientEnv = {
82
82
  serverWsProtocol,
83
83
  serverWsUri
84
84
  };
85
- // Annotate the CommonJS export names for ESM import in node:
86
- 0 && (module.exports = {
87
- baseClientEnv,
88
- baseEnv
89
- });
package/src/index.js CHANGED
@@ -18,10 +18,3 @@ __reExport(src_exports, require("./base"), module.exports);
18
18
  __reExport(src_exports, require("./baseEnv"), module.exports);
19
19
  __reExport(src_exports, require("./scalar"), module.exports);
20
20
  __reExport(src_exports, require("./types"), module.exports);
21
- // Annotate the CommonJS export names for ESM import in node:
22
- 0 && (module.exports = {
23
- ...require("./base"),
24
- ...require("./baseEnv"),
25
- ...require("./scalar"),
26
- ...require("./types")
27
- });
package/src/scalar.d.ts CHANGED
@@ -37,10 +37,10 @@ export declare const gqlScalars: readonly [StringConstructor, BooleanConstructor
37
37
  export type GqlScalar = (typeof gqlScalars)[number];
38
38
  export declare const gqlScalarNames: readonly ["ID", "Int", "Float", "String", "Boolean", "Date", "Upload", "JSON", "Map"];
39
39
  export type GqlScalarName = (typeof gqlScalarNames)[number];
40
- export declare const scalarSet: Set<MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor | DateConstructor>;
41
- export declare const scalarNameMap: Map<MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor | DateConstructor, "ID" | "Int" | "Float" | "String" | "Boolean" | "Date" | "Upload" | "JSON" | "Map">;
42
- export declare const scalarArgMap: Map<MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor | DateConstructor, any>;
43
- export declare const scalarDefaultMap: Map<MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor | DateConstructor, any>;
40
+ export declare const scalarSet: Set<DateConstructor | MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor>;
41
+ export declare const scalarNameMap: Map<DateConstructor | MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor, "ID" | "Int" | "Float" | "String" | "Boolean" | "Date" | "Upload" | "JSON" | "Map">;
42
+ export declare const scalarArgMap: Map<DateConstructor | MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor, any>;
43
+ export declare const scalarDefaultMap: Map<DateConstructor | MapConstructor | typeof Int | typeof Upload | typeof Float | typeof ID | typeof JSON | StringConstructor | BooleanConstructor, any>;
44
44
  export declare const isGqlClass: (modelRef: Type) => boolean;
45
45
  export declare const isGqlScalar: (modelRef: Type) => boolean;
46
46
  export declare const isGqlMap: (modelRef: any) => boolean;
package/src/scalar.js CHANGED
@@ -132,26 +132,3 @@ const scalarDefaultMap = /* @__PURE__ */ new Map([
132
132
  const isGqlClass = (modelRef) => !scalarSet.has(modelRef);
133
133
  const isGqlScalar = (modelRef) => scalarSet.has(modelRef);
134
134
  const isGqlMap = (modelRef) => modelRef === Map;
135
- // Annotate the CommonJS export names for ESM import in node:
136
- 0 && (module.exports = {
137
- BaseObject,
138
- Dayjs,
139
- Float,
140
- ID,
141
- Int,
142
- JSON,
143
- Upload,
144
- applyFnToArrayObjects,
145
- arraiedModel,
146
- dayjs,
147
- getNonArrayModel,
148
- gqlScalarNames,
149
- gqlScalars,
150
- isGqlClass,
151
- isGqlMap,
152
- isGqlScalar,
153
- scalarArgMap,
154
- scalarDefaultMap,
155
- scalarNameMap,
156
- scalarSet
157
- });