@go-labs-sg/event-tech 1.13.0 → 1.14.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/README.md +5 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -326,8 +326,11 @@ et passport station image-clear --event-id <id> --station-id <id>
|
|
|
326
326
|
|
|
327
327
|
`image-set` uploads to the event's station-art folder and saves the key, keeping
|
|
328
328
|
every other station setting and the collection mode. `image-clear` removes it.
|
|
329
|
-
|
|
330
|
-
|
|
329
|
+
`station upsert` keeps the stored cover art when `--station-json` omits
|
|
330
|
+
`imageKey`, so an upsert after `image-set` does not remove the image; pass
|
|
331
|
+
`null` to clear it. A new `imageKey` passed through `station upsert` must also
|
|
332
|
+
be an upload to this event's `event-passport/stations` folder; an unchanged key
|
|
333
|
+
always passes.
|
|
331
334
|
|
|
332
335
|
Prize photos use the prize's optional `imageKey`, with the same flow and limits:
|
|
333
336
|
|
package/dist/index.js
CHANGED
|
@@ -18980,6 +18980,7 @@ Event Passport:
|
|
|
18980
18980
|
collection.category groups stations for guests: GAME, FOOD, DRINK or BINGO. Omit it to keep the stored one.
|
|
18981
18981
|
Omit collection on an existing station to preserve its current mode.
|
|
18982
18982
|
Station JSON supports id/name/description/location/address/imageKey/order/opensAt/closesAt/collection.
|
|
18983
|
+
imageKey is the cover art: omit it to keep the stored image, null clears it.
|
|
18983
18984
|
location is the in-venue spot ("Level 2 pantry"); address is the street or site address (up to 300 chars, null clears it, omit keeps it).
|
|
18984
18985
|
Station links: one shared password per passport lets staff without accounts open /events/<id>/event-passport/station,
|
|
18985
18986
|
pick a station and stamp guests. station-access get shows whether a password is set and how many station sessions are
|
|
@@ -19824,7 +19825,7 @@ var passportStationSchema = passportEventIdSchema.extend({
|
|
|
19824
19825
|
description: string2().trim().max(1000).nullable(),
|
|
19825
19826
|
location: string2().trim().max(200).nullable(),
|
|
19826
19827
|
address: string2().trim().max(300).nullable().optional(),
|
|
19827
|
-
imageKey: string2().nullable(),
|
|
19828
|
+
imageKey: string2().nullable().optional(),
|
|
19828
19829
|
order: number2().int().min(0),
|
|
19829
19830
|
opensAt: date2().nullable(),
|
|
19830
19831
|
closesAt: date2().nullable(),
|
|
@@ -20529,7 +20530,7 @@ var parsePassportStationInput = (raw, eventId) => {
|
|
|
20529
20530
|
description: nullableText(value.description, "description", 1000),
|
|
20530
20531
|
location: nullableText(value.location, "location", 200),
|
|
20531
20532
|
...value.address === undefined ? {} : { address: nullableText(value.address, "address", 300) },
|
|
20532
|
-
imageKey: nullableText(value.imageKey, "imageKey", 2048),
|
|
20533
|
+
...value.imageKey === undefined ? {} : { imageKey: nullableText(value.imageKey, "imageKey", 2048) },
|
|
20533
20534
|
order: integer2(value.order ?? 0, "order"),
|
|
20534
20535
|
opensAt: date3(value.opensAt, "opensAt"),
|
|
20535
20536
|
closesAt: date3(value.closesAt, "closesAt"),
|