@skaldapp/shared 1.2.37 → 1.2.39

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/index.js CHANGED
@@ -7,13 +7,13 @@ import Credential from "./schemas/credential.js";
7
7
  import Nodes from "./schemas/nodes.js";
8
8
  import Page from "./schemas/page.js";
9
9
  dynamicDefaults.DEFAULTS["uuid"] = () => generateSlug;
10
- const schemas = [Nodes, Page], ajv = new AJV({
11
- code: { esm: true },
12
- coerceTypes: true,
13
- keywords: [dynamicDefaults()],
14
- removeAdditional: true,
10
+ const esm = true, code = { esm }, coerceTypes = true, keywords = [dynamicDefaults()], removeAdditional = true, schemas = [Nodes, Page], useDefaults = true, ajv = new AJV({
11
+ code,
12
+ coerceTypes,
13
+ keywords,
14
+ removeAdditional,
15
15
  schemas,
16
- useDefaults: true,
16
+ useDefaults,
17
17
  }), immediate = true, properties = {
18
18
  $branch: {
19
19
  get() {
@@ -1,12 +1,13 @@
1
+ const $id = "credential", additionalProperties = false, nullable = true, type = "string";
1
2
  export default {
2
- $id: "credential",
3
- additionalProperties: false,
3
+ $id,
4
+ additionalProperties,
4
5
  properties: {
5
- accessKeyId: { default: null, nullable: true, type: "string" },
6
- Bucket: { default: null, nullable: true, type: "string" },
7
- endpoint: { default: null, nullable: true, type: "string" },
8
- region: { default: null, nullable: true, type: "string" },
9
- secretAccessKey: { default: null, nullable: true, type: "string" },
6
+ accessKeyId: { default: null, nullable, type },
7
+ Bucket: { default: null, nullable, type },
8
+ endpoint: { default: null, nullable, type },
9
+ region: { default: null, nullable, type },
10
+ secretAccessKey: { default: null, nullable, type },
10
11
  },
11
12
  type: "object",
12
13
  };
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  readonly $id: "nodes";
3
3
  readonly items: {
4
- readonly $ref: "page";
4
+ $ref: string;
5
5
  };
6
6
  readonly type: "array";
7
7
  };
@@ -1,5 +1,2 @@
1
- export default {
2
- $id: "nodes",
3
- items: { $ref: "page" },
4
- type: "array",
5
- };
1
+ const $id = "nodes", $ref = "page", items = { $ref }, type = "array";
2
+ export default { $id, items, type };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package",
3
3
  "name": "@skaldapp/shared",
4
- "version": "1.2.37",
4
+ "version": "1.2.39",
5
5
  "description": "A TypeScript library providing reactive data structures, JSON schema validation, and tree utilities for Vue-based applications in the skald ecosystem.",
6
6
  "keywords": [
7
7
  "vue",
@@ -33,15 +33,16 @@
33
33
  },
34
34
  "prettier": "@skaldapp/configs/prettierrc",
35
35
  "dependencies": {
36
- "@skaldapp/flat-json-tree": "^2.2.28",
36
+ "@skaldapp/flat-json-tree": "^2.2.31",
37
37
  "ajv": "^8.17.1",
38
38
  "ajv-keywords": "^5.1.0",
39
39
  "json-schema-to-ts": "^3.1.1",
40
40
  "random-word-slugs": "^0.1.7",
41
- "vue": "^3.5.27"
41
+ "vue": "^3.5.28"
42
42
  },
43
43
  "devDependencies": {
44
- "@skaldapp/configs": "^1.2.53",
44
+ "@skaldapp/configs": "^1.2.58",
45
+ "@types/node": "^25.2.2",
45
46
  "eslint": "^9.39.2"
46
47
  }
47
48
  }