@compassdigital/sdk.typescript 4.623.0 → 4.624.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 +1 -1
- package/src/interface/menu.ts +1 -1
package/package.json
CHANGED
package/src/interface/menu.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface Menu {
|
|
|
41
41
|
last_modified_user?: string;
|
|
42
42
|
centricos?: boolean;
|
|
43
43
|
version?: number;
|
|
44
|
-
//
|
|
44
|
+
// Content-derived fingerprint of the menu body, computed as a sha256 hash of the normalized content. Storage metadata that is not part of the menu's content identity (timestamps, last_modified_user, the previous revision value, s3_stored) is excluded from the hash, so no-op republishes produce the same revision and any meaningful content change (including a baked-in price level on a compiled menu) produces a new one. Consumers can compare against a previously seen value to detect whether the V2 menu has meaningfully changed (e.g. to de-dupe sync events).
|
|
45
45
|
revision?: string;
|
|
46
46
|
// V3 Brand metadata if menu came from Centric
|
|
47
47
|
brand?: {
|