@cratis/showrunner.boxoffice 1.21.2 → 1.21.3

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.
Files changed (86) hide show
  1. package/Compute/ComputeLimits.ts +2 -2
  2. package/Compute/MeterStanding.ts +3 -3
  3. package/Compute/SetBudget/SetComputeBudget.ts +2 -2
  4. package/Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.ts +2 -2
  5. package/Entitlements/EntitlementSummary.ts +2 -2
  6. package/Entitlements/TenantStanding.ts +2 -2
  7. package/Offers/Offer.ts +3 -3
  8. package/Portal/PortalLink.ts +2 -2
  9. package/README.md +2 -2
  10. package/Seats/AssignSeat/AssignSeat.ts +2 -2
  11. package/Seats/ReleaseSeat/ReleaseSeat.ts +2 -2
  12. package/Seats/SeatRoster.ts +2 -2
  13. package/Seats/SeatStanding.ts +2 -2
  14. package/dist/cjs/Compute/ComputeLimits.d.ts.map +1 -1
  15. package/dist/cjs/Compute/ComputeLimits.js +1 -1
  16. package/dist/cjs/Compute/ComputeLimits.js.map +1 -1
  17. package/dist/cjs/Compute/MeterStanding.d.ts.map +1 -1
  18. package/dist/cjs/Compute/MeterStanding.js +2 -2
  19. package/dist/cjs/Compute/MeterStanding.js.map +1 -1
  20. package/dist/cjs/Compute/SetBudget/SetComputeBudget.d.ts.map +1 -1
  21. package/dist/cjs/Compute/SetBudget/SetComputeBudget.js +2 -2
  22. package/dist/cjs/Compute/SetBudget/SetComputeBudget.js.map +1 -1
  23. package/dist/cjs/Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.d.ts.map +1 -1
  24. package/dist/cjs/Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.js +2 -2
  25. package/dist/cjs/Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.js.map +1 -1
  26. package/dist/cjs/Entitlements/EntitlementSummary.d.ts.map +1 -1
  27. package/dist/cjs/Entitlements/EntitlementSummary.js +1 -1
  28. package/dist/cjs/Entitlements/EntitlementSummary.js.map +1 -1
  29. package/dist/cjs/Entitlements/TenantStanding.d.ts.map +1 -1
  30. package/dist/cjs/Entitlements/TenantStanding.js +1 -1
  31. package/dist/cjs/Entitlements/TenantStanding.js.map +1 -1
  32. package/dist/cjs/Offers/Offer.d.ts.map +1 -1
  33. package/dist/cjs/Offers/Offer.js +2 -2
  34. package/dist/cjs/Offers/Offer.js.map +1 -1
  35. package/dist/cjs/Portal/PortalLink.d.ts.map +1 -1
  36. package/dist/cjs/Portal/PortalLink.js +1 -1
  37. package/dist/cjs/Portal/PortalLink.js.map +1 -1
  38. package/dist/cjs/Seats/AssignSeat/AssignSeat.d.ts.map +1 -1
  39. package/dist/cjs/Seats/AssignSeat/AssignSeat.js +2 -2
  40. package/dist/cjs/Seats/AssignSeat/AssignSeat.js.map +1 -1
  41. package/dist/cjs/Seats/ReleaseSeat/ReleaseSeat.d.ts.map +1 -1
  42. package/dist/cjs/Seats/ReleaseSeat/ReleaseSeat.js +2 -2
  43. package/dist/cjs/Seats/ReleaseSeat/ReleaseSeat.js.map +1 -1
  44. package/dist/cjs/Seats/SeatRoster.d.ts.map +1 -1
  45. package/dist/cjs/Seats/SeatRoster.js +1 -1
  46. package/dist/cjs/Seats/SeatRoster.js.map +1 -1
  47. package/dist/cjs/Seats/SeatStanding.d.ts.map +1 -1
  48. package/dist/cjs/Seats/SeatStanding.js +1 -1
  49. package/dist/cjs/Seats/SeatStanding.js.map +1 -1
  50. package/dist/esm/Compute/ComputeLimits.d.ts.map +1 -1
  51. package/dist/esm/Compute/ComputeLimits.js +1 -1
  52. package/dist/esm/Compute/ComputeLimits.js.map +1 -1
  53. package/dist/esm/Compute/MeterStanding.d.ts.map +1 -1
  54. package/dist/esm/Compute/MeterStanding.js +2 -2
  55. package/dist/esm/Compute/MeterStanding.js.map +1 -1
  56. package/dist/esm/Compute/SetBudget/SetComputeBudget.d.ts.map +1 -1
  57. package/dist/esm/Compute/SetBudget/SetComputeBudget.js +2 -2
  58. package/dist/esm/Compute/SetBudget/SetComputeBudget.js.map +1 -1
  59. package/dist/esm/Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.d.ts.map +1 -1
  60. package/dist/esm/Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.js +2 -2
  61. package/dist/esm/Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.js.map +1 -1
  62. package/dist/esm/Entitlements/EntitlementSummary.d.ts.map +1 -1
  63. package/dist/esm/Entitlements/EntitlementSummary.js +1 -1
  64. package/dist/esm/Entitlements/EntitlementSummary.js.map +1 -1
  65. package/dist/esm/Entitlements/TenantStanding.d.ts.map +1 -1
  66. package/dist/esm/Entitlements/TenantStanding.js +1 -1
  67. package/dist/esm/Entitlements/TenantStanding.js.map +1 -1
  68. package/dist/esm/Offers/Offer.d.ts.map +1 -1
  69. package/dist/esm/Offers/Offer.js +2 -2
  70. package/dist/esm/Offers/Offer.js.map +1 -1
  71. package/dist/esm/Portal/PortalLink.d.ts.map +1 -1
  72. package/dist/esm/Portal/PortalLink.js +2 -2
  73. package/dist/esm/Portal/PortalLink.js.map +1 -1
  74. package/dist/esm/Seats/AssignSeat/AssignSeat.d.ts.map +1 -1
  75. package/dist/esm/Seats/AssignSeat/AssignSeat.js +2 -2
  76. package/dist/esm/Seats/AssignSeat/AssignSeat.js.map +1 -1
  77. package/dist/esm/Seats/ReleaseSeat/ReleaseSeat.d.ts.map +1 -1
  78. package/dist/esm/Seats/ReleaseSeat/ReleaseSeat.js +2 -2
  79. package/dist/esm/Seats/ReleaseSeat/ReleaseSeat.js.map +1 -1
  80. package/dist/esm/Seats/SeatRoster.d.ts.map +1 -1
  81. package/dist/esm/Seats/SeatRoster.js +1 -1
  82. package/dist/esm/Seats/SeatRoster.js.map +1 -1
  83. package/dist/esm/Seats/SeatStanding.d.ts.map +1 -1
  84. package/dist/esm/Seats/SeatStanding.js +1 -1
  85. package/dist/esm/Seats/SeatStanding.js.map +1 -1
  86. package/package.json +7 -7
@@ -1 +1 @@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E,2BAA2B,GAAG,CAAC,0BAA0B,EAAE,gBAAgB,CAAC,2BAA2B,CAAC,EAAE,kBAAkB,CAAC;CAG3J"}
@@ -5,7 +5,7 @@ import { SliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
5
5
  // Copyright (c) Cratis. All rights reserved.
6
6
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
7
7
  // **DO NOT EDIT** - This file is an automatically generated file.
8
- // @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Compute.SetConcurrencyLimit.SetComputeConcurrencyLimit. Time: 2026-10-31T12:53:10.7098780Z. Hash: 011813BFAEFA1FE463B3FEFE23B6EB93B795E1CDD422767B3DB0DB1302EC0F53
8
+ // @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Compute.SetConcurrencyLimit.SetComputeConcurrencyLimit. Time: 2026-11-11T04:34:24.5807960Z. Hash: 60333C2AE00FBFE29C72A1053620A346035040B2A9FCCEAEC1FCB2E62EC5FAA5
9
9
  class SetComputeConcurrencyLimitValidator extends CommandValidator {
10
10
  constructor(){
11
11
  super();
@@ -15,7 +15,7 @@ class SetComputeConcurrencyLimitValidator extends CommandValidator {
15
15
  /**
16
16
  * Sets how many units of work of a meter the tenant may run at the same time. Only a meter the product declared with a concurrency limit has one; work of the meter is turned away while the tenant runs that many.
17
17
  */ class SetComputeConcurrencyLimit extends Command {
18
- static sliceLocation = new SliceLocation('', 'Compute', 'SetConcurrencyLimit');
18
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', 'Compute', 'SetConcurrencyLimit');
19
19
  route = '/api/compute/set-concurrency-limit';
20
20
  validation = new SetComputeConcurrencyLimitValidator();
21
21
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"SetComputeConcurrencyLimit.js","sources":["../../../../Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Compute.SetConcurrencyLimit.SetComputeConcurrencyLimit. Time: 2026-10-31T12:53:10.7098780Z. Hash: 011813BFAEFA1FE463B3FEFE23B6EB93B795E1CDD422767B3DB0DB1302EC0F53\nimport { Command, CommandValidator } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\n\n/**\n * Sets how many units of work of a meter the tenant may run at the same time. Only a meter the product declared with a concurrency limit has one; work of the meter is turned away while the tenant runs that many.\n */\nexport interface ISetComputeConcurrencyLimit {\n\n /**\n * The number of units of work.\n */\n limit?: number;\n\n /**\n * The meter.\n */\n meter?: string;\n}\n\nexport class SetComputeConcurrencyLimitValidator extends CommandValidator<ISetComputeConcurrencyLimit> {\n constructor() {\n super();\n this.ruleFor(c => c.limit).greaterThan(0).withMessage('The limit must be at least one.');\n }\n}\n\n/**\n * Sets how many units of work of a meter the tenant may run at the same time. Only a meter the product declared with a concurrency limit has one; work of the meter is turned away while the tenant runs that many.\n */\nexport class SetComputeConcurrencyLimit extends Command<ISetComputeConcurrencyLimit, Record<string, unknown>[]> implements ISetComputeConcurrencyLimit {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Compute', 'SetConcurrencyLimit');\n readonly route: string = '/api/compute/set-concurrency-limit';\n readonly validation: CommandValidator = new SetComputeConcurrencyLimitValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('limit', Number, false),\n new PropertyDescriptor('meter', String, false),\n ];\n\n #limit!: number;\n #meter!: string;\n\n constructor() {\n super(Object, true);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The number of units of work.\n */\n get limit(): number {\n return this.#limit;\n }\n\n set limit(value: number) {\n this.#limit = value;\n this.propertyChanged('limit');\n }\n /**\n * The meter.\n */\n get meter(): string {\n return this.#meter;\n }\n\n set meter(value: string) {\n this.#meter = value;\n this.propertyChanged('meter');\n }\n\n static use(initialValues?: ISetComputeConcurrencyLimit): [SetComputeConcurrencyLimit, SetCommandValues<ISetComputeConcurrencyLimit>, ClearCommandValues] {\n return useCommand<SetComputeConcurrencyLimit, ISetComputeConcurrencyLimit, Record<string, unknown>[]>(SetComputeConcurrencyLimit, initialValues);\n }\n}\n"],"names":["SetComputeConcurrencyLimitValidator","CommandValidator","ruleFor","c","limit","greaterThan","withMessage","SetComputeConcurrencyLimit","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Number","String","Object","requestParameters","value","propertyChanged","meter","use","initialValues","useCommand"],"mappings":";;;;AAAA;AACA;AAEA;AACA;AAqBO,MAAMA,mCAAAA,SAA4CC,gBAAAA,CAAAA;IACrD,WAAA,EAAc;QACV,KAAK,EAAA;AACL,QAAA,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,KAAK,CAAA,CAAEC,WAAW,CAAC,CAAA,CAAA,CAAGC,WAAW,CAAC,iCAAA,CAAA;AAC1D,IAAA;AACJ;AAEA;;IAGO,MAAMC,0BAAAA,SAAmCC,OAAAA,CAAAA;AAC5C,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,WAAW,qBAAA,CAAA;AAC7EC,IAAAA,KAAAA,GAAgB,oCAAA;AAChBC,IAAAA,UAAAA,GAA+B,IAAIZ,mCAAAA,EAAAA;AACnCa,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,SAASC,MAAAA,EAAQ,KAAA,CAAA;QACxC,IAAID,kBAAAA,CAAmB,SAASE,MAAAA,EAAQ,KAAA;KAC3C;AAED,IAAA,MAAM;AACN,IAAA,MAAM;IAEN,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,IAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIhB,KAAAA,GAAgB;QAChB,OAAO,IAAI,CAAC,MAAM;AACtB,IAAA;IAEA,IAAIA,KAAAA,CAAMiB,KAAa,EAAE;QACrB,IAAI,CAAC,MAAM,GAAGA,KAAAA;QACd,IAAI,CAACC,eAAe,CAAC,OAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIC,KAAAA,GAAgB;QAChB,OAAO,IAAI,CAAC,MAAM;AACtB,IAAA;IAEA,IAAIA,KAAAA,CAAMF,KAAa,EAAE;QACrB,IAAI,CAAC,MAAM,GAAGA,KAAAA;QACd,IAAI,CAACC,eAAe,CAAC,OAAA,CAAA;AACzB,IAAA;IAEA,OAAOE,GAAAA,CAAIC,aAA2C,EAAmG;AACrJ,QAAA,OAAOC,WAA+FnB,0BAAAA,EAA4BkB,aAAAA,CAAAA;AACtI,IAAA;AACJ;;"}
1
+ {"version":3,"file":"SetComputeConcurrencyLimit.js","sources":["../../../../Compute/SetConcurrencyLimit/SetComputeConcurrencyLimit.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Compute.SetConcurrencyLimit.SetComputeConcurrencyLimit. Time: 2026-11-11T04:34:24.5807960Z. Hash: 60333C2AE00FBFE29C72A1053620A346035040B2A9FCCEAEC1FCB2E62EC5FAA5\nimport { Command, CommandValidator } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\n\n/**\n * Sets how many units of work of a meter the tenant may run at the same time. Only a meter the product declared with a concurrency limit has one; work of the meter is turned away while the tenant runs that many.\n */\nexport interface ISetComputeConcurrencyLimit {\n\n /**\n * The number of units of work.\n */\n limit?: number;\n\n /**\n * The meter.\n */\n meter?: string;\n}\n\nexport class SetComputeConcurrencyLimitValidator extends CommandValidator<ISetComputeConcurrencyLimit> {\n constructor() {\n super();\n this.ruleFor(c => c.limit).greaterThan(0).withMessage('The limit must be at least one.');\n }\n}\n\n/**\n * Sets how many units of work of a meter the tenant may run at the same time. Only a meter the product declared with a concurrency limit has one; work of the meter is turned away while the tenant runs that many.\n */\nexport class SetComputeConcurrencyLimit extends Command<ISetComputeConcurrencyLimit, Record<string, unknown>[]> implements ISetComputeConcurrencyLimit {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Compute', 'SetConcurrencyLimit');\n readonly route: string = '/api/compute/set-concurrency-limit';\n readonly validation: CommandValidator = new SetComputeConcurrencyLimitValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('limit', Number, false),\n new PropertyDescriptor('meter', String, false),\n ];\n\n #limit!: number;\n #meter!: string;\n\n constructor() {\n super(Object, true);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The number of units of work.\n */\n get limit(): number {\n return this.#limit;\n }\n\n set limit(value: number) {\n this.#limit = value;\n this.propertyChanged('limit');\n }\n /**\n * The meter.\n */\n get meter(): string {\n return this.#meter;\n }\n\n set meter(value: string) {\n this.#meter = value;\n this.propertyChanged('meter');\n }\n\n static use(initialValues?: ISetComputeConcurrencyLimit): [SetComputeConcurrencyLimit, SetCommandValues<ISetComputeConcurrencyLimit>, ClearCommandValues] {\n return useCommand<SetComputeConcurrencyLimit, ISetComputeConcurrencyLimit, Record<string, unknown>[]>(SetComputeConcurrencyLimit, initialValues);\n }\n}\n"],"names":["SetComputeConcurrencyLimitValidator","CommandValidator","ruleFor","c","limit","greaterThan","withMessage","SetComputeConcurrencyLimit","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Number","String","Object","requestParameters","value","propertyChanged","meter","use","initialValues","useCommand"],"mappings":";;;;AAAA;AACA;AAEA;AACA;AAqBO,MAAMA,mCAAAA,SAA4CC,gBAAAA,CAAAA;IACrD,WAAA,EAAc;QACV,KAAK,EAAA;AACL,QAAA,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,KAAK,CAAA,CAAEC,WAAW,CAAC,CAAA,CAAA,CAAGC,WAAW,CAAC,iCAAA,CAAA;AAC1D,IAAA;AACJ;AAEA;;IAGO,MAAMC,0BAAAA,SAAmCC,OAAAA,CAAAA;AAC5C,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,WAAW,qBAAA,CAAA;AAC3FC,IAAAA,KAAAA,GAAgB,oCAAA;AAChBC,IAAAA,UAAAA,GAA+B,IAAIZ,mCAAAA,EAAAA;AACnCa,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,SAASC,MAAAA,EAAQ,KAAA,CAAA;QACxC,IAAID,kBAAAA,CAAmB,SAASE,MAAAA,EAAQ,KAAA;KAC3C;AAED,IAAA,MAAM;AACN,IAAA,MAAM;IAEN,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,IAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIhB,KAAAA,GAAgB;QAChB,OAAO,IAAI,CAAC,MAAM;AACtB,IAAA;IAEA,IAAIA,KAAAA,CAAMiB,KAAa,EAA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AC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAA8D;IAC7G,QAAQ,CAAC,KAAK,EAAE,MAAM,CAA4C;IAClE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAqF;IAC/G,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,YAAY,EAAE,kBAAkB,CAA4B;;IAMrE,IAAI,yBAAyB,IAAI,MAAM,EAAE,CAGxC;IAED,QAAQ,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,CAClD;IAIF,MAAM,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIlF,MAAM,CAAC,WAAW,IAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAI1F,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,mBAAmB,EAAE,kBAAkB,CAAC;CAGtF;AAKD,qBAAa,kBAAkB;IAM3B,cAAc,EAAG,cAAc,CAAC;IAMhC,OAAO,EAAG,OAAO,CAAC;IAMlB,SAAS,CAAC,EAAE,QAAQ,CAAC;IAMrB,KAAK,EAAG,MAAM,CAAC;IAMf,UAAU,CAAC,EAAE,QAAQ,CAAC;IAMtB,OAAO,EAAG,cAAc,EAAE,CAAC;IAM3B,aAAa,EAAG,OAAO,CAAC;CAC3B"}
@@ -26,7 +26,7 @@ function _ts_metadata(metadataKey, metadataValue) {
26
26
  /**
27
27
  * Gets what the tenant may do today.
28
28
  */ class CurrentEntitlements extends QueryFor {
29
- static sliceLocation = new SliceLocation('', '', 'Entitlements');
29
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', '', 'Entitlements');
30
30
  route = '/api/entitlements/current-entitlements';
31
31
  queryName = 'Cratis.Showrunner.BoxOffice.Entitlements.EntitlementSummary.CurrentEntitlements';
32
32
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"EntitlementSummary.js","sources":["../../../Entitlements/EntitlementSummary.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Entitlements.EntitlementSummary, Cratis.Showrunner.BoxOffice.Entitlements.EntitlementSummary. Time: 2026-10-31T13:17:43.2153370Z. Hash: ECB663150DECD739E0E5AC4A29386C0D52C6614A2ADFD4A2D7A89C540FBF3F8D\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { DateOnly, field } from '@cratis/fundamentals';\nimport { ModuleStanding } from './ModuleStanding';\nimport { ReadOnlyReason } from './ReadOnlyReason';\n\n/**\n * Gets what the tenant may do today.\n */\nexport class CurrentEntitlements extends QueryFor<EntitlementSummary> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Entitlements');\n readonly route: string = '/api/entitlements/current-entitlements';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Entitlements.EntitlementSummary.CurrentEntitlements';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: EntitlementSummary = {} as EntitlementSummary;\n\n constructor() {\n super(EntitlementSummary, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<EntitlementSummary>, PerformQuery, SetSorting] {\n return useQuery<EntitlementSummary, CurrentEntitlements>(CurrentEntitlements);\n }\n\n static useSuspense(): [QueryResultWithState<EntitlementSummary>, PerformQuery, SetSorting] {\n return useSuspenseQuery<EntitlementSummary, CurrentEntitlements>(CurrentEntitlements);\n }\n\n static when(condition: boolean): QueryWhen<CurrentEntitlements, EntitlementSummary> {\n return new QueryWhen<CurrentEntitlements, EntitlementSummary>(CurrentEntitlements, condition);\n }\n}\n\n/**\n * What the signed-in user's tenant may do today, in one answer for the product's frontend: whether it is read-only and why, whether it is on a trial, how many seats it has and which modules it may use.\n */\nexport class EntitlementSummary {\n\n /**\n * Why the tenant is read-only; none when it is not.\n */\n @field(Number)\n readOnlyReason!: ReadOnlyReason;\n\n /**\n * Whether the tenant's seats come from a trial, closed or not.\n */\n @field(Boolean)\n isTrial!: boolean;\n\n /**\n * The last day of the trial; nothing when the tenant has no trial.\n */\n @field(DateOnly)\n trialEnds?: DateOnly;\n\n /**\n * How many seats the tenant has today.\n */\n @field(Number)\n seats!: number;\n\n /**\n * The last day of the seats; nothing when they do not end, or the tenant has none.\n */\n @field(DateOnly)\n seatsUntil?: DateOnly;\n\n /**\n * Every module the product declares, and what the tenant may do with it.\n */\n @field(ModuleStanding, true)\n modules!: ModuleStanding[];\n\n /**\n * Whether the product has a customer portal to buy, try or change a plan in.\n */\n @field(Boolean)\n canOpenPortal!: boolean;\n}\n"],"names":["CurrentEntitlements","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","EntitlementSummary","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","readOnlyReason","isTrial","trialEnds","seats","seatsUntil","modules","canOpenPortal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;IAGO,MAAMA,mBAAAA,SAA4BC,QAAAA,CAAAA;AACrC,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,cAAA,CAAA;AACtEC,IAAAA,KAAAA,GAAgB,wCAAA;AAChBC,IAAAA,SAAAA,GAAoB,iFAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAAmC,EAAC;IAE7C,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,kBAAAA,EAAoB,KAAA,CAAA;AAC9B,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAA4E;AAC/E,QAAA,OAAOC,QAAAA,CAAkDb,mBAAAA,CAAAA;AAC7D,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAAoF;AACvF,QAAA,OAAOC,gBAAAA,CAA0Df,mBAAAA,CAAAA;AACrE,IAAA;IAEA,OAAOgB,IAAAA,CAAKC,SAAkB,EAAsD;QAChF,OAAO,IAAIC,UAAmDlB,mBAAAA,EAAqBiB,SAAAA,CAAAA;AACvF,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMR,kBAAAA,CAAAA;AAET;;AAEC,QACD,cACAU;AAEA;;AAEC,QACD,OACAC;AAEA;;AAEC,QACD,SACAC;AAEA;;AAEC,QACD,KACAC;AAEA;;AAEC,QACD,UACAC;AAEA;;AAEC,QACD,OACAC;AAEA;;AAEC,QACD,aACAC;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"EntitlementSummary.js","sources":["../../../Entitlements/EntitlementSummary.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Entitlements.EntitlementSummary, Cratis.Showrunner.BoxOffice.Entitlements.EntitlementSummary. Time: 2026-11-11T04:34:24.5807960Z. Hash: A858657CAEF25E3BE3E56FD18D49BA2F782100B8D4AFE2169BB52E69E7053CE8\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { DateOnly, field } from '@cratis/fundamentals';\nimport { ModuleStanding } from './ModuleStanding';\nimport { ReadOnlyReason } from './ReadOnlyReason';\n\n/**\n * Gets what the tenant may do today.\n */\nexport class CurrentEntitlements extends QueryFor<EntitlementSummary> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Entitlements');\n readonly route: string = '/api/entitlements/current-entitlements';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Entitlements.EntitlementSummary.CurrentEntitlements';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: EntitlementSummary = {} as EntitlementSummary;\n\n constructor() {\n super(EntitlementSummary, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<EntitlementSummary>, PerformQuery, SetSorting] {\n return useQuery<EntitlementSummary, CurrentEntitlements>(CurrentEntitlements);\n }\n\n static useSuspense(): [QueryResultWithState<EntitlementSummary>, PerformQuery, SetSorting] {\n return useSuspenseQuery<EntitlementSummary, CurrentEntitlements>(CurrentEntitlements);\n }\n\n static when(condition: boolean): QueryWhen<CurrentEntitlements, EntitlementSummary> {\n return new QueryWhen<CurrentEntitlements, EntitlementSummary>(CurrentEntitlements, condition);\n }\n}\n\n/**\n * What the signed-in user's tenant may do today, in one answer for the product's frontend: whether it is read-only and why, whether it is on a trial, how many seats it has and which modules it may use.\n */\nexport class EntitlementSummary {\n\n /**\n * Why the tenant is read-only; none when it is not.\n */\n @field(Number)\n readOnlyReason!: ReadOnlyReason;\n\n /**\n * Whether the tenant's seats come from a trial, closed or not.\n */\n @field(Boolean)\n isTrial!: boolean;\n\n /**\n * The last day of the trial; nothing when the tenant has no trial.\n */\n @field(DateOnly)\n trialEnds?: DateOnly;\n\n /**\n * How many seats the tenant has today.\n */\n @field(Number)\n seats!: number;\n\n /**\n * The last day of the seats; nothing when they do not end, or the tenant has none.\n */\n @field(DateOnly)\n seatsUntil?: DateOnly;\n\n /**\n * Every module the product declares, and what the tenant may do with it.\n */\n @field(ModuleStanding, true)\n modules!: ModuleStanding[];\n\n /**\n * Whether the product has a customer portal to buy, try or change a plan in.\n */\n @field(Boolean)\n canOpenPortal!: boolean;\n}\n"],"names":["CurrentEntitlements","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","EntitlementSummary","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","readOnlyReason","isTrial","trialEnds","seats","seatsUntil","modules","canOpenPortal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;IAGO,MAAMA,mBAAAA,SAA4BC,QAAAA,CAAAA;AACrC,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,cAAA,CAAA;AACpFC,IAAAA,KAAAA,GAAgB,wCAAA;AAChBC,IAAAA,SAAAA,GAAoB,iFAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAAmC,EAAC;IAE7C,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,kBAAAA,EAAoB,KAAA,CAAA;AAC9B,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAA4E;AAC/E,QAAA,OAAOC,QAAAA,CAAkDb,mBAAAA,CAAAA;AAC7D,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAAoF;AACvF,QAAA,OAAOC,gBAAAA,CAA0Df,mBAAAA,CAAAA;AACrE,IAAA;I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;;IAM7D,IAAI,yBAAyB,IAAI,MAAM,EAAE,CAGxC;IAED,QAAQ,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,CAClD;IAIF,MAAM,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAI9E,MAAM,CAAC,WAAW,IAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAItF,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,eAAe,EAAE,cAAc,CAAC;CAG9E;AAKD,qBAAa,cAAc;IAMvB,EAAE,EAAG,MAAM,CAAC;IAMZ,SAAS,EAAG,OAAO,CAAC;IAMpB,KAAK,EAAG,eAAe,CAAC;IAMxB,SAAS,EAAG,IAAI,CAAC;IAMjB,cAAc,EAAG,cAAc,CAAC;CACnC"}
@@ -26,7 +26,7 @@ function _ts_metadata(metadataKey, metadataValue) {
26
26
  /**
27
27
  * Gets why the tenant can not change anything, so the frontend can show a banner.
28
28
  */ class CurrentStanding extends QueryFor {
29
- static sliceLocation = new SliceLocation('', '', 'Entitlements');
29
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', '', 'Entitlements');
30
30
  route = '/api/entitlements/current-standing';
31
31
  queryName = 'Cratis.Showrunner.BoxOffice.Entitlements.TenantStanding.CurrentStanding';
32
32
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"TenantStanding.js","sources":["../../../Entitlements/TenantStanding.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Entitlements.TenantStanding, Cratis.Showrunner.BoxOffice.Entitlements.TenantStanding. Time: 2026-10-31T09:02:25.7507330Z. Hash: 9F7FF02F16AC433A673F260D47C431082557136B3BEB973B6ED7B81A178AD861\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { field } from '@cratis/fundamentals';\nimport { ReadOnlyReason } from './ReadOnlyReason';\nimport { SuspensionCause } from '../Contracts/Tenants/SuspensionCause';\n\n/**\n * Gets why the tenant can not change anything, so the frontend can show a banner.\n */\nexport class CurrentStanding extends QueryFor<TenantStanding> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Entitlements');\n readonly route: string = '/api/entitlements/current-standing';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Entitlements.TenantStanding.CurrentStanding';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: TenantStanding = {} as TenantStanding;\n\n constructor() {\n super(TenantStanding, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<TenantStanding>, PerformQuery, SetSorting] {\n return useQuery<TenantStanding, CurrentStanding>(CurrentStanding);\n }\n\n static useSuspense(): [QueryResultWithState<TenantStanding>, PerformQuery, SetSorting] {\n return useSuspenseQuery<TenantStanding, CurrentStanding>(CurrentStanding);\n }\n\n static when(condition: boolean): QueryWhen<CurrentStanding, TenantStanding> {\n return new QueryWhen<CurrentStanding, TenantStanding>(CurrentStanding, condition);\n }\n}\n\n/**\n * Whether the operator suspended a tenant, and the reason the tenant is read-only when it is, for the frontend to show.\n */\nexport class TenantStanding {\n\n /**\n * The id of the tenant's stream.\n */\n @field(String)\n id!: string;\n\n /**\n * Whether the operator has the tenant suspended.\n */\n @field(Boolean)\n suspended!: boolean;\n\n /**\n * Why the operator suspended the tenant, while it does.\n */\n @field(Number)\n cause!: SuspensionCause;\n\n /**\n * When the operator made the decision that stands. A decision that arrives after a newer one is ignored.\n */\n @field(Date)\n decidedAt!: Date;\n\n /**\n * Why the tenant can read but not change anything, evaluated when it is read; none when it can.\n */\n @field(Number)\n readOnlyReason!: ReadOnlyReason;\n}\n"],"names":["CurrentStanding","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","TenantStanding","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","id","suspended","cause","decidedAt","readOnlyReason"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;IAGO,MAAMA,eAAAA,SAAwBC,QAAAA,CAAAA;AACjC,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,cAAA,CAAA;AACtEC,IAAAA,KAAAA,GAAgB,oCAAA;AAChBC,IAAAA,SAAAA,GAAoB,yEAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAA+B,EAAC;IAEzC,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,cAAAA,EAAgB,KAAA,CAAA;AAC1B,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAAwE;AAC3E,QAAA,OAAOC,QAAAA,CAA0Cb,eAAAA,CAAAA;AACrD,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAAgF;AACnF,QAAA,OAAOC,gBAAAA,CAAkDf,eAAAA,CAAAA;AAC7D,IAAA;IAEA,OAAOgB,IAAAA,CAAKC,SAAkB,EAA8C;QACxE,OAAO,IAAIC,UAA2ClB,eAAAA,EAAiBiB,SAAAA,CAAAA;AAC3E,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMR,cAAAA,CAAAA;AAET;;AAEC,QACD,EACAU;AAEA;;AAEC,QACD,SACAC;AAEA;;AAEC,QACD,KACAC;AAEA;;AAEC,QACD,SACAC;AAEA;;AAEC,QACD,cACAC;AACJ;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"TenantStanding.js","sources":["../../../Entitlements/TenantStanding.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Entitlements.TenantStanding, Cratis.Showrunner.BoxOffice.Entitlements.TenantStanding. Time: 2026-11-11T04:34:24.5807960Z. Hash: 8AFCA12C398CF86BC6A9F880713AC55DF855D138496E21B39E71FC6BD85B3B05\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { field } from '@cratis/fundamentals';\nimport { ReadOnlyReason } from './ReadOnlyReason';\nimport { SuspensionCause } from '../Contracts/Tenants/SuspensionCause';\n\n/**\n * Gets why the tenant can not change anything, so the frontend can show a banner.\n */\nexport class CurrentStanding extends QueryFor<TenantStanding> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Entitlements');\n readonly route: string = '/api/entitlements/current-standing';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Entitlements.TenantStanding.CurrentStanding';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: TenantStanding = {} as TenantStanding;\n\n constructor() {\n super(TenantStanding, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<TenantStanding>, PerformQuery, SetSorting] {\n return useQuery<TenantStanding, CurrentStanding>(CurrentStanding);\n }\n\n static useSuspense(): [QueryResultWithState<TenantStanding>, PerformQuery, SetSorting] {\n return useSuspenseQuery<TenantStanding, CurrentStanding>(CurrentStanding);\n }\n\n static when(condition: boolean): QueryWhen<CurrentStanding, TenantStanding> {\n return new QueryWhen<CurrentStanding, TenantStanding>(CurrentStanding, condition);\n }\n}\n\n/**\n * Whether the operator suspended a tenant, and the reason the tenant is read-only when it is, for the frontend to show.\n */\nexport class TenantStanding {\n\n /**\n * The id of the tenant's stream.\n */\n @field(String)\n id!: string;\n\n /**\n * Whether the operator has the tenant suspended.\n */\n @field(Boolean)\n suspended!: boolean;\n\n /**\n * Why the operator suspended the tenant, while it does.\n */\n @field(Number)\n cause!: SuspensionCause;\n\n /**\n * When the operator made the decision that stands. A decision that arrives after a newer one is ignored.\n */\n @field(Date)\n decidedAt!: Date;\n\n /**\n * Why the tenant can read but not change anything, evaluated when it is read; none when it can.\n */\n @field(Number)\n readOnlyReason!: ReadOnlyReason;\n}\n"],"names":["CurrentStanding","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","TenantStanding","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","id","suspended","cause","decidedAt","readOnlyReason"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;IAGO,MAAMA,eAAAA,SAAwBC,QAAAA,CAAAA;AACjC,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,cAAA,CAAA;AACpFC,IAAAA,KAAAA,GAAgB,oCAAA;AAChBC,IAAAA,SAAAA,GAAoB,yEAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAA+B,EAAC;IAEzC,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,cAAAA,EAAgB,KAAA,CAAA;AAC1B,IAAA;AAEA,IA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CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,CAAC;IAI1I,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIhG,MAAM,CAAC,qBAAqB,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,CAAC;IAIlJ,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,CAAC;CAG9D;AAKD,qBAAa,KAAK;IAMd,EAAE,EAAG,IAAI,CAAC;IAMV,IAAI,EAAG,MAAM,CAAC;IAMd,OAAO,EAAG,MAAM,EAAE,CAAC;IAMnB,aAAa,EAAG,MAAM,CAAC;IAMvB,MAAM,EAAG,UAAU,EAAE,CAAC;IAMtB,SAAS,EAAG,OAAO,CAAC;CACvB"}
@@ -87,14 +87,14 @@ class OnSaleSortByWithoutQuery {
87
87
  /**
88
88
  * Gets the offers on sale.
89
89
  */ class OnSale extends QueryFor {
90
- static sliceLocation = new SliceLocation('', '', 'Offers');
90
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', '', 'Offers');
91
91
  route = '/api/offers/on-sale';
92
92
  queryName = 'Cratis.Showrunner.BoxOffice.Offers.Offer.OnSale';
93
93
  treatWarningsAsErrors = false;
94
94
  roles = [];
95
95
  defaultValue = [];
96
96
  _sortBy;
97
- static _sortBy = new OnSaleSortByWithoutQuery();
97
+ static _sortBy = /*#__PURE__*/ new OnSaleSortByWithoutQuery();
98
98
  constructor(){
99
99
  super(Offer, true);
100
100
  this._sortBy = new OnSaleSortBy(this);
@@ -1 +1 @@
1
- {"version":3,"file":"Offer.js","sources":["../../../Offers/Offer.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Offers.Offer, Cratis.Showrunner.BoxOffice.Offers.Offer. Time: 2026-10-31T09:00:17.5207780Z. Hash: 7673DE0FEE8F93BA649B9A59208C8F68E85A8D9E65582D8B2439BDF2A8952D2C\nimport { Paging, QueryFor, QueryResultWithState, Sorting, SortingActions, SortingActionsForQuery } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetPage, SetPageSize, SetSorting, useQuery, useQueryWithPaging, useSuspenseQuery, useSuspenseQueryWithPaging } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { Guid, field } from '@cratis/fundamentals';\nimport { OfferPrice } from '../Contracts/Offers/OfferPrice';\n\nclass OnSaleSortBy {\n private _id: SortingActionsForQuery<Offer[]>;\n private _includedSeats: SortingActionsForQuery<Offer[]>;\n private _modules: SortingActionsForQuery<Offer[]>;\n private _name: SortingActionsForQuery<Offer[]>;\n private _prices: SortingActionsForQuery<Offer[]>;\n private _withdrawn: SortingActionsForQuery<Offer[]>;\n\n constructor(readonly query: OnSale) {\n this._id = new SortingActionsForQuery<Offer[]>('id', query);\n this._includedSeats = new SortingActionsForQuery<Offer[]>('includedSeats', query);\n this._modules = new SortingActionsForQuery<Offer[]>('modules', query);\n this._name = new SortingActionsForQuery<Offer[]>('name', query);\n this._prices = new SortingActionsForQuery<Offer[]>('prices', query);\n this._withdrawn = new SortingActionsForQuery<Offer[]>('withdrawn', query);\n }\n\n get id(): SortingActionsForQuery<Offer[]> {\n return this._id;\n }\n get includedSeats(): SortingActionsForQuery<Offer[]> {\n return this._includedSeats;\n }\n get modules(): SortingActionsForQuery<Offer[]> {\n return this._modules;\n }\n get name(): SortingActionsForQuery<Offer[]> {\n return this._name;\n }\n get prices(): SortingActionsForQuery<Offer[]> {\n return this._prices;\n }\n get withdrawn(): SortingActionsForQuery<Offer[]> {\n return this._withdrawn;\n }\n}\n\nclass OnSaleSortByWithoutQuery {\n private _id: SortingActions = new SortingActions('id');\n private _includedSeats: SortingActions = new SortingActions('includedSeats');\n private _modules: SortingActions = new SortingActions('modules');\n private _name: SortingActions = new SortingActions('name');\n private _prices: SortingActions = new SortingActions('prices');\n private _withdrawn: SortingActions = new SortingActions('withdrawn');\n\n get id(): SortingActions {\n return this._id;\n }\n get includedSeats(): SortingActions {\n return this._includedSeats;\n }\n get modules(): SortingActions {\n return this._modules;\n }\n get name(): SortingActions {\n return this._name;\n }\n get prices(): SortingActions {\n return this._prices;\n }\n get withdrawn(): SortingActions {\n return this._withdrawn;\n }\n}\n\n\n/**\n * Gets the offers on sale.\n */\nexport class OnSale extends QueryFor<Offer[]> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Offers');\n readonly route: string = '/api/offers/on-sale';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Offers.Offer.OnSale';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: Offer[] = [];\n private readonly _sortBy: OnSaleSortBy;\n private static readonly _sortBy: OnSaleSortByWithoutQuery = new OnSaleSortByWithoutQuery();\n\n constructor() {\n super(Offer, true);\n this._sortBy = new OnSaleSortBy(this);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n get sortBy(): OnSaleSortBy {\n return this._sortBy;\n }\n\n static get sortBy(): OnSaleSortByWithoutQuery {\n return this._sortBy;\n }\n\n static use(sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting] {\n return useQuery<Offer[], OnSale>(OnSale, undefined, sorting);\n }\n\n static useWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting, SetPage, SetPageSize] {\n return useQueryWithPaging<Offer[], OnSale>(OnSale, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useSuspense(sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting] {\n return useSuspenseQuery<Offer[], OnSale>(OnSale, undefined, sorting);\n }\n\n static useSuspenseWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting, SetPage, SetPageSize] {\n return useSuspenseQueryWithPaging<Offer[], OnSale>(OnSale, new Paging(0, pageSize), undefined, sorting);\n }\n\n static when(condition: boolean): QueryWhen<OnSale, Offer[]> {\n return new QueryWhen<OnSale, Offer[]>(OnSale, condition);\n }\n}\n\n/**\n * An offer the operator sells the product under, kept for the plan page. A withdrawn offer stays as it was, marked withdrawn: tenants that have it keep it.\n */\nexport class Offer {\n\n /**\n * The id of the offer.\n */\n @field(Guid)\n id!: Guid;\n\n /**\n * The name of the offer.\n */\n @field(String)\n name!: string;\n\n /**\n * The modules the offer includes.\n */\n @field(String, true)\n modules!: string[];\n\n /**\n * The seats the offer includes.\n */\n @field(Number)\n includedSeats!: number;\n\n /**\n * What the offer costs.\n */\n @field(OfferPrice, true)\n prices!: OfferPrice[];\n\n /**\n * Whether the operator stopped selling it.\n */\n @field(Boolean)\n withdrawn!: boolean;\n}\n"],"names":["OnSaleSortBy","_id","_includedSeats","_modules","_name","_prices","_withdrawn","query","SortingActionsForQuery","id","includedSeats","modules","name","prices","withdrawn","OnSaleSortByWithoutQuery","SortingActions","OnSale","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","_sortBy","Offer","requiredRequestParameters","parameterDescriptors","sortBy","use","sorting","useQuery","undefined","useWithPaging","pageSize","useQueryWithPaging","Paging","useSuspense","useSuspenseQuery","useSuspenseWithPaging","useSuspenseQueryWithPaging","when","condition","QueryWhen"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAWA,MAAMA,YAAAA,CAA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["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Offers.Offer, Cratis.Showrunner.BoxOffice.Offers.Offer. Time: 2026-11-11T04:34:24.5807960Z. Hash: 72BC7BB10E01E5A0D8D172D7E0C7460E10E2C980F2887C84F8689B5943F3F374\nimport { Paging, QueryFor, QueryResultWithState, Sorting, SortingActions, SortingActionsForQuery } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetPage, SetPageSize, SetSorting, useQuery, useQueryWithPaging, useSuspenseQuery, useSuspenseQueryWithPaging } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { Guid, field } from '@cratis/fundamentals';\nimport { OfferPrice } from '../Contracts/Offers/OfferPrice';\n\nclass OnSaleSortBy {\n private _id: SortingActionsForQuery<Offer[]>;\n private _includedSeats: SortingActionsForQuery<Offer[]>;\n private _modules: SortingActionsForQuery<Offer[]>;\n private _name: SortingActionsForQuery<Offer[]>;\n private _prices: SortingActionsForQuery<Offer[]>;\n private _withdrawn: SortingActionsForQuery<Offer[]>;\n\n constructor(readonly query: OnSale) {\n this._id = new SortingActionsForQuery<Offer[]>('id', query);\n this._includedSeats = new SortingActionsForQuery<Offer[]>('includedSeats', query);\n this._modules = new SortingActionsForQuery<Offer[]>('modules', query);\n this._name = new SortingActionsForQuery<Offer[]>('name', query);\n this._prices = new SortingActionsForQuery<Offer[]>('prices', query);\n this._withdrawn = new SortingActionsForQuery<Offer[]>('withdrawn', query);\n }\n\n get id(): SortingActionsForQuery<Offer[]> {\n return this._id;\n }\n get includedSeats(): SortingActionsForQuery<Offer[]> {\n return this._includedSeats;\n }\n get modules(): SortingActionsForQuery<Offer[]> {\n return this._modules;\n }\n get name(): SortingActionsForQuery<Offer[]> {\n return this._name;\n }\n get prices(): SortingActionsForQuery<Offer[]> {\n return this._prices;\n }\n get withdrawn(): SortingActionsForQuery<Offer[]> {\n return this._withdrawn;\n }\n}\n\nclass OnSaleSortByWithoutQuery {\n private _id: SortingActions = new SortingActions('id');\n private _includedSeats: SortingActions = new SortingActions('includedSeats');\n private _modules: SortingActions = new SortingActions('modules');\n private _name: SortingActions = new SortingActions('name');\n private _prices: SortingActions = new SortingActions('prices');\n private _withdrawn: SortingActions = new SortingActions('withdrawn');\n\n get id(): SortingActions {\n return this._id;\n }\n get includedSeats(): SortingActions {\n return this._includedSeats;\n }\n get modules(): SortingActions {\n return this._modules;\n }\n get name(): SortingActions {\n return this._name;\n }\n get prices(): SortingActions {\n return this._prices;\n }\n get withdrawn(): SortingActions {\n return this._withdrawn;\n }\n}\n\n\n/**\n * Gets the offers on sale.\n */\nexport class OnSale extends QueryFor<Offer[]> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Offers');\n readonly route: string = '/api/offers/on-sale';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Offers.Offer.OnSale';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: Offer[] = [];\n private readonly _sortBy: OnSaleSortBy;\n private static readonly _sortBy: OnSaleSortByWithoutQuery = /*#__PURE__*/ new OnSaleSortByWithoutQuery();\n\n constructor() {\n super(Offer, true);\n this._sortBy = new OnSaleSortBy(this);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n get sortBy(): OnSaleSortBy {\n return this._sortBy;\n }\n\n static get sortBy(): OnSaleSortByWithoutQuery {\n return this._sortBy;\n }\n\n static use(sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting] {\n return useQuery<Offer[], OnSale>(OnSale, undefined, sorting);\n }\n\n static useWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting, SetPage, SetPageSize] {\n return useQueryWithPaging<Offer[], OnSale>(OnSale, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useSuspense(sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting] {\n return useSuspenseQuery<Offer[], OnSale>(OnSale, undefined, sorting);\n }\n\n static useSuspenseWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<Offer[]>, PerformQuery, SetSorting, SetPage, SetPageSize] {\n return useSuspenseQueryWithPaging<Offer[], OnSale>(OnSale, new Paging(0, pageSize), undefined, sorting);\n }\n\n static when(condition: boolean): QueryWhen<OnSale, Offer[]> {\n return new QueryWhen<OnSale, Offer[]>(OnSale, condition);\n }\n}\n\n/**\n * An offer the operator sells the product under, kept for the plan page. A withdrawn offer stays as it was, marked withdrawn: tenants that have it keep it.\n */\nexport class Offer {\n\n /**\n * The id of the offer.\n */\n @field(Guid)\n id!: Guid;\n\n /**\n * The name of the offer.\n */\n @field(String)\n name!: string;\n\n /**\n * The modules the offer includes.\n */\n @field(String, true)\n modules!: string[];\n\n /**\n * The seats the offer includes.\n */\n @field(Number)\n includedSeats!: number;\n\n /**\n * What the offer costs.\n */\n @field(OfferPrice, true)\n prices!: OfferPrice[];\n\n /**\n * Whether the operator stopped selling it.\n */\n @field(Boolean)\n withdrawn!: boolean;\n}\n"],"names":["OnSaleSortBy","_id","_includedSeats","_modules","_name","_prices","_withdrawn","query","SortingActionsForQuery","id","includedSeats","modules","name","prices","withdrawn","OnSaleSortByWithoutQuery","SortingActions","OnSale","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","_sortBy","Offer","requiredRequestParameters","parameterDescriptors","sortBy","use","sorting","useQuery","undefined","useWithPaging","pageSize","useQueryWithPaging","Paging","useSuspense","useSuspenseQuery","useSuspenseWithPaging","useSuspenseQueryWithPaging","when","condition","QueryWhen"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAWA,MAAMA,YAAAA,CAAAA;;IACMC,GAAA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AAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,sBAAsB,GAAG,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IAI/H,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,sBAAsB,GAAG,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC,sBAAsB,CAAC,EAAE,UAAU,CAAC;IAIvI,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,YAAY,EAAE,UAAU,EAAE,sBAAsB,CAAC;CAG/F;AAKD,qBAAa,UAAU;IAMnB,GAAG,EAAG,MAAM,CAAC;CAChB"}
@@ -1,7 +1,7 @@
1
1
  import { QueryFor } from '@cratis/arc/queries';
2
2
  import { useQuery, useSuspenseQuery, QueryWhen } from '@cratis/arc.react/queries';
3
3
  import { SliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';
4
- import { Guid, field } from '@cratis/fundamentals';
4
+ import { field, Guid } from '@cratis/fundamentals';
5
5
 
6
6
  function _ts_decorate(decorators, target, key, desc) {
7
7
  var c = arguments.length, r = c < 3 ? target : desc, d;
@@ -24,7 +24,7 @@ function _ts_metadata(metadataKey, metadataValue) {
24
24
  /**
25
25
  * Gets a link to the customer portal for what the signed-in user wants to do there.
26
26
  */ class LinkToPortal extends QueryFor {
27
- static sliceLocation = new SliceLocation('', '', 'Portal');
27
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', '', 'Portal');
28
28
  route = '/api/portal/link-to-portal';
29
29
  queryName = 'Cratis.Showrunner.BoxOffice.Portal.PortalLink.LinkToPortal';
30
30
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"PortalLink.js","sources":["../../../Portal/PortalLink.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Portal.PortalLink, Cratis.Showrunner.BoxOffice.Portal.PortalLink. Time: 2026-10-31T13:17:43.2153370Z. Hash: F030CA3919A960F9398AE19085D9D6EBEAE801ADF3AC85195CCE96248C737744\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { Guid, field } from '@cratis/fundamentals';\nimport { PortalIntent } from './PortalIntent';\n\n/**\n * Gets a link to the customer portal for what the signed-in user wants to do there.\n */\nexport interface LinkToPortalParameters {\n\n /**\n * What the user wants to do.\n */\n intent: PortalIntent;\n\n /**\n * The offer the user looked at, when they did.\n */\n offer?: Guid;\n}\n\n\n/**\n * Gets a link to the customer portal for what the signed-in user wants to do there.\n */\nexport class LinkToPortal extends QueryFor<PortalLink, LinkToPortalParameters> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Portal');\n readonly route: string = '/api/portal/link-to-portal';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Portal.PortalLink.LinkToPortal';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: PortalLink = {} as PortalLink;\n\n constructor() {\n super(PortalLink, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n 'intent',\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n new ParameterDescriptor('intent', Number, false),\n new ParameterDescriptor('offer', Guid, false),\n ];\n\n intent!: PortalIntent;\n offer!: Guid;\n\n\n static use(args?: LinkToPortalParameters): [QueryResultWithState<PortalLink>, PerformQuery<LinkToPortalParameters>, SetSorting] {\n return useQuery<PortalLink, LinkToPortal, LinkToPortalParameters>(LinkToPortal, args);\n }\n\n static useSuspense(args?: LinkToPortalParameters): [QueryResultWithState<PortalLink>, PerformQuery<LinkToPortalParameters>, SetSorting] {\n return useSuspenseQuery<PortalLink, LinkToPortal, LinkToPortalParameters>(LinkToPortal, args);\n }\n\n static when(condition: boolean): QueryWhen<LinkToPortal, PortalLink, LinkToPortalParameters> {\n return new QueryWhen<LinkToPortal, PortalLink, LinkToPortalParameters>(LinkToPortal, condition);\n }\n}\n\n/**\n * A link that opens the operator's customer portal for the signed-in user's tenant.\n */\nexport class PortalLink {\n\n /**\n * The link, which stops working after a while.\n */\n @field(String)\n url!: string;\n}\n"],"names":["LinkToPortal","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","PortalLink","requiredRequestParameters","parameterDescriptors","ParameterDescriptor","Number","Guid","intent","offer","use","args","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","url"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA4BA;;IAGO,MAAMA,YAAAA,SAAqBC,QAAAA,CAAAA;AAC9B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,QAAA,CAAA;AACtEC,IAAAA,KAAAA,GAAgB,4BAAA;AAChBC,IAAAA,SAAAA,GAAoB,4DAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAA2B,EAAC;IAErC,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,UAAAA,EAAY,KAAA,CAAA;AACtB,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;QACtC,OAAO;AACH,YAAA;AACH,SAAA;AACL,IAAA;IAESC,oBAAAA,GAA8C;QACnD,IAAIC,mBAAAA,CAAoB,UAAUC,MAAAA,EAAQ,KAAA,CAAA;QAC1C,IAAID,mBAAAA,CAAoB,SAASE,IAAAA,EAAM,KAAA;KAC1C;IAEDC,MAAAA;IACAC,KAAAA;IAGA,OAAOC,GAAAA,CAAIC,IAA6B,EAAwF;AAC5H,QAAA,OAAOC,SAA2DnB,YAAAA,EAAckB,IAAAA,CAAAA;AACpF,IAAA;IAEA,OAAOE,WAAAA,CAAYF,IAA6B,EAAwF;AACpI,QAAA,OAAOG,iBAAmErB,YAAAA,EAAckB,IAAAA,CAAAA;AAC5F,IAAA;IAEA,OAAOI,IAAAA,CAAKC,SAAkB,EAA+D;QACzF,OAAO,IAAIC,UAA4DxB,YAAAA,EAAcuB,SAAAA,CAAAA;AACzF,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMd,UAAAA,CAAAA;AAET;;AAEC,QACD,GACAgB;AACJ;;;;;;"}
1
+ {"version":3,"file":"PortalLink.js","sources":["../../../Portal/PortalLink.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Portal.PortalLink, Cratis.Showrunner.BoxOffice.Portal.PortalLink. Time: 2026-11-11T04:34:24.5807960Z. Hash: E4E66E27A4FFFBA083577B566586E436915617AE1C906F72BCCB42ECDB18A4C6\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { Guid, field } from '@cratis/fundamentals';\nimport { PortalIntent } from './PortalIntent';\n\n/**\n * Gets a link to the customer portal for what the signed-in user wants to do there.\n */\nexport interface LinkToPortalParameters {\n\n /**\n * What the user wants to do.\n */\n intent: PortalIntent;\n\n /**\n * The offer the user looked at, when they did.\n */\n offer?: Guid;\n}\n\n\n/**\n * Gets a link to the customer portal for what the signed-in user wants to do there.\n */\nexport class LinkToPortal extends QueryFor<PortalLink, LinkToPortalParameters> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Portal');\n readonly route: string = '/api/portal/link-to-portal';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Portal.PortalLink.LinkToPortal';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: PortalLink = {} as PortalLink;\n\n constructor() {\n super(PortalLink, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n 'intent',\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n new ParameterDescriptor('intent', Number, false),\n new ParameterDescriptor('offer', Guid, false),\n ];\n\n intent!: PortalIntent;\n offer!: Guid;\n\n\n static use(args?: LinkToPortalParameters): [QueryResultWithState<PortalLink>, PerformQuery<LinkToPortalParameters>, SetSorting] {\n return useQuery<PortalLink, LinkToPortal, LinkToPortalParameters>(LinkToPortal, args);\n }\n\n static useSuspense(args?: LinkToPortalParameters): [QueryResultWithState<PortalLink>, PerformQuery<LinkToPortalParameters>, SetSorting] {\n return useSuspenseQuery<PortalLink, LinkToPortal, LinkToPortalParameters>(LinkToPortal, args);\n }\n\n static when(condition: boolean): QueryWhen<LinkToPortal, PortalLink, LinkToPortalParameters> {\n return new QueryWhen<LinkToPortal, PortalLink, LinkToPortalParameters>(LinkToPortal, condition);\n }\n}\n\n/**\n * A link that opens the operator's customer portal for the signed-in user's tenant.\n */\nexport class PortalLink {\n\n /**\n * The link, which stops working after a while.\n */\n @field(String)\n url!: string;\n}\n"],"names":["LinkToPortal","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","PortalLink","requiredRequestParameters","parameterDescriptors","ParameterDescriptor","Number","Guid","intent","offer","use","args","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","url"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA4BA;;IAGO,MAAMA,YAAAA,SAAqBC,QAAAA,CAAAA;AAC9B,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,QAAA,CAAA;AACpFC,IAAAA,KAAAA,GA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,EAAE,CAAE,YAAW,WAAW;;IAClG,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAiE;IAChH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAA4B;IAClD,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAEhD;;IAQF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAGvB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,CAAC,UAAU,EAAE,gBAAgB,CAAC,WAAW,CAAC,EAAE,kBAAkB,CAAC;CAG3G"}
@@ -6,11 +6,11 @@ import { Person } from '../../Contracts/People/Person.js';
6
6
  // Copyright (c) Cratis. All rights reserved.
7
7
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
8
8
  // **DO NOT EDIT** - This file is an automatically generated file.
9
- // @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.AssignSeat.AssignSeat. Time: 2026-10-31T09:03:53.6634510Z. Hash: 834A20C74AD08819B5ECA7A079B4BBC21A7EE254179F8E25ED929BDDD8B2E0DB
9
+ // @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.AssignSeat.AssignSeat. Time: 2026-11-11T04:34:24.5807960Z. Hash: ED6E9C61A2F53AB2ABE9D5344946DA42233E402EE63DA7F5842350E7AA954579
10
10
  /**
11
11
  * Gives a person one of the tenant's seats. Who holds a seat is the product's decision; how many seats there are is the operator's. Assigning a seat to someone who already holds one records nothing.
12
12
  */ class AssignSeat extends Command {
13
- static sliceLocation = new SliceLocation('', 'Seats', 'AssignSeat');
13
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', 'Seats', 'AssignSeat');
14
14
  route = '/api/seats/assign-seat';
15
15
  treatWarningsAsErrors = false;
16
16
  roles = [];
@@ -1 +1 @@
1
- {"version":3,"file":"AssignSeat.js","sources":["../../../../Seats/AssignSeat/AssignSeat.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.AssignSeat.AssignSeat. Time: 2026-10-31T09:03:53.6634510Z. Hash: 834A20C74AD08819B5ECA7A079B4BBC21A7EE254179F8E25ED929BDDD8B2E0DB\nimport { Command } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\nimport { Person } from '../../Contracts/People/Person';\n\n/**\n * Gives a person one of the tenant's seats. Who holds a seat is the product's decision; how many seats there are is the operator's. Assigning a seat to someone who already holds one records nothing.\n */\nexport interface IAssignSeat {\n\n /**\n * The person to give a seat.\n */\n holder?: Person;\n}\n\n\n/**\n * Gives a person one of the tenant's seats. Who holds a seat is the product's decision; how many seats there are is the operator's. Assigning a seat to someone who already holds one records nothing.\n */\nexport class AssignSeat extends Command<IAssignSeat, Record<string, unknown>[]> implements IAssignSeat {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Seats', 'AssignSeat');\n readonly route: string = '/api/seats/assign-seat';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('holder', Person, false),\n ];\n\n #holder!: Person;\n\n constructor() {\n super(Object, true);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The person to give a seat.\n */\n get holder(): Person {\n return this.#holder;\n }\n\n set holder(value: Person) {\n this.#holder = value;\n this.propertyChanged('holder');\n }\n\n static use(initialValues?: IAssignSeat): [AssignSeat, SetCommandValues<IAssignSeat>, ClearCommandValues] {\n return useCommand<AssignSeat, IAssignSeat, Record<string, unknown>[]>(AssignSeat, initialValues);\n }\n}\n"],"names":["AssignSeat","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Person","Object","requestParameters","holder","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AAkBA;;IAGO,MAAMA,UAAAA,SAAmBC,OAAAA,CAAAA;AAC5B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,SAAS,YAAA,CAAA;AAC3EC,IAAAA,KAAAA,GAAgB,wBAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,UAAUC,MAAAA,EAAQ,KAAA;KAC5C;AAED,IAAA,OAAO;IAEP,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,IAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIC,MAAAA,GAAiB;QACjB,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOC,KAAa,EAAE;QACtB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA2B,EAAmE;AACrG,QAAA,OAAOC,WAA+DjB,UAAAA,EAAYgB,aAAAA,CAAAA;AACtF,IAAA;AACJ;;"}
1
+ {"version":3,"file":"AssignSeat.js","sources":["../../../../Seats/AssignSeat/AssignSeat.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.AssignSeat.AssignSeat. Time: 2026-11-11T04:34:24.5807960Z. Hash: ED6E9C61A2F53AB2ABE9D5344946DA42233E402EE63DA7F5842350E7AA954579\nimport { Command } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\nimport { Person } from '../../Contracts/People/Person';\n\n/**\n * Gives a person one of the tenant's seats. Who holds a seat is the product's decision; how many seats there are is the operator's. Assigning a seat to someone who already holds one records nothing.\n */\nexport interface IAssignSeat {\n\n /**\n * The person to give a seat.\n */\n holder?: Person;\n}\n\n\n/**\n * Gives a person one of the tenant's seats. Who holds a seat is the product's decision; how many seats there are is the operator's. Assigning a seat to someone who already holds one records nothing.\n */\nexport class AssignSeat extends Command<IAssignSeat, Record<string, unknown>[]> implements IAssignSeat {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Seats', 'AssignSeat');\n readonly route: string = '/api/seats/assign-seat';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('holder', Person, false),\n ];\n\n #holder!: Person;\n\n constructor() {\n super(Object, true);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The person to give a seat.\n */\n get holder(): Person {\n return this.#holder;\n }\n\n set holder(value: Person) {\n this.#holder = value;\n this.propertyChanged('holder');\n }\n\n static use(initialValues?: IAssignSeat): [AssignSeat, SetCommandValues<IAssignSeat>, ClearCommandValues] {\n return useCommand<AssignSeat, IAssignSeat, Record<string, unknown>[]>(AssignSeat, initialValues);\n }\n}\n"],"names":["AssignSeat","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Person","Object","requestParameters","holder","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AAkBA;;IAGO,MAAMA,UAAAA,SAAmBC,OAAAA,CAAAA;AAC5B,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,SAAS,YAAA,CAAA;AACzFC,IAAAA,KAAAA,GAAgB,wBAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,UAAUC,MAAAA,EAAQ,KAAA;KAC5C;AAED,IAAA,OAAO;IAEP,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,IAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIC,MAAAA,GAAiB;QACjB,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOC,KAAa,EAAE;QACtB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA2B,EAAmE;AACrG,QAAA,OAAOC,WAA+DjB,UAAAA,EAAYgB,aAAAA,CAAAA;AACtF,IAAA;AACJ;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ReleaseSeat.d.ts","sourceRoot":"","sources":["../../../../Seats/ReleaseSeat/ReleaseSeat.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAc,MAAM,4BAA4B,CAAC;AAC9F,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC/F,OAAO,EAAE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AC,EAAE,CAAE,YAAW,YAAY;;IACrG,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAkE;IACjH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAA6B;IACnD,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAEhD;;IAQF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,MAAM,IAAI,UAAU,CAEvB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,UAAU,EAG3B;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,YAAY,GAAG,CAAC,WAAW,EAAE,gBAAgB,CAAC,YAAY,CAAC,EAAE,kBAAkB,CAAC;CAG9G"}
@@ -6,11 +6,11 @@ import { SeatHolder } from '../SeatHolder.js';
6
6
  // Copyright (c) Cratis. All rights reserved.
7
7
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
8
8
  // **DO NOT EDIT** - This file is an automatically generated file.
9
- // @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.ReleaseSeat.ReleaseSeat. Time: 2026-10-31T09:03:53.6634510Z. Hash: 3E8FA78841F3DED803521E5248997435EC46D1B561308E0E0E21FAC68D590825
9
+ // @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.ReleaseSeat.ReleaseSeat. Time: 2026-11-11T04:34:24.5807960Z. Hash: 21AAA01E56985EB385F4274E6431E3C801C7E57F62894C064F9369E0061C71C2
10
10
  /**
11
11
  * Takes a seat back from a person, so someone else can have it. Releasing a seat nobody holds records nothing.
12
12
  */ class ReleaseSeat extends Command {
13
- static sliceLocation = new SliceLocation('', 'Seats', 'ReleaseSeat');
13
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', 'Seats', 'ReleaseSeat');
14
14
  route = '/api/seats/release-seat';
15
15
  treatWarningsAsErrors = false;
16
16
  roles = [];
@@ -1 +1 @@
1
- {"version":3,"file":"ReleaseSeat.js","sources":["../../../../Seats/ReleaseSeat/ReleaseSeat.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.ReleaseSeat.ReleaseSeat. Time: 2026-10-31T09:03:53.6634510Z. Hash: 3E8FA78841F3DED803521E5248997435EC46D1B561308E0E0E21FAC68D590825\nimport { Command } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\nimport { SeatHolder } from '../SeatHolder';\n\n/**\n * Takes a seat back from a person, so someone else can have it. Releasing a seat nobody holds records nothing.\n */\nexport interface IReleaseSeat {\n\n /**\n * Who holds the seat.\n */\n holder?: SeatHolder;\n}\n\n\n/**\n * Takes a seat back from a person, so someone else can have it. Releasing a seat nobody holds records nothing.\n */\nexport class ReleaseSeat extends Command<IReleaseSeat, Record<string, unknown>[]> implements IReleaseSeat {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Seats', 'ReleaseSeat');\n readonly route: string = '/api/seats/release-seat';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('holder', SeatHolder, false),\n ];\n\n #holder!: SeatHolder;\n\n constructor() {\n super(Object, true);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * Who holds the seat.\n */\n get holder(): SeatHolder {\n return this.#holder;\n }\n\n set holder(value: SeatHolder) {\n this.#holder = value;\n this.propertyChanged('holder');\n }\n\n static use(initialValues?: IReleaseSeat): [ReleaseSeat, SetCommandValues<IReleaseSeat>, ClearCommandValues] {\n return useCommand<ReleaseSeat, IReleaseSeat, Record<string, unknown>[]>(ReleaseSeat, initialValues);\n }\n}\n"],"names":["ReleaseSeat","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","SeatHolder","Object","requestParameters","holder","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;AAAA;AACA;AAEA;AACA;AAkBA;;IAGO,MAAMA,WAAAA,SAAoBC,OAAAA,CAAAA;AAC7B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,SAAS,aAAA,CAAA;AAC3EC,IAAAA,KAAAA,GAAgB,yBAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,kBAAAA,CAAmB,UAAUC,UAAAA,EAAY,KAAA;KAChD;AAED,IAAA,OAAO;IAEP,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,IAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIC,MAAAA,GAAqB;QACrB,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOC,KAAiB,EAAE;QAC1B,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA4B,EAAqE;AACxG,QAAA,OAAOC,WAAiEjB,WAAAA,EAAagB,aAAAA,CAAAA;AACzF,IAAA;AACJ;;"}
1
+ {"version":3,"file":"ReleaseSeat.js","sources":["../../../../Seats/ReleaseSeat/ReleaseSeat.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.ReleaseSeat.ReleaseSeat. Time: 2026-11-11T04:34:24.5807960Z. Hash: 21AAA01E56985EB385F4274E6431E3C801C7E57F62894C064F9369E0061C71C2\nimport { Command } from '@cratis/arc/commands';\nimport { ClearCommandValues, SetCommandValues, useCommand } from '@cratis/arc.react/commands';\nimport { SliceLocation as ArcSliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';\nimport { SeatHolder } from '../SeatHolder';\n\n/**\n * Takes a seat back from a person, so someone else can have it. Releasing a seat nobody holds records nothing.\n */\nexport interface IReleaseSeat {\n\n /**\n * Who holds the seat.\n */\n holder?: SeatHolder;\n}\n\n\n/**\n * Takes a seat back from a person, so someone else can have it. Releasing a seat nobody holds records nothing.\n */\nexport class ReleaseSeat extends Command<IReleaseSeat, Record<string, unknown>[]> implements IReleaseSeat {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Seats', 'ReleaseSeat');\n readonly route: string = '/api/seats/release-seat';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('holder', SeatHolder, false),\n ];\n\n #holder!: SeatHolder;\n\n constructor() {\n super(Object, true);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * Who holds the seat.\n */\n get holder(): SeatHolder {\n return this.#holder;\n }\n\n set holder(value: SeatHolder) {\n this.#holder = value;\n this.propertyChanged('holder');\n }\n\n static use(initialValues?: IReleaseSeat): [ReleaseSeat, SetCommandValues<IReleaseSeat>, ClearCommandValues] {\n return useCommand<ReleaseSeat, IReleaseSeat, Record<string, unknown>[]>(ReleaseSeat, initialValues);\n }\n}\n"],"names":["ReleaseSeat","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","SeatHolder","Object","requestParameters","holder","value","propertyChanged","use","initialValues","useCommand"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AAQ,QAAQ,CAAC,UAAU,CAAC;IACnD,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAuD;IACtG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAA+B;IACrD,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAgE;IAC1F,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,YAAY,EAAE,UAAU,CAAoB;;IAMrD,IAAI,yBAAyB,IAAI,MAAM,EAAE,CAGxC;IAED,QAAQ,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,CAClD;IAIF,MAAM,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAI1E,MAAM,CAAC,WAAW,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIlF,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,aAAa,EAAE,UAAU,CAAC;CAGxE;AAKD,qBAAa,UAAU;IAMnB,EAAE,EAAG,MAAM,CAAC;IAMZ,QAAQ,EAAG,WAAW,EAAE,CAAC;IAMzB,IAAI,EAAG,MAAM,CAAC;CACjB"}
@@ -25,7 +25,7 @@ function _ts_metadata(metadataKey, metadataValue) {
25
25
  /**
26
26
  * Gets who holds the tenant's seats, for the product's maintainers.
27
27
  */ class CurrentRoster extends QueryFor {
28
- static sliceLocation = new SliceLocation('', '', 'Seats');
28
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', '', 'Seats');
29
29
  route = '/api/seats/current-roster';
30
30
  queryName = 'Cratis.Showrunner.BoxOffice.Seats.SeatRoster.CurrentRoster';
31
31
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"SeatRoster.js","sources":["../../../Seats/SeatRoster.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.SeatRoster, Cratis.Showrunner.BoxOffice.Seats.SeatRoster. Time: 2026-10-31T09:03:53.6634510Z. Hash: FD02487CB1D5D6D6F91BD26123355AF9B15A79FC3311975D26EB748727234153\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { field } from '@cratis/fundamentals';\nimport { SeatHolding } from './SeatHolding';\n\n/**\n * Gets who holds the tenant's seats, for the product's maintainers.\n */\nexport class CurrentRoster extends QueryFor<SeatRoster> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Seats');\n readonly route: string = '/api/seats/current-roster';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Seats.SeatRoster.CurrentRoster';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: SeatRoster = {} as SeatRoster;\n\n constructor() {\n super(SeatRoster, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<SeatRoster>, PerformQuery, SetSorting] {\n return useQuery<SeatRoster, CurrentRoster>(CurrentRoster);\n }\n\n static useSuspense(): [QueryResultWithState<SeatRoster>, PerformQuery, SetSorting] {\n return useSuspenseQuery<SeatRoster, CurrentRoster>(CurrentRoster);\n }\n\n static when(condition: boolean): QueryWhen<CurrentRoster, SeatRoster> {\n return new QueryWhen<CurrentRoster, SeatRoster>(CurrentRoster, condition);\n }\n}\n\n/**\n * Who holds the tenant's seats. Every assignment and release is recorded in the one stream, so a command that reads the roster is guarded against any other assignment or release happening meanwhile.\n */\nexport class SeatRoster {\n\n /**\n * The id of the tenant's stream.\n */\n @field(String)\n id!: string;\n\n /**\n * The seats that are held, in the order they were assigned.\n */\n @field(SeatHolding, true)\n holdings!: SeatHolding[];\n\n /**\n * Gets the seats held.\n */\n @field(Number)\n held!: number;\n}\n"],"names":["CurrentRoster","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","SeatRoster","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","id","holdings","held"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAWA;;IAGO,MAAMA,aAAAA,SAAsBC,QAAAA,CAAAA;AAC/B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,OAAA,CAAA;AACtEC,IAAAA,KAAAA,GAAgB,2BAAA;AAChBC,IAAAA,SAAAA,GAAoB,4DAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAA2B,EAAC;IAErC,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,UAAAA,EAAY,KAAA,CAAA;AACtB,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAAoE;AACvE,QAAA,OAAOC,QAAAA,CAAoCb,aAAAA,CAAAA;AAC/C,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAA4E;AAC/E,QAAA,OAAOC,gBAAAA,CAA4Cf,aAAAA,CAAAA;AACvD,IAAA;IAEA,OAAOgB,IAAAA,CAAKC,SAAkB,EAAwC;QAClE,OAAO,IAAIC,UAAqClB,aAAAA,EAAeiB,SAAAA,CAAAA;AACnE,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMR,UAAAA,CAAAA;AAET;;AAEC,QACD,EACAU;AAEA;;AAEC,QACD,QACAC;AAEA;;AAEC,QACD,IACAC;AACJ;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SeatRoster.js","sources":["../../../Seats/SeatRoster.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.SeatRoster, Cratis.Showrunner.BoxOffice.Seats.SeatRoster. Time: 2026-11-11T04:34:24.5807960Z. Hash: 21FEC8ADAE79BCFF3C03E150D823ED8BDA827D945C87AFB2FF9C87C2BCE49C4A\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { field } from '@cratis/fundamentals';\nimport { SeatHolding } from './SeatHolding';\n\n/**\n * Gets who holds the tenant's seats, for the product's maintainers.\n */\nexport class CurrentRoster extends QueryFor<SeatRoster> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Seats');\n readonly route: string = '/api/seats/current-roster';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Seats.SeatRoster.CurrentRoster';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: SeatRoster = {} as SeatRoster;\n\n constructor() {\n super(SeatRoster, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<SeatRoster>, PerformQuery, SetSorting] {\n return useQuery<SeatRoster, CurrentRoster>(CurrentRoster);\n }\n\n static useSuspense(): [QueryResultWithState<SeatRoster>, PerformQuery, SetSorting] {\n return useSuspenseQuery<SeatRoster, CurrentRoster>(CurrentRoster);\n }\n\n static when(condition: boolean): QueryWhen<CurrentRoster, SeatRoster> {\n return new QueryWhen<CurrentRoster, SeatRoster>(CurrentRoster, condition);\n }\n}\n\n/**\n * Who holds the tenant's seats. Every assignment and release is recorded in the one stream, so a command that reads the roster is guarded against any other assignment or release happening meanwhile.\n */\nexport class SeatRoster {\n\n /**\n * The id of the tenant's stream.\n */\n @field(String)\n id!: string;\n\n /**\n * The seats that are held, in the order they were assigned.\n */\n @field(SeatHolding, true)\n holdings!: SeatHolding[];\n\n /**\n * Gets the seats held.\n */\n @field(Number)\n held!: number;\n}\n"],"names":["CurrentRoster","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","SeatRoster","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","id","holdings","held"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAWA;;IAGO,MAAMA,aAAAA,SAAsBC,QAAAA,CAAAA;AAC/B,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,OAAA,CAAA;AACpFC,IAAAA,KAAAA,GAAgB,2BAAA;AAChBC,IAAAA,SAAAA,GAAoB,4DAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAA2B,EAAC;IAErC,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,UAAAA,EAAY,KAAA,CAAA;AACtB,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAAoE;AACvE,QAAA,OAAOC,QAAAA,CAAoCb,aAAAA,CAAAA;AAC/C,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAA4E;AAC/E,QAAA,OAAOC,gBAAAA,CAA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AI,CAAC,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAI5E,MAAM,CAAC,WAAW,IAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIpF,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,IAAI,EAAE,YAAY,CAAC;CAGjE;AAKD,qBAAa,YAAY;IAMrB,MAAM,EAAG,UAAU,CAAC;IAMpB,QAAQ,EAAG,MAAM,CAAC;IAMlB,IAAI,EAAG,MAAM,CAAC;IAMd,cAAc,EAAG,cAAc,CAAC;CACnC"}
@@ -26,7 +26,7 @@ function _ts_metadata(metadataKey, metadataValue) {
26
26
  /**
27
27
  * Gets where the signed-in user stands.
28
28
  */ class Mine extends QueryFor {
29
- static sliceLocation = new SliceLocation('', '', 'Seats');
29
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', '', 'Seats');
30
30
  route = '/api/seats/mine';
31
31
  queryName = 'Cratis.Showrunner.BoxOffice.Seats.SeatStanding.Mine';
32
32
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"SeatStanding.js","sources":["../../../Seats/SeatStanding.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.SeatStanding, Cratis.Showrunner.BoxOffice.Seats.SeatStanding. Time: 2026-10-31T09:03:53.6634510Z. Hash: 9325B377EEBF98696E5ECEB5B751704261AFF178DFED82EA0F5B83B91D087237\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { field } from '@cratis/fundamentals';\nimport { ReadOnlyReason } from '../Entitlements/ReadOnlyReason';\nimport { SeatStatus } from './SeatStatus';\n\n/**\n * Gets where the signed-in user stands.\n */\nexport class Mine extends QueryFor<SeatStanding> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Seats');\n readonly route: string = '/api/seats/mine';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Seats.SeatStanding.Mine';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: SeatStanding = {} as SeatStanding;\n\n constructor() {\n super(SeatStanding, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<SeatStanding>, PerformQuery, SetSorting] {\n return useQuery<SeatStanding, Mine>(Mine);\n }\n\n static useSuspense(): [QueryResultWithState<SeatStanding>, PerformQuery, SetSorting] {\n return useSuspenseQuery<SeatStanding, Mine>(Mine);\n }\n\n static when(condition: boolean): QueryWhen<Mine, SeatStanding> {\n return new QueryWhen<Mine, SeatStanding>(Mine, condition);\n }\n}\n\n/**\n * Where the signed-in user stands with the tenant's seats, and why when they hold none they may use.\n */\nexport class SeatStanding {\n\n /**\n * Whether the user holds a seat that is licensed.\n */\n @field(Number)\n status!: SeatStatus;\n\n /**\n * How many seats the tenant may use.\n */\n @field(Number)\n capacity!: number;\n\n /**\n * How many seats are held.\n */\n @field(Number)\n held!: number;\n\n /**\n * Why the tenant can not change anything, when it can not.\n */\n @field(Number)\n readOnlyReason!: ReadOnlyReason;\n}\n"],"names":["Mine","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","SeatStanding","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","status","capacity","held","readOnlyReason"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;IAGO,MAAMA,IAAAA,SAAaC,QAAAA,CAAAA;AACtB,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,OAAA,CAAA;AACtEC,IAAAA,KAAAA,GAAgB,iBAAA;AAChBC,IAAAA,SAAAA,GAAoB,qDAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAA6B,EAAC;IAEvC,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,YAAAA,EAAc,KAAA,CAAA;AACxB,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAAsE;AACzE,QAAA,OAAOC,QAAAA,CAA6Bb,IAAAA,CAAAA;AACxC,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAA8E;AACjF,QAAA,OAAOC,gBAAAA,CAAqCf,IAAAA,CAAAA;AAChD,IAAA;IAEA,OAAOgB,IAAAA,CAAKC,SAAkB,EAAiC;QAC3D,OAAO,IAAIC,UAA8BlB,IAAAA,EAAMiB,SAAAA,CAAAA;AACnD,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMR,YAAAA,CAAAA;AAET;;AAEC,QACD,MACAU;AAEA;;AAEC,QACD,QACAC;AAEA;;AAEC,QACD,IACAC;AAEA;;AAEC,QACD,cACAC;AACJ;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SeatStanding.js","sources":["../../../Seats/SeatStanding.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\n// **DO NOT EDIT** - This file is an automatically generated file.\n// @generated by Cratis. Source: Cratis.Showrunner.BoxOffice.Seats.SeatStanding, Cratis.Showrunner.BoxOffice.Seats.SeatStanding. Time: 2026-11-11T04:34:24.5807960Z. Hash: 026F783D0DDCD0CB220EE38E7FE63C2137EF76FE64550DC4CE67AAEC5F95D45E\nimport { QueryFor, QueryResultWithState } from '@cratis/arc/queries';\nimport { PerformQuery, QueryWhen, SetSorting, useQuery, useSuspenseQuery } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { field } from '@cratis/fundamentals';\nimport { ReadOnlyReason } from '../Entitlements/ReadOnlyReason';\nimport { SeatStatus } from './SeatStatus';\n\n/**\n * Gets where the signed-in user stands.\n */\nexport class Mine extends QueryFor<SeatStanding> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Seats');\n readonly route: string = '/api/seats/mine';\n readonly queryName: string = 'Cratis.Showrunner.BoxOffice.Seats.SeatStanding.Mine';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: SeatStanding = {} as SeatStanding;\n\n constructor() {\n super(SeatStanding, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<SeatStanding>, PerformQuery, SetSorting] {\n return useQuery<SeatStanding, Mine>(Mine);\n }\n\n static useSuspense(): [QueryResultWithState<SeatStanding>, PerformQuery, SetSorting] {\n return useSuspenseQuery<SeatStanding, Mine>(Mine);\n }\n\n static when(condition: boolean): QueryWhen<Mine, SeatStanding> {\n return new QueryWhen<Mine, SeatStanding>(Mine, condition);\n }\n}\n\n/**\n * Where the signed-in user stands with the tenant's seats, and why when they hold none they may use.\n */\nexport class SeatStanding {\n\n /**\n * Whether the user holds a seat that is licensed.\n */\n @field(Number)\n status!: SeatStatus;\n\n /**\n * How many seats the tenant may use.\n */\n @field(Number)\n capacity!: number;\n\n /**\n * How many seats are held.\n */\n @field(Number)\n held!: number;\n\n /**\n * Why the tenant can not change anything, when it can not.\n */\n @field(Number)\n readOnlyReason!: ReadOnlyReason;\n}\n"],"names":["Mine","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","SeatStanding","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","status","capacity","held","readOnlyReason"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAYA;;IAGO,MAAMA,IAAAA,SAAaC,QAAAA,CAAAA;AACtB,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,OAAA,CAAA;AACpFC,IAAAA,KAAAA,GAAgB,iBAAA;AAChBC,IAAAA,SAAAA,GAAoB,qDAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAA6B,EAAC;IAEvC,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,YAAAA,EAAc,KAAA,CAAA;AACxB,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAAsE;AACzE,QAAA,OAAOC,QAAAA,CAA6Bb,IAAAA,CAAAA;AACxC,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAA8E;AACjF,QAAA,OAAOC,gBAAAA,CAAqCf,IAAAA,CAAAA;AAChD,IAAA;IAEA,OAAOgB,IAAAA,CAAKC,SAAkB,EAAiC;QAC3D,OAAO,IAAIC,UAA8BlB,IAAAA,EAAMiB,SAAAA,CAAAA;AACnD,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMR,YAAAA,CAAAA;AAET;;AAEC,QACD,MACAU;AAEA;;AAEC,QACD,QACAC;AAEA;;AAEC,QACD,IACAC;AAEA;;AAEC,QACD,cACAC;AACJ;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@cratis/showrunner.boxoffice",
4
- "version": "1.21.2",
4
+ "version": "1.21.3",
5
5
  "description": "Generated TypeScript proxies for Box Office — the Showrunner part that honors what the operator of a managed product decides about a tenant, built on Cratis Arc.",
6
6
  "keywords": [
7
7
  "cratis",
@@ -59,13 +59,13 @@
59
59
  "up": "yarn g:up"
60
60
  },
61
61
  "devDependencies": {
62
- "@cratis/arc": "22.155.0",
63
- "@cratis/arc.react": "22.155.0",
64
- "@cratis/fundamentals": "7.27.0"
62
+ "@cratis/arc": "22.185.1",
63
+ "@cratis/arc.react": "22.185.1",
64
+ "@cratis/fundamentals": "7.34.0"
65
65
  },
66
66
  "peerDependencies": {
67
- "@cratis/arc": "^22.155.0",
68
- "@cratis/arc.react": "^22.155.0",
69
- "@cratis/fundamentals": "^7.27.0"
67
+ "@cratis/arc": "^22.185.1",
68
+ "@cratis/arc.react": "^22.185.1",
69
+ "@cratis/fundamentals": "^7.34.0"
70
70
  }
71
71
  }