@cosmicdrift/kumiko-bundled-features 0.237.2 → 0.238.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-bundled-features",
3
- "version": "0.237.2",
3
+ "version": "0.238.0",
4
4
  "description": "Built-in features — tenant, user, auth, delivery. The stuff you'd rewrite anyway, already typed.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -130,12 +130,12 @@
130
130
  "./workflow-runner": "./src/workflow-runner/index.ts"
131
131
  },
132
132
  "dependencies": {
133
- "@cosmicdrift/kumiko-dispatcher-live": "0.237.2",
134
- "@cosmicdrift/kumiko-framework": "0.237.2",
135
- "@cosmicdrift/kumiko-headless": "0.237.2",
136
- "@cosmicdrift/kumiko-renderer": "0.237.2",
137
- "@cosmicdrift/kumiko-renderer-web": "0.237.2",
138
- "@cosmicdrift/kumiko-types": "0.237.2",
133
+ "@cosmicdrift/kumiko-dispatcher-live": "0.238.0",
134
+ "@cosmicdrift/kumiko-framework": "0.238.0",
135
+ "@cosmicdrift/kumiko-headless": "0.238.0",
136
+ "@cosmicdrift/kumiko-renderer": "0.238.0",
137
+ "@cosmicdrift/kumiko-renderer-web": "0.238.0",
138
+ "@cosmicdrift/kumiko-types": "0.238.0",
139
139
  "@mollie/api-client": "^4.5.0",
140
140
  "@node-rs/argon2": "^2.0.2",
141
141
  "@types/mailparser": "^3.4.6",
@@ -164,7 +164,7 @@
164
164
  "devDependencies": {
165
165
  "@testing-library/user-event": "^14.6.1",
166
166
  "@types/qrcode": "^1.5.5",
167
- "@cosmicdrift/kumiko-locale-de": "0.237.2",
168
- "@cosmicdrift/kumiko-locale-es": "0.237.2"
167
+ "@cosmicdrift/kumiko-locale-de": "0.238.0",
168
+ "@cosmicdrift/kumiko-locale-es": "0.238.0"
169
169
  }
170
170
  }
@@ -143,7 +143,12 @@ export function createDeliveryFeature(options?: DeliveryFeatureOptions): Feature
143
143
  type: "projectionList",
144
144
  query: DeliveryQueries.log,
145
145
  columns: [
146
- { field: "tenantId", label: "delivery.log.col.tenantId" },
146
+ {
147
+ field: "tenantId",
148
+ label: "delivery.log.col.tenantId",
149
+ refEntity: "tenant:tenant",
150
+ refLabelField: "name",
151
+ },
147
152
  { field: "type", label: "delivery.log.col.type" },
148
153
  { field: "channel", label: "delivery.log.col.channel" },
149
154
  { field: "recipient", label: "delivery.log.col.recipient" },
@@ -17,7 +17,12 @@ export const sessionListScreen: ProjectionListScreenDefinition = {
17
17
  defaultSort: { field: "createdAt", dir: "desc" },
18
18
  columns: [
19
19
  { field: "id", label: "sessions.list.col.id" },
20
- { field: "userId", label: "sessions.list.col.userId" },
20
+ {
21
+ field: "userId",
22
+ label: "sessions.list.col.userId",
23
+ refEntity: "user:user",
24
+ refLabelField: "displayName",
25
+ },
21
26
  {
22
27
  field: "createdAt",
23
28
  label: "sessions.list.col.createdAt",
@@ -57,7 +62,7 @@ export const sessionDetailScreen: ProjectionDetailScreenDefinition = {
57
62
  {
58
63
  fields: [
59
64
  "id",
60
- "userId",
65
+ { field: "userId", refEntity: "user:user", refLabelField: "displayName" },
61
66
  // The shim (projection-detail-shim.ts) stamps every field as
62
67
  // type:"text" — field.renderer is the only way this screen
63
68
  // type reaches real per-type formatting instead of a raw ISO