Track item updatedBy as readonly metadata and inspect field
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Maintainer-controlled web client version.
|
||||
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
|
||||
window.CHGRID_WEB_VERSION = "2026.02.27 R281";
|
||||
window.CHGRID_WEB_VERSION = "2026.02.27 R282";
|
||||
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
|
||||
window.CHGRID_TIME_ZONE = "America/Detroit";
|
||||
|
||||
@@ -184,6 +184,7 @@ export function getInspectItemPropertyKeys(item: WorldItem): string[] {
|
||||
'carrierId',
|
||||
'version',
|
||||
'createdBy',
|
||||
'updatedBy',
|
||||
'createdAt',
|
||||
'updatedAt',
|
||||
'capabilities',
|
||||
|
||||
@@ -7,6 +7,7 @@ export const itemSchema = z.object({
|
||||
x: z.number().int(),
|
||||
y: z.number().int(),
|
||||
createdBy: z.string(),
|
||||
updatedBy: z.string(),
|
||||
createdAt: z.number().int(),
|
||||
updatedAt: z.number().int(),
|
||||
version: z.number().int(),
|
||||
|
||||
@@ -11,6 +11,7 @@ export type WorldItem = {
|
||||
x: number;
|
||||
y: number;
|
||||
createdBy: string;
|
||||
updatedBy: string;
|
||||
createdAt: number;
|
||||
updatedAt: number;
|
||||
version: number;
|
||||
|
||||
Reference in New Issue
Block a user