@skaldapp/shared 1.3.0 → 1.3.2

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.d.ts CHANGED
@@ -2,7 +2,6 @@ import type { FromSchema } from "json-schema-to-ts";
2
2
  import Credentials from "./schemas/credentials.js";
3
3
  import OpenAI from "./schemas/openai.js";
4
4
  import Page from "./schemas/page.js";
5
- import Settings from "./schemas/settings.js";
6
5
  export type TCredentials = FromSchema<typeof Credentials>;
7
6
  export type TOpenAI = FromSchema<typeof OpenAI>;
8
7
  export type TPage = FromSchema<typeof Page> & {
@@ -24,7 +23,6 @@ export type TPage = FromSchema<typeof Page> & {
24
23
  siblings: TPage[];
25
24
  to?: string;
26
25
  };
27
- export type TSettings = FromSchema<typeof Settings>;
28
26
  export declare const sharedStore: {
29
27
  $nodes: TPage[];
30
28
  isRedirect: (branch: TPage[]) => unknown;
package/dist/index.js CHANGED
@@ -7,7 +7,6 @@ import Credentials from "./schemas/credentials.js";
7
7
  import Nodes from "./schemas/nodes.js";
8
8
  import OpenAI from "./schemas/openai.js";
9
9
  import Page from "./schemas/page.js";
10
- import Settings from "./schemas/settings.js";
11
10
  dynamicDefaults.DEFAULTS["uuid"] = () => generateSlug;
12
11
  const isVisible = ({ frontmatter: { hidden }, path }) => path !== undefined && !hidden;
13
12
  const esm = true, code = { esm }, coerceTypes = true, keywords = [dynamicDefaults()], removeAdditional = true, schemas = [Nodes, Page], useDefaults = true, ajv = new AJV({
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.3.0",
4
+ "version": "1.3.2",
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",
@@ -37,16 +37,16 @@
37
37
  },
38
38
  "prettier": "@skaldapp/configs/prettierrc",
39
39
  "dependencies": {
40
- "@skaldapp/flat-json-tree": "^2.3.1",
40
+ "@skaldapp/flat-json-tree": "^2.3.2",
41
41
  "ajv": "^8.20.0",
42
42
  "ajv-keywords": "^5.1.0",
43
43
  "json-schema-to-ts": "^3.1.1",
44
44
  "random-word-slugs": "^0.1.7",
45
- "vue": "^3.5.35"
45
+ "vue": "^3.5.39"
46
46
  },
47
47
  "devDependencies": {
48
- "@skaldapp/configs": "^1.4.3",
49
- "@types/node": "^25.9.2",
50
- "eslint": "^10.4.1"
48
+ "@skaldapp/configs": "^1.4.5",
49
+ "@types/node": "^26.1.0",
50
+ "eslint": "^10.6.0"
51
51
  }
52
52
  }
@@ -1,18 +0,0 @@
1
- declare const _default: {
2
- readonly $id: "settings";
3
- readonly additionalProperties: false;
4
- readonly properties: {
5
- readonly coop: {
6
- readonly default: null;
7
- readonly nullable: true;
8
- readonly type: "boolean";
9
- };
10
- readonly workgroup: {
11
- readonly default: null;
12
- readonly nullable: true;
13
- readonly type: "string";
14
- };
15
- };
16
- readonly type: "object";
17
- };
18
- export default _default;
@@ -1,10 +0,0 @@
1
- const $id = "settings", additionalProperties = false, nullable = true;
2
- export default {
3
- $id,
4
- additionalProperties,
5
- properties: {
6
- coop: { default: null, nullable, type: "boolean" },
7
- workgroup: { default: null, nullable, type: "string" },
8
- },
9
- type: "object",
10
- };