@powerhousedao/notes-demo-package 1.0.4 → 1.0.5

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.
@@ -6,14 +6,14 @@ export const definedNonNullAnySchema = z
6
6
  export function AddTextInputSchema() {
7
7
  return z.object({
8
8
  content: z.string(),
9
- date: z.string().datetime(),
9
+ date: z.iso.datetime(),
10
10
  id: z.string(),
11
11
  title: z.string(),
12
12
  });
13
13
  }
14
14
  export function AddTodoInputSchema() {
15
15
  return z.object({
16
- date: z.string().datetime(),
16
+ date: z.iso.datetime(),
17
17
  done: z.boolean(),
18
18
  id: z.string(),
19
19
  title: z.string(),
@@ -26,7 +26,7 @@ export function DeleteNoteInputSchema() {
26
26
  }
27
27
  export function EditNoteInputSchema() {
28
28
  return z.object({
29
- date: z.string().datetime().nullish(),
29
+ date: z.iso.datetime().nullish(),
30
30
  id: z.string(),
31
31
  title: z.string().nullish(),
32
32
  });
@@ -34,14 +34,14 @@ export function EditNoteInputSchema() {
34
34
  export function EditTextInputSchema() {
35
35
  return z.object({
36
36
  content: z.string().nullish(),
37
- date: z.string().datetime().nullish(),
37
+ date: z.iso.datetime().nullish(),
38
38
  id: z.string(),
39
39
  title: z.string().nullish(),
40
40
  });
41
41
  }
42
42
  export function EditTodoInputSchema() {
43
43
  return z.object({
44
- date: z.string().datetime().nullish(),
44
+ date: z.iso.datetime().nullish(),
45
45
  done: z.boolean().nullish(),
46
46
  id: z.string(),
47
47
  title: z.string().nullish(),
@@ -49,7 +49,7 @@ export function EditTodoInputSchema() {
49
49
  }
50
50
  export function INoteSchema() {
51
51
  return z.object({
52
- date: z.string().datetime(),
52
+ date: z.iso.datetime(),
53
53
  id: z.string(),
54
54
  title: z.string(),
55
55
  });
@@ -67,7 +67,7 @@ export function TextSchema() {
67
67
  return z.object({
68
68
  __typename: z.literal("Text").optional(),
69
69
  content: z.string(),
70
- date: z.string().datetime(),
70
+ date: z.iso.datetime(),
71
71
  id: z.string(),
72
72
  title: z.string(),
73
73
  });
@@ -75,7 +75,7 @@ export function TextSchema() {
75
75
  export function TodoSchema() {
76
76
  return z.object({
77
77
  __typename: z.literal("Todo").optional(),
78
- date: z.string().datetime(),
78
+ date: z.iso.datetime(),
79
79
  done: z.boolean(),
80
80
  id: z.string(),
81
81
  title: z.string(),
@@ -1,5 +1,5 @@
1
1
  import type { DocumentModelModule } from "document-model";
2
2
  import type { NotesPHState } from "@powerhousedao/notes-demo-package/document-models/notes";
3
- /** Document model module for the Todo List document type */
3
+ /** Document model module for the Notes document type */
4
4
  export declare const Notes: DocumentModelModule<NotesPHState>;
5
5
  //# sourceMappingURL=module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/notes/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yDAAyD,CAAC;AAQ5F,4DAA4D;AAC5D,eAAO,MAAM,KAAK,EAAE,mBAAmB,CAAC,YAAY,CAMnD,CAAC"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../document-models/notes/module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yDAAyD,CAAC;AAQ5F,wDAAwD;AACxD,eAAO,MAAM,KAAK,EAAE,mBAAmB,CAAC,YAAY,CAMnD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { createState } from "document-model";
2
2
  import { defaultBaseState } from "document-model/core";
3
3
  import { actions, documentModel, reducer, utils, } from "@powerhousedao/notes-demo-package/document-models/notes";
4
- /** Document model module for the Todo List document type */
4
+ /** Document model module for the Notes document type */
5
5
  export const Notes = {
6
6
  version: 1,
7
7
  reducer,
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@powerhousedao/notes-demo-package",
3
- "description": "",
4
- "version": "1.0.4",
3
+ "version": "1.0.5",
5
4
  "license": "AGPL-3.0-only",
6
5
  "type": "module",
7
6
  "private": false,
@@ -44,12 +43,12 @@
44
43
  "./style.css": "./dist/style.css"
45
44
  },
46
45
  "dependencies": {
47
- "@powerhousedao/builder-tools": "5.3.0-staging.5",
48
- "@powerhousedao/common": "5.3.0-staging.5",
49
- "@powerhousedao/design-system": "5.3.0-staging.5",
50
- "@powerhousedao/document-engineering": "^1.39.0",
51
- "@powerhousedao/vetra": "5.3.0-staging.5",
52
- "document-model": "5.3.0-staging.5",
46
+ "@powerhousedao/builder-tools": "5.3.3",
47
+ "@powerhousedao/common": "5.3.3",
48
+ "@powerhousedao/design-system": "5.3.3",
49
+ "@powerhousedao/document-engineering": "^1.40.1",
50
+ "@powerhousedao/vetra": "5.3.3",
51
+ "document-model": "5.3.3",
53
52
  "graphql": "^16.10.0",
54
53
  "graphql-tag": "^2.12.6",
55
54
  "luxon": "^3.7.2",
@@ -57,25 +56,25 @@
57
56
  "zod": "^4.3.5"
58
57
  },
59
58
  "devDependencies": {
60
- "@openfeature/core": "^1.9.1",
61
59
  "@electric-sql/pglite": "^0.2.17",
62
60
  "@eslint/js": "^9.38.0",
61
+ "@openfeature/core": "^1.9.1",
63
62
  "@powerhousedao/analytics-engine-core": "^0.5.0",
64
- "@powerhousedao/codegen": "5.3.0-staging.5",
65
- "@powerhousedao/config": "5.3.0-staging.5",
66
- "@powerhousedao/connect": "5.3.0-staging.5",
67
- "@powerhousedao/ph-cli": "5.3.0-staging.5",
68
- "@powerhousedao/reactor-api": "5.3.0-staging.5",
69
- "@powerhousedao/reactor-browser": "5.3.0-staging.5",
70
- "@powerhousedao/reactor-local": "5.3.0-staging.5",
71
- "@powerhousedao/scalars": "staging",
72
- "@powerhousedao/switchboard": "5.3.0-staging.5",
63
+ "@powerhousedao/codegen": "5.3.3",
64
+ "@powerhousedao/config": "5.3.3",
65
+ "@powerhousedao/connect": "5.3.3",
66
+ "@powerhousedao/ph-cli": "5.3.3",
67
+ "@powerhousedao/reactor-api": "5.3.3",
68
+ "@powerhousedao/reactor-browser": "5.3.3",
69
+ "@powerhousedao/reactor-local": "5.3.3",
70
+ "@powerhousedao/scalars": "^2.0.1",
71
+ "@powerhousedao/switchboard": "5.3.3",
73
72
  "@tailwindcss/cli": "^4.1.4",
74
73
  "@testing-library/react": "^16.3.0",
75
74
  "@types/node": "^24.9.2",
76
75
  "@types/react": "^19.2.2",
77
76
  "@vitejs/plugin-react": "^5.1.0",
78
- "document-drive": "5.3.0-staging.5",
77
+ "document-drive": "5.3.3",
79
78
  "eslint": "^9.38.0",
80
79
  "eslint-config-prettier": "^10.1.8",
81
80
  "eslint-plugin-prettier": "^5.5.4",
@@ -101,6 +100,7 @@
101
100
  "react": "^19.2.0",
102
101
  "react-dom": "^19.2.0"
103
102
  },
103
+ "readme": "ERROR: No README data found!",
104
104
  "scripts": {
105
105
  "build": "npm run tsc && npm run tailwind",
106
106
  "test": "vitest run",