@hadoku/platform-wire 0.1.40 → 0.1.42

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/events.d.ts CHANGED
@@ -80,6 +80,7 @@ export declare const RallyFormSummarySchema: z.ZodObject<{
80
80
  closesAt: z.ZodNullable<z.ZodString>;
81
81
  url: z.ZodString;
82
82
  createdBy: z.ZodNullable<z.ZodString>;
83
+ createdById: z.ZodOptional<z.ZodString>;
83
84
  schema: z.ZodObject<{
84
85
  name: z.ZodString;
85
86
  version: z.ZodNumber;
@@ -117,6 +118,7 @@ export declare const AttachedFormSchema: z.ZodObject<{
117
118
  closesAt: z.ZodNullable<z.ZodString>;
118
119
  url: z.ZodString;
119
120
  createdBy: z.ZodNullable<z.ZodString>;
121
+ createdById: z.ZodOptional<z.ZodString>;
120
122
  schema: z.ZodObject<{
121
123
  name: z.ZodString;
122
124
  version: z.ZodNumber;
@@ -142,6 +144,7 @@ export declare const FormListSchema: z.ZodObject<{
142
144
  closesAt: z.ZodNullable<z.ZodString>;
143
145
  url: z.ZodString;
144
146
  createdBy: z.ZodNullable<z.ZodString>;
147
+ createdById: z.ZodOptional<z.ZodString>;
145
148
  schema: z.ZodObject<{
146
149
  name: z.ZodString;
147
150
  version: z.ZodNumber;
package/dist/events.js CHANGED
@@ -88,6 +88,8 @@ export const RallyFormSummarySchema = z.object({
88
88
  closesAt: z.string().nullable(),
89
89
  url: z.string(),
90
90
  createdBy: z.string().nullable(),
91
+ /** Service callers only: the creator's userId, who organizes an event made from this form. */
92
+ createdById: z.string().optional(),
91
93
  schema: z.object({ name: z.string(), version: z.number().int() }),
92
94
  availability: RallyAvailabilitySchema.optional().catch(undefined),
93
95
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/platform-wire",
3
- "version": "0.1.40",
4
- "gitHead": "01e4b514259bb37d2b1e397ee20e092a53a10848",
3
+ "version": "0.1.42",
4
+ "gitHead": "ba602183061ee25158e7aa66723ac902b94e3698",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "The wire any game speaks: room ids, telemetry, presence, events and tables, the Discord relay, looks, the restart notice, secure random and a generic server envelope. Knows no game; a game's own part rides as a type parameter. MIT; imports only zod.",