@cosmicdrift/kumiko-dev-server 0.269.2 → 0.273.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-dev-server",
3
- "version": "0.269.2",
3
+ "version": "0.273.0",
4
4
  "description": "Dev-tooling for Kumiko apps: local dev-server bootstrap (runDevApp), scaffolding, codegen. Its compose-stacks/env-schema subpaths are consumed at prod boot too — see @cosmicdrift/kumiko-server-runtime for the prod runner itself.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -59,9 +59,9 @@
59
59
  "kumiko-upgrade": "./bin/kumiko-upgrade.ts"
60
60
  },
61
61
  "dependencies": {
62
- "@cosmicdrift/kumiko-bundled-features": "0.269.2",
63
- "@cosmicdrift/kumiko-framework": "0.269.2",
64
- "@cosmicdrift/kumiko-server-runtime": "0.269.2",
62
+ "@cosmicdrift/kumiko-bundled-features": "0.273.0",
63
+ "@cosmicdrift/kumiko-framework": "0.273.0",
64
+ "@cosmicdrift/kumiko-server-runtime": "0.273.0",
65
65
  "ts-morph": "^28.0.0"
66
66
  },
67
67
  "publishConfig": {
@@ -36,7 +36,7 @@ const PAGE_SIZE = "devcfg:config:page-size";
36
36
  const readPageSizeQuery = defineQueryHandler({
37
37
  name: "read-page-size",
38
38
  schema: z.object({}),
39
- access: { openToAll: true },
39
+ access: { openToAll: { reason: "test handler callable by any signed-in test user" } },
40
40
  handler: async (_query, ctx) => ({ pageSize: await ctx.config?.(PAGE_SIZE) }),
41
41
  });
42
42
 
@@ -154,7 +154,7 @@ describe("runDevApp — extraContext merge order: app values win over boot defau
154
154
  const readBlockQuery = defineQueryHandler({
155
155
  name: "read-block",
156
156
  schema: z.object({}),
157
- access: { openToAll: true },
157
+ access: { openToAll: { reason: "test handler callable by any signed-in test user" } },
158
158
  handler: async (_query, ctx) => {
159
159
  const api = requireTemplateResolver(ctx, "textcheck:query:read-block");
160
160
  return api.findExact({
@@ -52,7 +52,14 @@ const editScreen: EntityEditScreenDefinition = {
52
52
  },
53
53
  };
54
54
 
55
- const open = { access: { openToAll: true } } as const;
55
+ const open = {
56
+ access: {
57
+ openToAll: {
58
+ reason:
59
+ "scaffolded demo handler: every signed-in user of the demo tenant manages their tasks",
60
+ },
61
+ },
62
+ } as const;
56
63
 
57
64
  const TASKS_I18N = {
58
65
  "screen:task-list.title": { de: "Aufgaben", en: "Tasks" },
@@ -142,7 +149,13 @@ const editScreen: EntityEditScreenDefinition = {
142
149
  },
143
150
  };
144
151
 
145
- const open = { access: { openToAll: true } } as const;
152
+ const open = {
153
+ access: {
154
+ openToAll: {
155
+ reason: "scaffolded demo handler: every signed-in user of the demo tenant manages their tasks",
156
+ },
157
+ },
158
+ } as const;
146
159
 
147
160
  export const tasksFeature = defineFeature("tasks", (r) => {
148
161
  r.translations({ keys: tasksTranslationKeys });