@cratis/showrunner.notes 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 (58) hide show
  1. package/Availability/NotesAvailability.ts +2 -2
  2. package/Giving/GiveNoteOnComponent/GiveNoteOnComponent.ts +2 -2
  3. package/Giving/GiveNoteOnContext/GiveNoteOnContext.ts +2 -2
  4. package/Giving/GiveNoteOnScreen/GiveNoteOnScreen.ts +2 -2
  5. package/Giving/GiveNoteOnSlices/GiveNoteOnSlices.ts +2 -2
  6. package/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.ts +2 -2
  7. package/Listing/MyNote.ts +3 -3
  8. package/README.md +2 -2
  9. package/Withdrawing/WithdrawNote/WithdrawNote.ts +2 -2
  10. package/dist/cjs/Availability/NotesAvailability.d.ts.map +1 -1
  11. package/dist/cjs/Availability/NotesAvailability.js +1 -1
  12. package/dist/cjs/Availability/NotesAvailability.js.map +1 -1
  13. package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts.map +1 -1
  14. package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js +2 -2
  15. package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js.map +1 -1
  16. package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts.map +1 -1
  17. package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.js +2 -2
  18. package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.js.map +1 -1
  19. package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts.map +1 -1
  20. package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js +2 -2
  21. package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js.map +1 -1
  22. package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts.map +1 -1
  23. package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js +2 -2
  24. package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js.map +1 -1
  25. package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts.map +1 -1
  26. package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js +2 -2
  27. package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js.map +1 -1
  28. package/dist/cjs/Listing/MyNote.d.ts.map +1 -1
  29. package/dist/cjs/Listing/MyNote.js +2 -2
  30. package/dist/cjs/Listing/MyNote.js.map +1 -1
  31. package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.d.ts.map +1 -1
  32. package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.js +2 -2
  33. package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.js.map +1 -1
  34. package/dist/esm/Availability/NotesAvailability.d.ts.map +1 -1
  35. package/dist/esm/Availability/NotesAvailability.js +1 -1
  36. package/dist/esm/Availability/NotesAvailability.js.map +1 -1
  37. package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts.map +1 -1
  38. package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js +2 -2
  39. package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js.map +1 -1
  40. package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts.map +1 -1
  41. package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.js +2 -2
  42. package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.js.map +1 -1
  43. package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts.map +1 -1
  44. package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js +2 -2
  45. package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js.map +1 -1
  46. package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts.map +1 -1
  47. package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js +2 -2
  48. package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js.map +1 -1
  49. package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts.map +1 -1
  50. package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js +2 -2
  51. package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js.map +1 -1
  52. package/dist/esm/Listing/MyNote.d.ts.map +1 -1
  53. package/dist/esm/Listing/MyNote.js +7 -7
  54. package/dist/esm/Listing/MyNote.js.map +1 -1
  55. package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.d.ts.map +1 -1
  56. package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.js +2 -2
  57. package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.js.map +1 -1
  58. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"SuggestComponentPropertyChange.js","sources":["../../../../Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.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.Notes.Giving.SuggestComponentPropertyChange.SuggestComponentPropertyChange. Time: 2026-11-01T11:55:12.6707473Z. Hash: 6C7D0524C92397ABC562D8899CC17DDFA41C162C4EA857CB8299EE032524934C\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';\nimport { PickedComponent } from '../../Contracts/Components/PickedComponent';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user changed a presentation property of a component in the picker. There is one command per property; the suggestions of one picking session share the note id, which is also the note id of the text they may write about the component. Who suggests it is taken from the signed-in identity, never from the request.\n */\nexport interface ISuggestComponentPropertyChange {\n\n /**\n * The component the user picked.\n */\n component?: PickedComponent;\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * The value the property has.\n */\n currentValue?: string;\n\n /**\n * The id of the picking session's note: new, or the one the session's earlier suggestions were made on.\n */\n noteId?: Guid;\n\n /**\n * The property the user changed.\n */\n property?: string;\n\n /**\n * The value the user suggests.\n */\n suggestedValue?: string;\n}\n\nexport class SuggestComponentPropertyChangeValidator extends CommandValidator<ISuggestComponentPropertyChange> {\n constructor() {\n super();\n this.ruleFor(c => c.component).notNull().withMessage('Pick a component.');\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.currentValue).maxLength(1000).withMessage('Keep the current value within 1000 characters.');\n this.ruleFor(c => c.property).notEmpty().withMessage('Name the property you suggest changing.');\n this.ruleFor(c => c.suggestedValue).maxLength(1000).withMessage('Keep the suggested value within 1000 characters.');\n }\n}\n\n/**\n * The user changed a presentation property of a component in the picker. There is one command per property; the suggestions of one picking session share the note id, which is also the note id of the text they may write about the component. Who suggests it is taken from the signed-in identity, never from the request.\n */\nexport class SuggestComponentPropertyChange extends Command<ISuggestComponentPropertyChange> implements ISuggestComponentPropertyChange {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Giving', 'SuggestComponentPropertyChange');\n readonly route: string = '/api/giving/suggest-component-property-change';\n readonly validation: CommandValidator = new SuggestComponentPropertyChangeValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('component', PickedComponent, false),\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('currentValue', String, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('property', String, false),\n new PropertyDescriptor('suggestedValue', String, false),\n ];\n\n #component!: PickedComponent;\n #context!: NoteContext;\n #currentValue!: string;\n #noteId!: Guid;\n #property!: string;\n #suggestedValue!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The component the user picked.\n */\n get component(): PickedComponent {\n return this.#component;\n }\n\n set component(value: PickedComponent) {\n this.#component = value;\n this.propertyChanged('component');\n }\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * The value the property has.\n */\n get currentValue(): string {\n return this.#currentValue;\n }\n\n set currentValue(value: string) {\n this.#currentValue = value;\n this.propertyChanged('currentValue');\n }\n /**\n * The id of the picking session's note: new, or the one the session's earlier suggestions were made on.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * The property the user changed.\n */\n get property(): string {\n return this.#property;\n }\n\n set property(value: string) {\n this.#property = value;\n this.propertyChanged('property');\n }\n /**\n * The value the user suggests.\n */\n get suggestedValue(): string {\n return this.#suggestedValue;\n }\n\n set suggestedValue(value: string) {\n this.#suggestedValue = value;\n this.propertyChanged('suggestedValue');\n }\n\n static use(initialValues?: ISuggestComponentPropertyChange): [SuggestComponentPropertyChange, SetCommandValues<ISuggestComponentPropertyChange>, ClearCommandValues] {\n return useCommand<SuggestComponentPropertyChange, ISuggestComponentPropertyChange>(SuggestComponentPropertyChange, initialValues);\n }\n}\n"],"names":["SuggestComponentPropertyChangeValidator","CommandValidator","ruleFor","c","component","notNull","withMessage","context","currentValue","maxLength","property","notEmpty","suggestedValue","SuggestComponentPropertyChange","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","PickedComponent","NoteContext","String","Guid","Object","requestParameters","value","propertyChanged","noteId","use","initialValues","useCommand"],"mappings":";;;;;;;;;AAAA;AACA;AA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AAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOF,KAAW,EAAE;QACpB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIpB,QAAAA,GAAmB;QACnB,OAAO,IAAI,CAAC,SAAS;AACzB,IAAA;IAEA,IAAIA,QAAAA,CAASmB,KAAa,EAAE;QACxB,IAAI,CAAC,SAAS,GAAGA,KAAAA;QACjB,IAAI,CAACC,eAAe,CAAC,UAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIlB,cAAAA,GAAyB;QACzB,OAAO,IAAI,CAAC,eAAe;AAC/B,IAAA;IAEA,IAAIA,cAAAA,CAAeiB,KAAa,EAAE;QAC9B,IAAI,CAAC,eAAe,GAAGA,KAAAA;QACvB,IAAI,CAACC,eAAe,CAAC,gBAAA,CAAA;AACzB,IAAA;IAEA,OAAOE,GAAAA,CAAIC,aAA+C,EAA2G;AACjK,QAAA,OAAOC,sBAA4ErB,8BAAAA,EAAgCoB,aAAAA,CAAAA;AACvH,IAAA;AACJ;;;"}
1
+ {"version":3,"file":"SuggestComponentPropertyChange.js","sources":["../../../../Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.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.Notes.Giving.SuggestComponentPropertyChange.SuggestComponentPropertyChange. Time: 2026-11-11T04:34:45.5264700Z. Hash: B24B0AC0A848B064AAA0AB3B6AEADE3C6C367A72B4517B7D8DEAABBD599B4B52\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';\nimport { PickedComponent } from '../../Contracts/Components/PickedComponent';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user changed a presentation property of a component in the picker. There is one command per property; the suggestions of one picking session share the note id, which is also the note id of the text they may write about the component. Who suggests it is taken from the signed-in identity, never from the request.\n */\nexport interface ISuggestComponentPropertyChange {\n\n /**\n * The component the user picked.\n */\n component?: PickedComponent;\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * The value the property has.\n */\n currentValue?: string;\n\n /**\n * The id of the picking session's note: new, or the one the session's earlier suggestions were made on.\n */\n noteId?: Guid;\n\n /**\n * The property the user changed.\n */\n property?: string;\n\n /**\n * The value the user suggests.\n */\n suggestedValue?: string;\n}\n\nexport class SuggestComponentPropertyChangeValidator extends CommandValidator<ISuggestComponentPropertyChange> {\n constructor() {\n super();\n this.ruleFor(c => c.component).notNull().withMessage('Pick a component.');\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.currentValue).maxLength(1000).withMessage('Keep the current value within 1000 characters.');\n this.ruleFor(c => c.property).notEmpty().withMessage('Name the property you suggest changing.');\n this.ruleFor(c => c.suggestedValue).maxLength(1000).withMessage('Keep the suggested value within 1000 characters.');\n }\n}\n\n/**\n * The user changed a presentation property of a component in the picker. There is one command per property; the suggestions of one picking session share the note id, which is also the note id of the text they may write about the component. Who suggests it is taken from the signed-in identity, never from the request.\n */\nexport class SuggestComponentPropertyChange extends Command<ISuggestComponentPropertyChange> implements ISuggestComponentPropertyChange {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Giving', 'SuggestComponentPropertyChange');\n readonly route: string = '/api/giving/suggest-component-property-change';\n readonly validation: CommandValidator = new SuggestComponentPropertyChangeValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('component', PickedComponent, false),\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('currentValue', String, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('property', String, false),\n new PropertyDescriptor('suggestedValue', String, false),\n ];\n\n #component!: PickedComponent;\n #context!: NoteContext;\n #currentValue!: string;\n #noteId!: Guid;\n #property!: string;\n #suggestedValue!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The component the user picked.\n */\n get component(): PickedComponent {\n return this.#component;\n }\n\n set component(value: PickedComponent) {\n this.#component = value;\n this.propertyChanged('component');\n }\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * The value the property has.\n */\n get currentValue(): string {\n return this.#currentValue;\n }\n\n set currentValue(value: string) {\n this.#currentValue = value;\n this.propertyChanged('currentValue');\n }\n /**\n * The id of the picking session's note: new, or the one the session's earlier suggestions were made on.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * The property the user changed.\n */\n get property(): string {\n return this.#property;\n }\n\n set property(value: string) {\n this.#property = value;\n this.propertyChanged('property');\n }\n /**\n * The value the user suggests.\n */\n get suggestedValue(): string {\n return this.#suggestedValue;\n }\n\n set suggestedValue(value: string) {\n this.#suggestedValue = value;\n this.propertyChanged('suggestedValue');\n }\n\n static use(initialValues?: ISuggestComponentPropertyChange): [SuggestComponentPropertyChange, SetCommandValues<ISuggestComponentPropertyChange>, ClearCommandValues] {\n return useCommand<SuggestComponentPropertyChange, ISuggestComponentPropertyChange>(SuggestComponentPropertyChange, initialValues);\n }\n}\n"],"names":["SuggestComponentPropertyChangeValidator","CommandValidator","ruleFor","c","component","notNull","withMessage","context","currentValue","maxLength","property","notEmpty","suggestedValue","SuggestComponentPropertyChange","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","PickedComponent","NoteContext","String","Guid","Object","requestParameters","value","propertyChanged","noteId","use","initialValues","useCommand"],"mappings":";;;;;;;;;AAAA;AACA;AAEA;AACA;AA4CO,MAAMA,uCAAAA,SAAgDC,yBAAAA,CAAAA;IACzD,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,SAAS,CAAA,CAAEC,OAAO,EAAA,CAAGC,WAAW,CAAC,mBAAA,CAAA;QACrD,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEI,OAAO,CAAA,CAAEF,OAAO,EAAA,CAAGC,WAAW,CAAC,gDAAA,CAAA;AACnD,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEK,YAAY,CAAA,CAAEC,SAAS,CAAC,IAAA,CAAA,CAAMH,WAAW,CAAC,gDAAA,CAAA;QAC9D,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEO,QAAQ,CAAA,CAAEC,QAAQ,EAAA,CAAGL,WAAW,CAAC,yCAAA,CAAA;AACrD,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAES,cAAc,CAAA,CAAEH,SAAS,CAAC,IAAA,CAAA,CAAMH,WAAW,CAAC,kDAAA,CAAA;AACpE,IAAA;AACJ;AAEA;;IAGO,MAAMO,8BAAAA,SAAuCC,gBAAAA,CAAAA;AAChD,IAAA,OAAgBC,8BAAgD,IAAIC,wBAAAA,CAAiB,EAAA,EAAI,UAAU,gCAAA,CAAA;AAC1FC,IAAAA,KAAAA,GAAgB,+CAAA;AAChBC,IAAAA,UAAAA,GAA+B,IAAIlB,uCAAAA,EAAAA;AACnCmB,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAA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activity first.
168
168
  */ class MyNotes extends queries.ObservableQueryFor {
169
- static sliceLocation = new reflection.SliceLocation('', '', 'Listing');
169
+ static sliceLocation = /*#__PURE__*/ new reflection.SliceLocation('', '', 'Listing');
170
170
  route = '/api/listing/my-notes';
171
171
  queryName = 'Cratis.Showrunner.Notes.Listing.MyNote.MyNotes';
172
172
  treatWarningsAsErrors = false;
173
173
  roles = [];
174
174
  defaultValue = [];
175
175
  _sortBy;
176
- static _sortBy = new MyNotesSortByWithoutQuery();
176
+ static _sortBy = /*#__PURE__*/ new MyNotesSortByWithoutQuery();
177
177
  constructor(){
178
178
  super(MyNote, true);
179
179
  this._sortBy = new MyNotesSortBy(this);
@@ -1 +1 @@
1
- {"version":3,"file":"MyNote.js","sources":["../../../Listing/MyNote.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.Notes.Listing.MyNote, Cratis.Showrunner.Notes.Listing.MyNote. Time: 2026-11-01T11:55:12.6707473Z. Hash: 53DA8F14A2D0432B6BEC55A2F1B97626D62BEC349F30D0775C0AF36A4B481266\nimport { ChangeSet, ObservableQueryFor, Paging, QueryResultWithState, Sorting, SortingActions, SortingActionsForObservableQuery } from '@cratis/arc/queries';\nimport { ObservableQueryWhen, SetPage, SetPageSize, SetSorting, useChangeStream, useObservableQuery, useObservableQueryWithPaging, useSuspenseObservableQuery, useSuspenseObservableQueryWithPaging } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { Guid, field } from '@cratis/fundamentals';\nimport { NoteKind } from '../Contracts/Giving/NoteKind';\nimport { NoteScreen } from '../Contracts/Context/NoteScreen';\nimport { NoteStatus } from './NoteStatus';\nimport { NoteTarget } from './NoteTarget';\nimport { SliceLocation } from '../Contracts/Reporting/SliceLocation';\nimport { SuggestedPropertyChange } from './SuggestedPropertyChange';\n\nclass MyNotesSortBy {\n private _component: SortingActionsForObservableQuery<MyNote[]>;\n private _givenAt: SortingActionsForObservableQuery<MyNote[]>;\n private _givenBy: SortingActionsForObservableQuery<MyNote[]>;\n private _id: SortingActionsForObservableQuery<MyNote[]>;\n private _kind: SortingActionsForObservableQuery<MyNote[]>;\n private _lastActivityAt: SortingActionsForObservableQuery<MyNote[]>;\n private _location: SortingActionsForObservableQuery<MyNote[]>;\n private _propertyChanges: SortingActionsForObservableQuery<MyNote[]>;\n private _screen: SortingActionsForObservableQuery<MyNote[]>;\n private _slices: SortingActionsForObservableQuery<MyNote[]>;\n private _status: SortingActionsForObservableQuery<MyNote[]>;\n private _statusDetail: SortingActionsForObservableQuery<MyNote[]>;\n private _target: SortingActionsForObservableQuery<MyNote[]>;\n private _text: SortingActionsForObservableQuery<MyNote[]>;\n\n constructor(readonly query: MyNotes) {\n this._component = new SortingActionsForObservableQuery<MyNote[]>('component', query);\n this._givenAt = new SortingActionsForObservableQuery<MyNote[]>('givenAt', query);\n this._givenBy = new SortingActionsForObservableQuery<MyNote[]>('givenBy', query);\n this._id = new SortingActionsForObservableQuery<MyNote[]>('id', query);\n this._kind = new SortingActionsForObservableQuery<MyNote[]>('kind', query);\n this._lastActivityAt = new SortingActionsForObservableQuery<MyNote[]>('lastActivityAt', query);\n this._location = new SortingActionsForObservableQuery<MyNote[]>('location', query);\n this._propertyChanges = new SortingActionsForObservableQuery<MyNote[]>('propertyChanges', query);\n this._screen = new SortingActionsForObservableQuery<MyNote[]>('screen', query);\n this._slices = new SortingActionsForObservableQuery<MyNote[]>('slices', query);\n this._status = new SortingActionsForObservableQuery<MyNote[]>('status', query);\n this._statusDetail = new SortingActionsForObservableQuery<MyNote[]>('statusDetail', query);\n this._target = new SortingActionsForObservableQuery<MyNote[]>('target', query);\n this._text = new SortingActionsForObservableQuery<MyNote[]>('text', query);\n }\n\n get component(): SortingActionsForObservableQuery<MyNote[]> {\n return this._component;\n }\n get givenAt(): SortingActionsForObservableQuery<MyNote[]> {\n return this._givenAt;\n }\n get givenBy(): SortingActionsForObservableQuery<MyNote[]> {\n return this._givenBy;\n }\n get id(): SortingActionsForObservableQuery<MyNote[]> {\n return this._id;\n }\n get kind(): SortingActionsForObservableQuery<MyNote[]> {\n return this._kind;\n }\n get lastActivityAt(): SortingActionsForObservableQuery<MyNote[]> {\n return this._lastActivityAt;\n }\n get location(): SortingActionsForObservableQuery<MyNote[]> {\n return this._location;\n }\n get propertyChanges(): SortingActionsForObservableQuery<MyNote[]> {\n return this._propertyChanges;\n }\n get screen(): SortingActionsForObservableQuery<MyNote[]> {\n return this._screen;\n }\n get slices(): SortingActionsForObservableQuery<MyNote[]> {\n return this._slices;\n }\n get status(): SortingActionsForObservableQuery<MyNote[]> {\n return this._status;\n }\n get statusDetail(): SortingActionsForObservableQuery<MyNote[]> {\n return this._statusDetail;\n }\n get target(): SortingActionsForObservableQuery<MyNote[]> {\n return this._target;\n }\n get text(): SortingActionsForObservableQuery<MyNote[]> {\n return this._text;\n }\n}\n\nclass MyNotesSortByWithoutQuery {\n private _component: SortingActions = new SortingActions('component');\n private _givenAt: SortingActions = new SortingActions('givenAt');\n private _givenBy: SortingActions = new SortingActions('givenBy');\n private _id: SortingActions = new SortingActions('id');\n private _kind: SortingActions = new SortingActions('kind');\n private _lastActivityAt: SortingActions = new SortingActions('lastActivityAt');\n private _location: SortingActions = new SortingActions('location');\n private _propertyChanges: SortingActions = new SortingActions('propertyChanges');\n private _screen: SortingActions = new SortingActions('screen');\n private _slices: SortingActions = new SortingActions('slices');\n private _status: SortingActions = new SortingActions('status');\n private _statusDetail: SortingActions = new SortingActions('statusDetail');\n private _target: SortingActions = new SortingActions('target');\n private _text: SortingActions = new SortingActions('text');\n\n get component(): SortingActions {\n return this._component;\n }\n get givenAt(): SortingActions {\n return this._givenAt;\n }\n get givenBy(): SortingActions {\n return this._givenBy;\n }\n get id(): SortingActions {\n return this._id;\n }\n get kind(): SortingActions {\n return this._kind;\n }\n get lastActivityAt(): SortingActions {\n return this._lastActivityAt;\n }\n get location(): SortingActions {\n return this._location;\n }\n get propertyChanges(): SortingActions {\n return this._propertyChanges;\n }\n get screen(): SortingActions {\n return this._screen;\n }\n get slices(): SortingActions {\n return this._slices;\n }\n get status(): SortingActions {\n return this._status;\n }\n get statusDetail(): SortingActions {\n return this._statusDetail;\n }\n get target(): SortingActions {\n return this._target;\n }\n get text(): SortingActions {\n return this._text;\n }\n}\n\n\n/**\n * Observes the notes the signed-in user gave, in the current tenant, most recent activity first.\n */\nexport class MyNotes extends ObservableQueryFor<MyNote[]> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Listing');\n readonly route: string = '/api/listing/my-notes';\n readonly queryName: string = 'Cratis.Showrunner.Notes.Listing.MyNote.MyNotes';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: MyNote[] = [];\n private readonly _sortBy: MyNotesSortBy;\n private static readonly _sortBy: MyNotesSortByWithoutQuery = new MyNotesSortByWithoutQuery();\n\n constructor() {\n super(MyNote, true);\n this._sortBy = new MyNotesSortBy(this);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n get sortBy(): MyNotesSortBy {\n return this._sortBy;\n }\n\n static get sortBy(): MyNotesSortByWithoutQuery {\n return this._sortBy;\n }\n\n static use(sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting] {\n return useObservableQuery<MyNote[], MyNotes>(MyNotes, undefined, sorting);\n }\n\n static useWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting, SetPage, SetPageSize] {\n return useObservableQueryWithPaging<MyNote[], MyNotes>(MyNotes, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useSuspense(sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting] {\n return useSuspenseObservableQuery<MyNote[], MyNotes>(MyNotes, undefined, sorting);\n }\n\n static useSuspenseWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting, SetPage, SetPageSize] {\n return useSuspenseObservableQueryWithPaging<MyNote[], MyNotes>(MyNotes, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useChangeStream(getKey?: (item: MyNote) => unknown, sorting?: Sorting): ChangeSet<MyNote> {\n return useChangeStream<MyNote, MyNotes>(MyNotes, undefined, getKey, sorting);\n }\n\n static when(condition: boolean): ObservableQueryWhen<MyNotes, MyNote[]> {\n return new ObservableQueryWhen<MyNotes, MyNote[]>(MyNotes, condition);\n }\n}\n\n/**\n * One of the user's notes, as the list of their notes shows it, with where it is: given, acknowledged, addressed, declined or withdrawn.\n */\nexport class MyNote {\n\n /**\n * The note.\n */\n @field(Guid)\n id!: Guid;\n\n /**\n * Who gave the note.\n */\n @field(String)\n givenBy!: string;\n\n /**\n * What the note is about.\n */\n @field(Number)\n target!: NoteTarget;\n\n /**\n * What kind of feedback it is.\n */\n @field(Number)\n kind!: NoteKind;\n\n /**\n * What the giver wrote; empty on a note that has suggested property changes only.\n */\n @field(String)\n text!: string;\n\n /**\n * Where in the application the giver was.\n */\n @field(SliceLocation)\n location!: SliceLocation;\n\n /**\n * The screen the giver was on.\n */\n @field(NoteScreen)\n screen!: NoteScreen;\n\n /**\n * The slices the giver picked; empty unless the note is about slices.\n */\n @field(SliceLocation, true)\n slices!: SliceLocation[];\n\n /**\n * The name of the component the giver picked; {@link NotSet} unless the note is about a component.\n */\n @field(String)\n component!: string;\n\n /**\n * The property changes the giver suggested.\n */\n @field(SuggestedPropertyChange, true)\n propertyChanges!: SuggestedPropertyChange[];\n\n /**\n * Where the note is.\n */\n @field(Number)\n status!: NoteStatus;\n\n /**\n * The version that addresses the note or why it is declined; empty otherwise.\n */\n @field(String)\n statusDetail!: string;\n\n /**\n * When the giver gave it.\n */\n @field(Date)\n givenAt!: Date;\n\n /**\n * When anything last happened on it.\n */\n @field(Date)\n lastActivityAt!: Date;\n}\n"],"names":["MyNotesSortBy","_component","_givenAt","_givenBy","_id","_kind","_lastActivityAt","_location","_propertyChanges","_screen","_slices","_status","_statusDetail","_target","_text","query","SortingActionsForObservableQuery","component","givenAt","givenBy","id","kind","lastActivityAt","location","propertyChanges","screen","slices","status","statusDetail","target","text","MyNotesSortByWithoutQuery","SortingActions","MyNotes","ObservableQueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","_sortBy","MyNote","requiredRequestParameters","parameterDescriptors","sortBy","use","sorting","useObservableQuery","undefined","useWithPaging","pageSize","useObservableQueryWithPaging","Paging","useSuspense","useSuspenseObservableQuery","useSuspenseWithPaging","useSuspenseObservableQueryWithPaging","useChangeStream","getKey","when","condition","ObservableQueryWhen"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,aAAAA,CAAAA;;IACMC,UAAAA;IACAC,QAAAA;IACAC,QAAAA;IACAC,GAAAA;IACAC,KAAAA;IACAC,eAAAA;IACAC,SAAAA;IACAC,gBAAAA;IACAC,OAAAA;IACAC,OAAAA;IACAC,OAAAA;IACAC,aAAAA;IACAC,OAAAA;IACAC,KAAAA;IAER,WAAA,CAAqBC,KAAc,CAAE;aAAhBA,KAAAA,GAAAA,KAAAA;AACjB,QAAA,IAAI,CAACd,UAAU,GAAG,IAAIe,yCAA2C,WAAA,EAAaD,KAAAA,CAAAA;AAC9E,QAAA,IAAI,CAACb,QAAQ,GAAG,IAAIc,yCAA2C,SAAA,EAAWD,KAAAA,CAAAA;AAC1E,QAAA,IAAI,CAACZ,QAAQ,GAAG,IAAIa,yCAA2C,SAAA,EAAWD,KAAAA,CAAAA;AAC1E,QAAA,IAAI,CAACX,GAAG,GAAG,IAAIY,yCAA2C,IAAA,EAAMD,KAAAA,CAAAA;AAChE,QAAA,IAAI,CAACV,KAAK,GAAG,IAAIW,yCAA2C,MAAA,EAAQD,KAAAA,CAAAA;AACpE,QAAA,IAAI,CAAC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AAEJ,OAAiB,EAAsE;AAClI,QAAA,OAAOU,+CAAwDzB,OAAAA,EAAS,IAAIqB,cAAAA,CAAO,CAAA,EAAGF,WAAWF,SAAAA,EAAWF,OAAAA,CAAAA;AAChH,IAAA;AAEA,IAAA,OAAOW,eAAAA,CAAgBC,MAAkC,EAAEZ,OAAiB,EAAqB;QAC7F,OAAOW,yBAAAA,CAAiC1B,OAAAA,EAASiB,SAAAA,EAAWU,MAAAA,EAAQZ,OAAAA,CAAAA;AACxE,IAAA;IAEA,OAAOa,IAAAA,CAAKC,SAAkB,EAA0C;QACpE,OAAO,IAAIC,8BAAuC9B,OAAAA,EAAS6B,SAAAA,CAAAA;AAC/D,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMnB,MAAAA,CAAAA;AAET;;AAEC,QACD,EACAvB;AAEA;;AAEC,QACD,OACAD;AAEA;;AAEC,QACD,MACAU;AAEA;;AAEC,QACD,IACAR;AAEA;;AAEC,QACD,IACAS;AAEA;;AAEC,QACD,QACAP;AAEA;;AAEC,QACD,MACAE;AAEA;;AAEC,QACD,MACAC;AAEA;;AAEC,QACD,SACAT;AAEA;;AAEC,QACD,eACAO;AAEA;;AAEC,QACD,MACAG;AAEA;;AAEC,QACD,YACAC;AAEA;;AAEC,QACD,OACAV;AAEA;;AAEC,QACD,cACAI;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"MyNote.js","sources":["../../../Listing/MyNote.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.Notes.Listing.MyNote, Cratis.Showrunner.Notes.Listing.MyNote. Time: 2026-11-11T04:34:45.5264700Z. Hash: BA6FDE734F721C89316D9D88357993FBE5B08D3C8A5CDC9D5C9FEBE778B10A60\nimport { ChangeSet, ObservableQueryFor, Paging, QueryResultWithState, Sorting, SortingActions, SortingActionsForObservableQuery } from '@cratis/arc/queries';\nimport { ObservableQueryWhen, SetPage, SetPageSize, SetSorting, useChangeStream, useObservableQuery, useObservableQueryWithPaging, useSuspenseObservableQuery, useSuspenseObservableQueryWithPaging } from '@cratis/arc.react/queries';\nimport { SliceLocation as ArcSliceLocation, ParameterDescriptor } from '@cratis/arc/reflection';\nimport { Guid, field } from '@cratis/fundamentals';\nimport { NoteKind } from '../Contracts/Giving/NoteKind';\nimport { NoteScreen } from '../Contracts/Context/NoteScreen';\nimport { NoteStatus } from './NoteStatus';\nimport { NoteTarget } from './NoteTarget';\nimport { SliceLocation } from '../Contracts/Reporting/SliceLocation';\nimport { SuggestedPropertyChange } from './SuggestedPropertyChange';\n\nclass MyNotesSortBy {\n private _component: SortingActionsForObservableQuery<MyNote[]>;\n private _givenAt: SortingActionsForObservableQuery<MyNote[]>;\n private _givenBy: SortingActionsForObservableQuery<MyNote[]>;\n private _id: SortingActionsForObservableQuery<MyNote[]>;\n private _kind: SortingActionsForObservableQuery<MyNote[]>;\n private _lastActivityAt: SortingActionsForObservableQuery<MyNote[]>;\n private _location: SortingActionsForObservableQuery<MyNote[]>;\n private _propertyChanges: SortingActionsForObservableQuery<MyNote[]>;\n private _screen: SortingActionsForObservableQuery<MyNote[]>;\n private _slices: SortingActionsForObservableQuery<MyNote[]>;\n private _status: SortingActionsForObservableQuery<MyNote[]>;\n private _statusDetail: SortingActionsForObservableQuery<MyNote[]>;\n private _target: SortingActionsForObservableQuery<MyNote[]>;\n private _text: SortingActionsForObservableQuery<MyNote[]>;\n\n constructor(readonly query: MyNotes) {\n this._component = new SortingActionsForObservableQuery<MyNote[]>('component', query);\n this._givenAt = new SortingActionsForObservableQuery<MyNote[]>('givenAt', query);\n this._givenBy = new SortingActionsForObservableQuery<MyNote[]>('givenBy', query);\n this._id = new SortingActionsForObservableQuery<MyNote[]>('id', query);\n this._kind = new SortingActionsForObservableQuery<MyNote[]>('kind', query);\n this._lastActivityAt = new SortingActionsForObservableQuery<MyNote[]>('lastActivityAt', query);\n this._location = new SortingActionsForObservableQuery<MyNote[]>('location', query);\n this._propertyChanges = new SortingActionsForObservableQuery<MyNote[]>('propertyChanges', query);\n this._screen = new SortingActionsForObservableQuery<MyNote[]>('screen', query);\n this._slices = new SortingActionsForObservableQuery<MyNote[]>('slices', query);\n this._status = new SortingActionsForObservableQuery<MyNote[]>('status', query);\n this._statusDetail = new SortingActionsForObservableQuery<MyNote[]>('statusDetail', query);\n this._target = new SortingActionsForObservableQuery<MyNote[]>('target', query);\n this._text = new SortingActionsForObservableQuery<MyNote[]>('text', query);\n }\n\n get component(): SortingActionsForObservableQuery<MyNote[]> {\n return this._component;\n }\n get givenAt(): SortingActionsForObservableQuery<MyNote[]> {\n return this._givenAt;\n }\n get givenBy(): SortingActionsForObservableQuery<MyNote[]> {\n return this._givenBy;\n }\n get id(): SortingActionsForObservableQuery<MyNote[]> {\n return this._id;\n }\n get kind(): SortingActionsForObservableQuery<MyNote[]> {\n return this._kind;\n }\n get lastActivityAt(): SortingActionsForObservableQuery<MyNote[]> {\n return this._lastActivityAt;\n }\n get location(): SortingActionsForObservableQuery<MyNote[]> {\n return this._location;\n }\n get propertyChanges(): SortingActionsForObservableQuery<MyNote[]> {\n return this._propertyChanges;\n }\n get screen(): SortingActionsForObservableQuery<MyNote[]> {\n return this._screen;\n }\n get slices(): SortingActionsForObservableQuery<MyNote[]> {\n return this._slices;\n }\n get status(): SortingActionsForObservableQuery<MyNote[]> {\n return this._status;\n }\n get statusDetail(): SortingActionsForObservableQuery<MyNote[]> {\n return this._statusDetail;\n }\n get target(): SortingActionsForObservableQuery<MyNote[]> {\n return this._target;\n }\n get text(): SortingActionsForObservableQuery<MyNote[]> {\n return this._text;\n }\n}\n\nclass MyNotesSortByWithoutQuery {\n private _component: SortingActions = new SortingActions('component');\n private _givenAt: SortingActions = new SortingActions('givenAt');\n private _givenBy: SortingActions = new SortingActions('givenBy');\n private _id: SortingActions = new SortingActions('id');\n private _kind: SortingActions = new SortingActions('kind');\n private _lastActivityAt: SortingActions = new SortingActions('lastActivityAt');\n private _location: SortingActions = new SortingActions('location');\n private _propertyChanges: SortingActions = new SortingActions('propertyChanges');\n private _screen: SortingActions = new SortingActions('screen');\n private _slices: SortingActions = new SortingActions('slices');\n private _status: SortingActions = new SortingActions('status');\n private _statusDetail: SortingActions = new SortingActions('statusDetail');\n private _target: SortingActions = new SortingActions('target');\n private _text: SortingActions = new SortingActions('text');\n\n get component(): SortingActions {\n return this._component;\n }\n get givenAt(): SortingActions {\n return this._givenAt;\n }\n get givenBy(): SortingActions {\n return this._givenBy;\n }\n get id(): SortingActions {\n return this._id;\n }\n get kind(): SortingActions {\n return this._kind;\n }\n get lastActivityAt(): SortingActions {\n return this._lastActivityAt;\n }\n get location(): SortingActions {\n return this._location;\n }\n get propertyChanges(): SortingActions {\n return this._propertyChanges;\n }\n get screen(): SortingActions {\n return this._screen;\n }\n get slices(): SortingActions {\n return this._slices;\n }\n get status(): SortingActions {\n return this._status;\n }\n get statusDetail(): SortingActions {\n return this._statusDetail;\n }\n get target(): SortingActions {\n return this._target;\n }\n get text(): SortingActions {\n return this._text;\n }\n}\n\n\n/**\n * Observes the notes the signed-in user gave, in the current tenant, most recent activity first.\n */\nexport class MyNotes extends ObservableQueryFor<MyNote[]> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Listing');\n readonly route: string = '/api/listing/my-notes';\n readonly queryName: string = 'Cratis.Showrunner.Notes.Listing.MyNote.MyNotes';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: MyNote[] = [];\n private readonly _sortBy: MyNotesSortBy;\n private static readonly _sortBy: MyNotesSortByWithoutQuery = /*#__PURE__*/ new MyNotesSortByWithoutQuery();\n\n constructor() {\n super(MyNote, true);\n this._sortBy = new MyNotesSortBy(this);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n get sortBy(): MyNotesSortBy {\n return this._sortBy;\n }\n\n static get sortBy(): MyNotesSortByWithoutQuery {\n return this._sortBy;\n }\n\n static use(sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting] {\n return useObservableQuery<MyNote[], MyNotes>(MyNotes, undefined, sorting);\n }\n\n static useWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting, SetPage, SetPageSize] {\n return useObservableQueryWithPaging<MyNote[], MyNotes>(MyNotes, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useSuspense(sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting] {\n return useSuspenseObservableQuery<MyNote[], MyNotes>(MyNotes, undefined, sorting);\n }\n\n static useSuspenseWithPaging(pageSize: number, sorting?: Sorting): [QueryResultWithState<MyNote[]>, SetSorting, SetPage, SetPageSize] {\n return useSuspenseObservableQueryWithPaging<MyNote[], MyNotes>(MyNotes, new Paging(0, pageSize), undefined, sorting);\n }\n\n static useChangeStream(getKey?: (item: MyNote) => unknown, sorting?: Sorting): ChangeSet<MyNote> {\n return useChangeStream<MyNote, MyNotes>(MyNotes, undefined, getKey, sorting);\n }\n\n static when(condition: boolean): ObservableQueryWhen<MyNotes, MyNote[]> {\n return new ObservableQueryWhen<MyNotes, MyNote[]>(MyNotes, condition);\n }\n}\n\n/**\n * One of the user's notes, as the list of their notes shows it, with where it is: given, acknowledged, addressed, declined or withdrawn.\n */\nexport class MyNote {\n\n /**\n * The note.\n */\n @field(Guid)\n id!: Guid;\n\n /**\n * Who gave the note.\n */\n @field(String)\n givenBy!: string;\n\n /**\n * What the note is about.\n */\n @field(Number)\n target!: NoteTarget;\n\n /**\n * What kind of feedback it is.\n */\n @field(Number)\n kind!: NoteKind;\n\n /**\n * What the giver wrote; empty on a note that has suggested property changes only.\n */\n @field(String)\n text!: string;\n\n /**\n * Where in the application the giver was.\n */\n @field(SliceLocation)\n location!: SliceLocation;\n\n /**\n * The screen the giver was on.\n */\n @field(NoteScreen)\n screen!: NoteScreen;\n\n /**\n * The slices the giver picked; empty unless the note is about slices.\n */\n @field(SliceLocation, true)\n slices!: SliceLocation[];\n\n /**\n * The name of the component the giver picked; {@link NotSet} unless the note is about a component.\n */\n @field(String)\n component!: string;\n\n /**\n * The property changes the giver suggested.\n */\n @field(SuggestedPropertyChange, true)\n propertyChanges!: SuggestedPropertyChange[];\n\n /**\n * Where the note is.\n */\n @field(Number)\n status!: NoteStatus;\n\n /**\n * The version that addresses the note or why it is declined; empty otherwise.\n */\n @field(String)\n statusDetail!: string;\n\n /**\n * When the giver gave it.\n */\n @field(Date)\n givenAt!: Date;\n\n /**\n * When anything last happened on it.\n */\n @field(Date)\n lastActivityAt!: Date;\n}\n"],"names":["MyNotesSortBy","_component","_givenAt","_givenBy","_id","_kind","_lastActivityAt","_location","_propertyChanges","_screen","_slices","_status","_statusDetail","_target","_text","query","SortingActionsForObservableQuery","component","givenAt","givenBy","id","kind","lastActivityAt","location","propertyChanges","screen","slices","status","statusDetail","target","text","MyNotesSortByWithoutQuery","SortingActions","MyNotes","ObservableQueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","_sortBy","MyNote","requiredRequestParameters","parameterDescriptors","sortBy","use","sorting","useObservableQuery","undefined","useWithPaging","pageSize","useObservableQueryWithPaging","Paging","useSuspense","useSuspenseObservableQuery","useSuspenseWithPaging","useSuspenseObservableQueryWithPaging","useChangeStream","getKey","when","condition","ObservableQueryWhen"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAMA,aAAAA,CAAAA;;IACMC,UAAAA;IACAC,QAAAA;IACAC,QAAAA;IACAC,GAAAA;IACAC,KAAAA;IACAC,eAAAA;IACAC,SAAAA;IACAC,gBAAAA;IACAC,OAAAA;IACAC,OAAAA;IACAC,OAAAA;IACAC,aAAAA;IACAC,OAAAA;IACAC,KAAAA;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AAEA;;AAEC,QACD,YACAC;AAEA;;AAEC,QACD,OACAV;AAEA;;AAEC,QACD,cACAI;AACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"WithdrawNote.d.ts","sourceRoot":"","sources":["../../../../Withdrawing/WithdrawNote/WithdrawNote.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,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAK5C,MAAM,WAAW,aAAa;IAK1B,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB;AAMD,qBAAa,YAAa,SAAQ,OAAO,CAAC,aAAa,CAAE,YAAW,aAAa;;IAC7E,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAA2D;IAC1G,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAoC;IAC1D,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,IAAI,CAEjB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,IAAI,EAGrB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,aAAa,GAAG,CAAC,YAAY,EAAE,gBAAgB,CAAC,aAAa,CAAC,EAAE,kBAAkB,CAAC;CAGjH"}
1
+ {"version":3,"file":"WithdrawNote.d.ts","sourceRoot":"","sources":["../../../../Withdrawing/WithdrawNote/WithdrawNote.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,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAK5C,MAAM,WAAW,aAAa;IAK1B,MAAM,CAAC,EAAE,IAAI,CAAC;CACjB;AAMD,qBAAa,YAAa,SAAQ,OAAO,CAAC,aAAa,CAAE,YAAW,aAAa;;IAC7E,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAyE;IACxH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAoC;IAC1D,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,IAAI,CAEjB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,IAAI,EAGrB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,aAAa,GAAG,CAAC,YAAY,EAAE,gBAAgB,CAAC,aAAa,CAAC,EAAE,kBAAkB,CAAC;CAGjH"}
@@ -8,11 +8,11 @@ var fundamentals = require('@cratis/fundamentals');
8
8
  // Copyright (c) Cratis. All rights reserved.
9
9
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
10
10
  // **DO NOT EDIT** - This file is an automatically generated file.
11
- // @generated by Cratis. Source: Cratis.Showrunner.Notes.Withdrawing.WithdrawNote.WithdrawNote. Time: 2026-11-01T11:55:12.6707473Z. Hash: 6187372217CAB22FD8266A2E14512A47E2170C4FB9DF46D463F85BDBBF911481
11
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Withdrawing.WithdrawNote.WithdrawNote. Time: 2026-11-11T04:34:45.5264700Z. Hash: 4DEBA125AFFABAFDDE6F5094A409D18315D5EC52B1A379F557E60D8CD7190592
12
12
  /**
13
13
  * The giver withdraws one of their notes; the people building the application no longer need to act on it.
14
14
  */ class WithdrawNote extends commands.Command {
15
- static sliceLocation = new reflection.SliceLocation('', 'Withdrawing', 'WithdrawNote');
15
+ static sliceLocation = /*#__PURE__*/ new reflection.SliceLocation('', 'Withdrawing', 'WithdrawNote');
16
16
  route = '/api/withdrawing/withdraw-note';
17
17
  treatWarningsAsErrors = false;
18
18
  roles = [];
@@ -1 +1 @@
1
- {"version":3,"file":"WithdrawNote.js","sources":["../../../../Withdrawing/WithdrawNote/WithdrawNote.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.Notes.Withdrawing.WithdrawNote.WithdrawNote. Time: 2026-11-01T11:55:12.6707473Z. Hash: 6187372217CAB22FD8266A2E14512A47E2170C4FB9DF46D463F85BDBBF911481\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 { Guid } from '@cratis/fundamentals';\n\n/**\n * The giver withdraws one of their notes; the people building the application no longer need to act on it.\n */\nexport interface IWithdrawNote {\n\n /**\n * The note to withdraw.\n */\n noteId?: Guid;\n}\n\n\n/**\n * The giver withdraws one of their notes; the people building the application no longer need to act on it.\n */\nexport class WithdrawNote extends Command<IWithdrawNote> implements IWithdrawNote {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Withdrawing', 'WithdrawNote');\n readonly route: string = '/api/withdrawing/withdraw-note';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('noteId', Guid, false),\n ];\n\n #noteId!: Guid;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The note to withdraw.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n\n static use(initialValues?: IWithdrawNote): [WithdrawNote, SetCommandValues<IWithdrawNote>, ClearCommandValues] {\n return useCommand<WithdrawNote, IWithdrawNote>(WithdrawNote, initialValues);\n }\n}\n"],"names":["WithdrawNote","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Guid","Object","requestParameters","noteId","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAkBA;;IAGO,MAAMA,YAAAA,SAAqBC,gBAAAA,CAAAA;AAC9B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,wBAAAA,CAAiB,EAAA,EAAI,eAAe,cAAA,CAAA;AACjFC,IAAAA,KAAAA,GAAgB,gCAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,6BAAAA,CAAmB,UAAUC,iBAAAA,EAAM,KAAA;KAC1C;AAED,IAAA,OAAO;IAEP,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,KAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIC,MAAAA,GAAe;QACf,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOC,KAAW,EAAE;QACpB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA6B,EAAuE;AAC3G,QAAA,OAAOC,sBAAwCjB,YAAAA,EAAcgB,aAAAA,CAAAA;AACjE,IAAA;AACJ;;"}
1
+ {"version":3,"file":"WithdrawNote.js","sources":["../../../../Withdrawing/WithdrawNote/WithdrawNote.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.Notes.Withdrawing.WithdrawNote.WithdrawNote. Time: 2026-11-11T04:34:45.5264700Z. Hash: 4DEBA125AFFABAFDDE6F5094A409D18315D5EC52B1A379F557E60D8CD7190592\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 { Guid } from '@cratis/fundamentals';\n\n/**\n * The giver withdraws one of their notes; the people building the application no longer need to act on it.\n */\nexport interface IWithdrawNote {\n\n /**\n * The note to withdraw.\n */\n noteId?: Guid;\n}\n\n\n/**\n * The giver withdraws one of their notes; the people building the application no longer need to act on it.\n */\nexport class WithdrawNote extends Command<IWithdrawNote> implements IWithdrawNote {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Withdrawing', 'WithdrawNote');\n readonly route: string = '/api/withdrawing/withdraw-note';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('noteId', Guid, false),\n ];\n\n #noteId!: Guid;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The note to withdraw.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n\n static use(initialValues?: IWithdrawNote): [WithdrawNote, SetCommandValues<IWithdrawNote>, ClearCommandValues] {\n return useCommand<WithdrawNote, IWithdrawNote>(WithdrawNote, initialValues);\n }\n}\n"],"names":["WithdrawNote","Command","sliceLocation","ArcSliceLocation","route","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","Guid","Object","requestParameters","noteId","value","propertyChanged","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAkBA;;IAGO,MAAMA,YAAAA,SAAqBC,gBAAAA,CAAAA;AAC9B,IAAA,OAAgBC,8BAAgD,IAAIC,wBAAAA,CAAiB,EAAA,EAAI,eAAe,cAAA,CAAA;AAC/FC,IAAAA,KAAAA,GAAgB,gCAAA;AAChBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;IACpBC,mBAAAA,GAA4C;QACjD,IAAIC,6BAAAA,CAAmB,UAAUC,iBAAAA,EAAM,KAAA;KAC1C;AAED,IAAA,OAAO;IAEP,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,MAAAA,EAAQ,KAAA,CAAA;AAClB,IAAA;AAEA,IAAA,IAAIC,iBAAAA,GAA8B;AAC9B,QAAA,OAAO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIC,MAAAA,GAAe;QACf,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOC,KAAW,EAAE;QACpB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;IAEA,OAAOC,GAAAA,CAAIC,aAA6B,EAAuE;AAC3G,QAAA,OAAOC,sBAAwCjB,YAAAA,EAAcgB,aAAAA,CAAAA;AACjE,IAAA;AACJ;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"NotesAvailability.d.ts","sourceRoot":"","sources":["../../../Availability/NotesAvailability.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAA8B,MAAM,2BAA2B,CAAC;AAC5G,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAMhG,qBAAa,YAAa,SAAQ,QAAQ,CAAC,iBAAiB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAAgD;IAC/F,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAoC;IAC1D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAyE;IACnG,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAA2B;;IAMnE,IAAI,yBAAyB,IAAI,MAAM,EAAE,CAGxC;IAED,QAAQ,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,CAClD;IAIF,MAAM,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIjF,MAAM,CAAC,WAAW,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIzF,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,YAAY,EAAE,iBAAiB,CAAC;CAG9E;AAKD,qBAAa,iBAAiB;IAM1B,SAAS,EAAG,OAAO,CAAC;CACvB"}
1
+ {"version":3,"file":"NotesAvailability.d.ts","sourceRoot":"","sources":["../../../Availability/NotesAvailability.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,EAA8B,MAAM,2BAA2B,CAAC;AAC5G,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAMhG,qBAAa,YAAa,SAAQ,QAAQ,CAAC,iBAAiB,CAAC;IACzD,MAAM,CAAC,QAAQ,CAAC,aAAa,EAAE,gBAAgB,CAA8D;IAC7G,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAoC;IAC1D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAyE;IACnG,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,YAAY,EAAE,iBAAiB,CAA2B;;IAMnE,IAAI,yBAAyB,IAAI,MAAM,EAAE,CAGxC;IAED,QAAQ,CAAC,oBAAoB,EAAE,mBAAmB,EAAE,CAClD;IAIF,MAAM,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIjF,MAAM,CAAC,WAAW,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,EAAE,UAAU,CAAC;IAIzF,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,YAAY,EAAE,iBAAiB,CAAC;CAG9E;AAKD,qBAAa,iBAAiB;IAM1B,SAAS,EAAG,OAAO,CAAC;CACvB"}
@@ -24,7 +24,7 @@ function _ts_metadata(metadataKey, metadataValue) {
24
24
  /**
25
25
  * Gets whether Notes is switched on. It is the same answer for everyone, so it needs no sign-in: the button shows only to a signed-in user anyway, and the commands refuse everyone else.
26
26
  */ class Availability extends QueryFor {
27
- static sliceLocation = new SliceLocation('', '', 'Availability');
27
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', '', 'Availability');
28
28
  route = '/api/availability/availability';
29
29
  queryName = 'Cratis.Showrunner.Notes.Availability.NotesAvailability.Availability';
30
30
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"NotesAvailability.js","sources":["../../../Availability/NotesAvailability.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.Notes.Availability.NotesAvailability, Cratis.Showrunner.Notes.Availability.NotesAvailability. Time: 2026-11-01T11:55:12.6707473Z. Hash: 7D28D58AEA837A3CBE5F66D04986F5BD5F4F7F950F141F37B794A04B3F6A7781\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';\n\n/**\n * Gets whether Notes is switched on. It is the same answer for everyone, so it needs no sign-in: the button shows only to a signed-in user anyway, and the commands refuse everyone else.\n */\nexport class Availability extends QueryFor<NotesAvailability> {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', '', 'Availability');\n readonly route: string = '/api/availability/availability';\n readonly queryName: string = 'Cratis.Showrunner.Notes.Availability.NotesAvailability.Availability';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: NotesAvailability = {} as NotesAvailability;\n\n constructor() {\n super(NotesAvailability, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<NotesAvailability>, PerformQuery, SetSorting] {\n return useQuery<NotesAvailability, Availability>(Availability);\n }\n\n static useSuspense(): [QueryResultWithState<NotesAvailability>, PerformQuery, SetSorting] {\n return useSuspenseQuery<NotesAvailability, Availability>(Availability);\n }\n\n static when(condition: boolean): QueryWhen<Availability, NotesAvailability> {\n return new QueryWhen<Availability, NotesAvailability>(Availability, condition);\n }\n}\n\n/**\n * Whether Notes is switched on in the application. The feedback button renders only when it is.\n */\nexport class NotesAvailability {\n\n /**\n * Whether the host switched Notes on.\n */\n @field(Boolean)\n isEnabled!: boolean;\n}\n"],"names":["Availability","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","NotesAvailability","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","isEnabled"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAUA;;IAGO,MAAMA,YAAAA,SAAqBC,QAAAA,CAAAA;AAC9B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,cAAA,CAAA;AACtEC,IAAAA,KAAAA,GAAgB,gCAAA;AAChBC,IAAAA,SAAAA,GAAoB,qEAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAAkC,EAAC;IAE5C,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,iBAAAA,EAAmB,KAAA,CAAA;AAC7B,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAA2E;AAC9E,QAAA,OAAOC,QAAAA,CAA0Cb,YAAAA,CAAAA;AACrD,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAAmF;AACtF,QAAA,OAAOC,gBAAAA,CAAkDf,YAAAA,CAAAA;AAC7D,IAAA;IAEA,OAAOgB,IAAAA,CAAKC,SAAkB,EAA8C;QACxE,OAAO,IAAIC,UAA2ClB,YAAAA,EAAciB,SAAAA,CAAAA;AACxE,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMR,iBAAAA,CAAAA;AAET;;AAEC,QACD,SACAU;AACJ;;;;;;"}
1
+ {"version":3,"file":"NotesAvailability.js","sources":["../../../Availability/NotesAvailability.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.Notes.Availability.NotesAvailability, Cratis.Showrunner.Notes.Availability.NotesAvailability. Time: 2026-11-11T04:34:45.5264700Z. Hash: EE5BED975D079E03309E0C6B5AB433DF11F43CA20531627454F7B73A6148A3DA\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';\n\n/**\n * Gets whether Notes is switched on. It is the same answer for everyone, so it needs no sign-in: the button shows only to a signed-in user anyway, and the commands refuse everyone else.\n */\nexport class Availability extends QueryFor<NotesAvailability> {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', '', 'Availability');\n readonly route: string = '/api/availability/availability';\n readonly queryName: string = 'Cratis.Showrunner.Notes.Availability.NotesAvailability.Availability';\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly defaultValue: NotesAvailability = {} as NotesAvailability;\n\n constructor() {\n super(NotesAvailability, false);\n }\n\n get requiredRequestParameters(): string[] {\n return [\n ];\n }\n\n readonly parameterDescriptors: ParameterDescriptor[] = [\n ];\n\n\n\n static use(): [QueryResultWithState<NotesAvailability>, PerformQuery, SetSorting] {\n return useQuery<NotesAvailability, Availability>(Availability);\n }\n\n static useSuspense(): [QueryResultWithState<NotesAvailability>, PerformQuery, SetSorting] {\n return useSuspenseQuery<NotesAvailability, Availability>(Availability);\n }\n\n static when(condition: boolean): QueryWhen<Availability, NotesAvailability> {\n return new QueryWhen<Availability, NotesAvailability>(Availability, condition);\n }\n}\n\n/**\n * Whether Notes is switched on in the application. The feedback button renders only when it is.\n */\nexport class NotesAvailability {\n\n /**\n * Whether the host switched Notes on.\n */\n @field(Boolean)\n isEnabled!: boolean;\n}\n"],"names":["Availability","QueryFor","sliceLocation","ArcSliceLocation","route","queryName","treatWarningsAsErrors","roles","defaultValue","NotesAvailability","requiredRequestParameters","parameterDescriptors","use","useQuery","useSuspense","useSuspenseQuery","when","condition","QueryWhen","isEnabled"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAUA;;IAGO,MAAMA,YAAAA,SAAqBC,QAAAA,CAAAA;AAC9B,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,IAAI,cAAA,CAAA;AACpFC,IAAAA,KAAAA,GAAgB,gCAAA;AAChBC,IAAAA,SAAAA,GAAoB,qEAAA;AACpBC,IAAAA,qBAAAA,GAAiC,KAAA;AACjCC,IAAAA,KAAAA,GAAkB,EAAE;AACpBC,IAAAA,YAAAA,GAAkC,EAAC;IAE5C,WAAA,EAAc;AACV,QAAA,KAAK,CAACC,iBAAAA,EAAmB,KAAA,CAAA;AAC7B,IAAA;AAEA,IAAA,IAAIC,yBAAAA,GAAsC;AACtC,QAAA,OAAO,EACN;AACL,IAAA;AAESC,IAAAA,oBAAAA,GAA8C,EACtD;AAID,IAAA,OAAOC,GAAAA,GAA2E;AAC9E,QAAA,OAAOC,QAAAA,CAA0Cb,YAAAA,CAAAA;AACrD,IAAA;AAEA,IAAA,OAAOc,WAAAA,GAAmF;AACtF,QAAA,OAAOC,gBAAAA,CAAkDf,YAAAA,CAAAA;AAC7D,IAAA;IAEA,OAAOgB,IAAAA,CAAKC,SAAkB,EAA8C;QACxE,OAAO,IAAIC,UAA2ClB,YAAAA,EAAciB,SAAAA,CAAAA;AACxE,IAAA;AACJ;AAEA;;AAEC,IACM,MAAMR,iBAAAA,CAAAA;AAET;;AAEC,QACD,SACAU;AACJ;;;;;;"}
@@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
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
10
10
  // **DO NOT EDIT** - This file is an automatically generated file.
11
- // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnComponent.GiveNoteOnComponent. Time: 2026-11-01T11:55:12.6707473Z. Hash: A44F5BE208BFB2B1A5C292EA13726509BA682B5935BC2C6C19AC7C32CBB5911D
11
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnComponent.GiveNoteOnComponent. Time: 2026-11-11T04:34:45.5264700Z. Hash: 0936B8DAAF9292DDE862F5E62BD9F6EDF25997B7099623CAC4F50D7996B12FC9
12
12
  class GiveNoteOnComponentValidator extends CommandValidator {
13
13
  constructor(){
14
14
  super();
@@ -21,7 +21,7 @@ class GiveNoteOnComponentValidator extends CommandValidator {
21
21
  /**
22
22
  * The user picked a component and wrote text about it. The property changes they suggested in the same picking session share its note id. Who gives it is taken from the signed-in identity, never from the request.
23
23
  */ class GiveNoteOnComponent extends Command {
24
- static sliceLocation = new SliceLocation('', 'Giving', 'GiveNoteOnComponent');
24
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', 'Giving', 'GiveNoteOnComponent');
25
25
  route = '/api/giving/give-note-on-component';
26
26
  validation = new GiveNoteOnComponentValidator();
27
27
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"GiveNoteOnComponent.js","sources":["../../../../Giving/GiveNoteOnComponent/GiveNoteOnComponent.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.Notes.Giving.GiveNoteOnComponent.GiveNoteOnComponent. Time: 2026-11-01T11:55:12.6707473Z. Hash: A44F5BE208BFB2B1A5C292EA13726509BA682B5935BC2C6C19AC7C32CBB5911D\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';\nimport { PickedComponent } from '../../Contracts/Components/PickedComponent';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user picked a component and wrote text about it. The property changes they suggested in the same picking session share its note id. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnComponent {\n\n /**\n * The component the user picked.\n */\n component?: PickedComponent;\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the note: new, or the one the picking session's property changes were suggested on.\n */\n noteId?: Guid;\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnComponentValidator extends CommandValidator<IGiveNoteOnComponent> {\n constructor() {\n super();\n this.ruleFor(c => c.component).notNull().withMessage('Pick a component.');\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user picked a component and wrote text about it. The property changes they suggested in the same picking session share its note id. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnComponent extends Command<IGiveNoteOnComponent> implements IGiveNoteOnComponent {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Giving', 'GiveNoteOnComponent');\n readonly route: string = '/api/giving/give-note-on-component';\n readonly validation: CommandValidator = new GiveNoteOnComponentValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('component', PickedComponent, false),\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #component!: PickedComponent;\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The component the user picked.\n */\n get component(): PickedComponent {\n return this.#component;\n }\n\n set component(value: PickedComponent) {\n this.#component = value;\n this.propertyChanged('component');\n }\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the note: new, or the one the picking session's property changes were suggested on.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnComponent): [GiveNoteOnComponent, SetCommandValues<IGiveNoteOnComponent>, ClearCommandValues] {\n return useCommand<GiveNoteOnComponent, IGiveNoteOnComponent>(GiveNoteOnComponent, initialValues);\n }\n}\n"],"names":["GiveNoteOnComponentValidator","CommandValidator","ruleFor","c","component","notNull","withMessage","context","text","notEmpty","maxLength","GiveNoteOnComponent","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","PickedComponent","NoteContext","Number","Guid","String","Object","requestParameters","value","propertyChanged","kind","noteId","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAwCO,MAAMA,4BAAAA,SAAqCC,gBAAAA,CAAAA;IAC9C,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GA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A,OAAOG,GAAAA,CAAIC,aAAoC,EAAqF;AAChI,QAAA,OAAOC,WAAsDvB,mBAAAA,EAAqBsB,aAAAA,CAAAA;AACtF,IAAA;AACJ;;"}
1
+ {"version":3,"file":"GiveNoteOnComponent.js","sources":["../../../../Giving/GiveNoteOnComponent/GiveNoteOnComponent.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.Notes.Giving.GiveNoteOnComponent.GiveNoteOnComponent. Time: 2026-11-11T04:34:45.5264700Z. Hash: 0936B8DAAF9292DDE862F5E62BD9F6EDF25997B7099623CAC4F50D7996B12FC9\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';\nimport { PickedComponent } from '../../Contracts/Components/PickedComponent';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user picked a component and wrote text about it. The property changes they suggested in the same picking session share its note id. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnComponent {\n\n /**\n * The component the user picked.\n */\n component?: PickedComponent;\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the note: new, or the one the picking session's property changes were suggested on.\n */\n noteId?: Guid;\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnComponentValidator extends CommandValidator<IGiveNoteOnComponent> {\n constructor() {\n super();\n this.ruleFor(c => c.component).notNull().withMessage('Pick a component.');\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user picked a component and wrote text about it. The property changes they suggested in the same picking session share its note id. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnComponent extends Command<IGiveNoteOnComponent> implements IGiveNoteOnComponent {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Giving', 'GiveNoteOnComponent');\n readonly route: string = '/api/giving/give-note-on-component';\n readonly validation: CommandValidator = new GiveNoteOnComponentValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('component', PickedComponent, false),\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #component!: PickedComponent;\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * The component the user picked.\n */\n get component(): PickedComponent {\n return this.#component;\n }\n\n set component(value: PickedComponent) {\n this.#component = value;\n this.propertyChanged('component');\n }\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the note: new, or the one the picking session's property changes were suggested on.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnComponent): [GiveNoteOnComponent, SetCommandValues<IGiveNoteOnComponent>, ClearCommandValues] {\n return useCommand<GiveNoteOnComponent, IGiveNoteOnComponent>(GiveNoteOnComponent, initialValues);\n }\n}\n"],"names":["GiveNoteOnComponentValidator","CommandValidator","ruleFor","c","component","notNull","withMessage","context","text","notEmpty","maxLength","GiveNoteOnComponent","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","PickedComponent","NoteContext","Number","Guid","String","Object","requestParameters","value","propertyChanged","kind","noteId","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAwCO,MAAMA,4BAAAA,SAAqCC,gBAAAA,CAAAA;IAC9C,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,SAAS,CAAA,CAAEC,OAAO,EAAA,CAAGC,WAAW,CAAC,mBAAA,CAAA;QACrD,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEI,OAAO,CAAA,CAAEF,OAAO,EAAA,CAAGC,WAAW,CAAC,gDAAA,CAAA;QACnD,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEK,IAAI,CAAA,CAAEC,QAAQ,EAAA,CAAGH,WAAW,CAAC,kBAAA,CAAA;AACjD,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEK,IAAI,CAAA,CAAEE,SAAS,CAAC,IAAA,CAAA,CAAMJ,WAAW,CAAC,uCAAA,CAAA;AAC1D,IAAA;AACJ;AAEA;;IAGO,MAAMK,mBAAAA,SAA4BC,OAAAA,CAAAA;AACrC,IAAA,OAAgBC,8BAAgD,IAAIC,aAAAA,CAAiB,EAAA,EAAI,UAAU,qBAAA,CAAA;AAC1FC,IAAAA,KAAAA,GAAgB,oCAAA;AA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rB;IAID,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAGrB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,kBAAkB,GAAG,CAAC,iBAAiB,EAAE,gBAAgB,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CAGhI"}
@@ -7,7 +7,7 @@ import { Guid } from '@cratis/fundamentals';
7
7
  // Copyright (c) Cratis. All rights reserved.
8
8
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
9
9
  // **DO NOT EDIT** - This file is an automatically generated file.
10
- // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnContext.GiveNoteOnContext. Time: 2026-11-01T11:55:12.6707473Z. Hash: E16E92B294B3749B22A6EE3710E363A25997107CB34220EBC09AF9CE22B3EB6A
10
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnContext.GiveNoteOnContext. Time: 2026-11-11T04:34:45.5264700Z. Hash: F54D69A634AED3FA777B1B5ECE51634FE3BB5BC2C20A3D366E28C7976F5DE264
11
11
  class GiveNoteOnContextValidator extends CommandValidator {
12
12
  constructor(){
13
13
  super();
@@ -19,7 +19,7 @@ class GiveNoteOnContextValidator extends CommandValidator {
19
19
  /**
20
20
  * The user gives feedback about what is on screen now: the default action of the feedback button. Who gives it is taken from the signed-in identity, never from the request.
21
21
  */ class GiveNoteOnContext extends Command {
22
- static sliceLocation = new SliceLocation('', 'Giving', 'GiveNoteOnContext');
22
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', 'Giving', 'GiveNoteOnContext');
23
23
  route = '/api/giving/give-note-on-context';
24
24
  validation = new GiveNoteOnContextValidator();
25
25
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"GiveNoteOnContext.js","sources":["../../../../Giving/GiveNoteOnContext/GiveNoteOnContext.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.Notes.Giving.GiveNoteOnContext.GiveNoteOnContext. Time: 2026-11-01T11:55:12.6707473Z. Hash: E16E92B294B3749B22A6EE3710E363A25997107CB34220EBC09AF9CE22B3EB6A\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';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user gives feedback about what is on screen now: the default action of the feedback button. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnContext {\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n noteId?: Guid;\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnContextValidator extends CommandValidator<IGiveNoteOnContext> {\n constructor() {\n super();\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user gives feedback about what is on screen now: the default action of the feedback button. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnContext extends Command<IGiveNoteOnContext> implements IGiveNoteOnContext {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Giving', 'GiveNoteOnContext');\n readonly route: string = '/api/giving/give-note-on-context';\n readonly validation: CommandValidator = new GiveNoteOnContextValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnContext): [GiveNoteOnContext, SetCommandValues<IGiveNoteOnContext>, ClearCommandValues] {\n return useCommand<GiveNoteOnContext, IGiveNoteOnContext>(GiveNoteOnContext, initialValues);\n }\n}\n"],"names":["GiveNoteOnContextValidator","CommandValidator","ruleFor","c","context","notNull","withMessage","text","notEmpty","maxLength","GiveNoteOnContext","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","NoteContext","Number","Guid","String","Object","requestParameters","value","propertyChanged","kind","noteId","use","initialValues","useCommand"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AAkCO,MAAMA,0BAAAA,SAAmCC,gBAAAA,CAAAA;IAC5C,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,OAAO,CAAA,CAA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AIA,OAAAA,CAAQsB,KAAkB,EAAE;QAC5B,IAAI,CAAC,QAAQ,GAAGA,KAAAA;QAChB,IAAI,CAACC,eAAe,CAAC,SAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIC,IAAAA,GAAiB;QACjB,OAAO,IAAI,CAAC,KAAK;AACrB,IAAA;IAEA,IAAIA,IAAAA,CAAKF,KAAe,EAAE;QACtB,IAAI,CAAC,KAAK,GAAGA,KAAAA;QACb,IAAI,CAACC,eAAe,CAAC,MAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIE,MAAAA,GAAe;QACf,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOH,KAAW,EAAE;QACpB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIpB,IAAAA,GAAe;QACf,OAAO,IAAI,CAAC,KAAK;AACrB,IAAA;IAEA,IAAIA,IAAAA,CAAKmB,KAAa,EAAE;QACpB,IAAI,CAAC,KAAK,GAAGA,KAAAA;QACb,IAAI,CAACC,eAAe,CAAC,MAAA,CAAA;AACzB,IAAA;IAEA,OAAOG,GAAAA,CAAIC,aAAkC,EAAiF;AAC1H,QAAA,OAAOC,WAAkDtB,iBAAAA,EAAmBqB,aAAAA,CAAAA;AAChF,IAAA;AACJ;;"}
1
+ {"version":3,"file":"GiveNoteOnContext.js","sources":["../../../../Giving/GiveNoteOnContext/GiveNoteOnContext.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.Notes.Giving.GiveNoteOnContext.GiveNoteOnContext. Time: 2026-11-11T04:34:45.5264700Z. Hash: F54D69A634AED3FA777B1B5ECE51634FE3BB5BC2C20A3D366E28C7976F5DE264\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';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user gives feedback about what is on screen now: the default action of the feedback button. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnContext {\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n noteId?: Guid;\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnContextValidator extends CommandValidator<IGiveNoteOnContext> {\n constructor() {\n super();\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user gives feedback about what is on screen now: the default action of the feedback button. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnContext extends Command<IGiveNoteOnContext> implements IGiveNoteOnContext {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Giving', 'GiveNoteOnContext');\n readonly route: string = '/api/giving/give-note-on-context';\n readonly validation: CommandValidator = new GiveNoteOnContextValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnContext): [GiveNoteOnContext, SetCommandValues<IGiveNoteOnContext>, ClearCommandValues] {\n return useCommand<GiveNoteOnContext, IGiveNoteOnContext>(GiveNoteOnContext, initialValues);\n }\n}\n"],"names":["GiveNoteOnContextValidator","CommandValidator","ruleFor","c","context","notNull","withMessage","text","notEmpty","maxLength","GiveNoteOnContext","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","NoteContext","Number","Guid","String","Object","requestParameters","value","propertyChanged","kind","noteId","use","initialValues","useCommand"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AAkCO,MAAMA,0BAAAA,SAAmCC,gBAAAA,CAAAA;IAC5C,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,OAAO,CAAA,CAAEC,OAAO,EAAA,CAAGC,WAAW,CAAC,gDAAA,CAAA;QACnD,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEI,IAAI,CAAA,CAAEC,QAAQ,EAAA,CAAGF,WAAW,CAAC,kBAAA,CAAA;AACjD,QAAA,IAAI,CA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AAC,KAAK,EAAE,IAAI,EAGrB;IAID,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAGrB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;CAG7H"}
@@ -7,7 +7,7 @@ import { Guid } from '@cratis/fundamentals';
7
7
  // Copyright (c) Cratis. All rights reserved.
8
8
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
9
9
  // **DO NOT EDIT** - This file is an automatically generated file.
10
- // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnScreen.GiveNoteOnScreen. Time: 2026-11-01T11:55:12.6707473Z. Hash: 5895C65951697575A860A5815C6574C6765026C35F2CB1D5D70586CE3E0694D9
10
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnScreen.GiveNoteOnScreen. Time: 2026-11-11T04:34:45.5264700Z. Hash: F423A39CEDE226F58A7DBAD2A1FF97D2F6B4C2335C94C946C9FBC1F7F515DCB0
11
11
  class GiveNoteOnScreenValidator extends CommandValidator {
12
12
  constructor(){
13
13
  super();
@@ -19,7 +19,7 @@ class GiveNoteOnScreenValidator extends CommandValidator {
19
19
  /**
20
20
  * The user picked the screen itself as the subject of a note, as opposed to the context the screen happens to be in. Who gives it is taken from the signed-in identity, never from the request.
21
21
  */ class GiveNoteOnScreen extends Command {
22
- static sliceLocation = new SliceLocation('', 'Giving', 'GiveNoteOnScreen');
22
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', 'Giving', 'GiveNoteOnScreen');
23
23
  route = '/api/giving/give-note-on-screen';
24
24
  validation = new GiveNoteOnScreenValidator();
25
25
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"GiveNoteOnScreen.js","sources":["../../../../Giving/GiveNoteOnScreen/GiveNoteOnScreen.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.Notes.Giving.GiveNoteOnScreen.GiveNoteOnScreen. Time: 2026-11-01T11:55:12.6707473Z. Hash: 5895C65951697575A860A5815C6574C6765026C35F2CB1D5D70586CE3E0694D9\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';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user picked the screen itself as the subject of a note, as opposed to the context the screen happens to be in. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnScreen {\n\n /**\n * What the user is looking at; its screen is the subject.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n noteId?: Guid;\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnScreenValidator extends CommandValidator<IGiveNoteOnScreen> {\n constructor() {\n super();\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user picked the screen itself as the subject of a note, as opposed to the context the screen happens to be in. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnScreen extends Command<IGiveNoteOnScreen> implements IGiveNoteOnScreen {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Giving', 'GiveNoteOnScreen');\n readonly route: string = '/api/giving/give-note-on-screen';\n readonly validation: CommandValidator = new GiveNoteOnScreenValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * What the user is looking at; its screen is the subject.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnScreen): [GiveNoteOnScreen, SetCommandValues<IGiveNoteOnScreen>, ClearCommandValues] {\n return useCommand<GiveNoteOnScreen, IGiveNoteOnScreen>(GiveNoteOnScreen, initialValues);\n }\n}\n"],"names":["GiveNoteOnScreenValidator","CommandValidator","ruleFor","c","context","notNull","withMessage","text","notEmpty","maxLength","GiveNoteOnScreen","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","NoteContext","Number","Guid","String","Object","requestParameters","value","propertyChanged","kind","noteId","use","initialValues","useCommand"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AAkCO,MAAMA,yBAAAA,SAAkCC,gBAAAA,CAAAA;IAC3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AO,EACN;AACL,IAAA;AAEA;;AAEC,QACD,IAAIrB,OAAAA,GAAuB;QACvB,OAAO,IAAI,CAAC,QAAQ;AACxB,IAAA;IAEA,IAAIA,OAAAA,CAAQsB,KAAkB,EAAE;QAC5B,IAAI,CAAC,QAAQ,GAAGA,KAAAA;QAChB,IAAI,CAACC,eAAe,CAAC,SAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIC,IAAAA,GAAiB;QACjB,OAAO,IAAI,CAAC,KAAK;AACrB,IAAA;IAEA,IAAIA,IAAAA,CAAKF,KAAe,EAAE;QACtB,IAAI,CAAC,KAAK,GAAGA,KAAAA;QACb,IAAI,CAACC,eAAe,CAAC,MAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIE,MAAAA,GAAe;QACf,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOH,KAAW,EAAE;QACpB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIpB,IAAAA,GAAe;QACf,OAAO,IAAI,CAAC,KAAK;AACrB,IAAA;IAEA,IAAIA,IAAAA,CAAKmB,KAAa,EAAE;QACpB,IAAI,CAAC,KAAK,GAAGA,KAAAA;QACb,IAAI,CAACC,eAAe,CAAC,MAAA,CAAA;AACzB,IAAA;IAEA,OAAOG,GAAAA,CAAIC,aAAiC,EAA+E;AACvH,QAAA,OAAOC,WAAgDtB,gBAAAA,EAAkBqB,aAAAA,CAAAA;AAC7E,IAAA;AACJ;;"}
1
+ {"version":3,"file":"GiveNoteOnScreen.js","sources":["../../../../Giving/GiveNoteOnScreen/GiveNoteOnScreen.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.Notes.Giving.GiveNoteOnScreen.GiveNoteOnScreen. Time: 2026-11-11T04:34:45.5264700Z. Hash: F423A39CEDE226F58A7DBAD2A1FF97D2F6B4C2335C94C946C9FBC1F7F515DCB0\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';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user picked the screen itself as the subject of a note, as opposed to the context the screen happens to be in. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnScreen {\n\n /**\n * What the user is looking at; its screen is the subject.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n noteId?: Guid;\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnScreenValidator extends CommandValidator<IGiveNoteOnScreen> {\n constructor() {\n super();\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user picked the screen itself as the subject of a note, as opposed to the context the screen happens to be in. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnScreen extends Command<IGiveNoteOnScreen> implements IGiveNoteOnScreen {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Giving', 'GiveNoteOnScreen');\n readonly route: string = '/api/giving/give-note-on-screen';\n readonly validation: CommandValidator = new GiveNoteOnScreenValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * What the user is looking at; its screen is the subject.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnScreen): [GiveNoteOnScreen, SetCommandValues<IGiveNoteOnScreen>, ClearCommandValues] {\n return useCommand<GiveNoteOnScreen, IGiveNoteOnScreen>(GiveNoteOnScreen, initialValues);\n }\n}\n"],"names":["GiveNoteOnScreenValidator","CommandValidator","ruleFor","c","context","notNull","withMessage","text","notEmpty","maxLength","GiveNoteOnScreen","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","NoteContext","Number","Guid","String","Object","requestParameters","value","propertyChanged","kind","noteId","use","initialValues","useCommand"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AAkCO,MAAMA,yBAAAA,SAAkCC,gBAAAA,CAAAA;IAC3C,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,OAAO,CAAA,CAAEC,OAAO,EAAA,CAA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QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAmC;IACxE,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAChD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAM;IAC9B,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAMhD;;IAYF,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAGhC;IAKD,IAAI,OAAO,IAAI,WAAW,CAEzB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,WAAW,EAG7B;IAID,IAAI,IAAI,IAAI,QAAQ,CAEnB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,QAAQ,EAGvB;IAID,IAAI,MAAM,IAAI,IAAI,CAEjB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,IAAI,EAGrB;IAID,IAAI,MAAM,IAAI,aAAa,EAAE,CAE5B;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,aAAa,EAAE,EAGhC;IAID,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,IAAI,IAAI,CAAC,KAAK,EAAE,MAAM,EAGrB;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,EAAE,kBAAkB,CAAC;CAG7H"}
@@ -8,7 +8,7 @@ import { Guid } from '@cratis/fundamentals';
8
8
  // Copyright (c) Cratis. All rights reserved.
9
9
  // Licensed under the MIT license. See LICENSE file in the project root for full license information.
10
10
  // **DO NOT EDIT** - This file is an automatically generated file.
11
- // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnSlices.GiveNoteOnSlices. Time: 2026-11-01T11:55:12.6707473Z. Hash: 381D70328152C05B79679400BC7A4138C7D19582BF2635CC3A6B39553A105A06
11
+ // @generated by Cratis. Source: Cratis.Showrunner.Notes.Giving.GiveNoteOnSlices.GiveNoteOnSlices. Time: 2026-11-11T04:34:45.5264700Z. Hash: AB198AD0DCCD1B12202BB1EEFE6580787E40A6E490D72FB60752F24C14121A7C
12
12
  class GiveNoteOnSlicesValidator extends CommandValidator {
13
13
  constructor(){
14
14
  super();
@@ -20,7 +20,7 @@ class GiveNoteOnSlicesValidator extends CommandValidator {
20
20
  /**
21
21
  * The user explicitly picked one or more slices as the subject of a note. Who gives it is taken from the signed-in identity, never from the request.
22
22
  */ class GiveNoteOnSlices extends Command {
23
- static sliceLocation = new SliceLocation('', 'Giving', 'GiveNoteOnSlices');
23
+ static sliceLocation = /*#__PURE__*/ new SliceLocation('', 'Giving', 'GiveNoteOnSlices');
24
24
  route = '/api/giving/give-note-on-slices';
25
25
  validation = new GiveNoteOnSlicesValidator();
26
26
  treatWarningsAsErrors = false;
@@ -1 +1 @@
1
- {"version":3,"file":"GiveNoteOnSlices.js","sources":["../../../../Giving/GiveNoteOnSlices/GiveNoteOnSlices.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.Notes.Giving.GiveNoteOnSlices.GiveNoteOnSlices. Time: 2026-11-01T11:55:12.6707473Z. Hash: 381D70328152C05B79679400BC7A4138C7D19582BF2635CC3A6B39553A105A06\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';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { SliceLocation } from '../../Contracts/Reporting/SliceLocation';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user explicitly picked one or more slices as the subject of a note. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnSlices {\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n noteId?: Guid;\n\n /**\n * The slices the user picked; at least one.\n */\n slices?: SliceLocation[];\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnSlicesValidator extends CommandValidator<IGiveNoteOnSlices> {\n constructor() {\n super();\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user explicitly picked one or more slices as the subject of a note. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnSlices extends Command<IGiveNoteOnSlices> implements IGiveNoteOnSlices {\n static readonly sliceLocation: ArcSliceLocation = new ArcSliceLocation('', 'Giving', 'GiveNoteOnSlices');\n readonly route: string = '/api/giving/give-note-on-slices';\n readonly validation: CommandValidator = new GiveNoteOnSlicesValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('slices', SliceLocation, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #slices!: SliceLocation[];\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * The slices the user picked; at least one.\n */\n get slices(): SliceLocation[] {\n return this.#slices;\n }\n\n set slices(value: SliceLocation[]) {\n this.#slices = value;\n this.propertyChanged('slices');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnSlices): [GiveNoteOnSlices, SetCommandValues<IGiveNoteOnSlices>, ClearCommandValues] {\n return useCommand<GiveNoteOnSlices, IGiveNoteOnSlices>(GiveNoteOnSlices, initialValues);\n }\n}\n"],"names":["GiveNoteOnSlicesValidator","CommandValidator","ruleFor","c","context","notNull","withMessage","text","notEmpty","maxLength","GiveNoteOnSlices","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","NoteContext","Number","Guid","SliceLocation","String","Object","requestParameters","value","propertyChanged","kind","noteId","slices","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAwCO,MAAMA,yBAAAA,SAAkCC,gBAAAA,CAAAA;IAC3C,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,OAAO,CAAA,CAAEC,OAAO,EAAA,CAAGC,WAAW,CAAC,gDAAA,CAAA;QACnD,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEI,IAAI,CAAA,CAAEC,QAAQ,EAAA,CAAGF,WAAW,CAAC,kBAAA,CAAA;AACjD,QAAA,IAAI,CAACJ,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEI,IAAI,CAAA,CAAEE,SAAS,CAAC,IAAA,CAAA,CAAMH,WAAW,CAAC,uCAAA,CAAA;AAC1D,IAAA;AACJ;AAEA;;IAG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AAAA;QACb,IAAI,CAACC,eAAe,CAAC,MAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIE,MAAAA,GAAe;QACf,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOH,KAAW,EAAE;QACpB,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIG,MAAAA,GAA0B;QAC1B,OAAO,IAAI,CAAC,OAAO;AACvB,IAAA;IAEA,IAAIA,MAAAA,CAAOJ,KAAsB,EAAE;QAC/B,IAAI,CAAC,OAAO,GAAGA,KAAAA;QACf,IAAI,CAACC,eAAe,CAAC,QAAA,CAAA;AACzB,IAAA;AACA;;AAEC,QACD,IAAIrB,IAAAA,GAAe;QACf,OAAO,IAAI,CAAC,KAAK;AACrB,IAAA;IAEA,IAAIA,IAAAA,CAAKoB,KAAa,EAAE;QACpB,IAAI,CAAC,KAAK,GAAGA,KAAAA;QACb,IAAI,CAACC,eAAe,CAAC,MAAA,CAAA;AACzB,IAAA;IAEA,OAAOI,GAAAA,CAAIC,aAAiC,EAA+E;AACvH,QAAA,OAAOC,WAAgDxB,gBAAAA,EAAkBuB,aAAAA,CAAAA;AAC7E,IAAA;AACJ;;"}
1
+ {"version":3,"file":"GiveNoteOnSlices.js","sources":["../../../../Giving/GiveNoteOnSlices/GiveNoteOnSlices.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.Notes.Giving.GiveNoteOnSlices.GiveNoteOnSlices. Time: 2026-11-11T04:34:45.5264700Z. Hash: AB198AD0DCCD1B12202BB1EEFE6580787E40A6E490D72FB60752F24C14121A7C\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';\nimport { NoteContext } from '../../Contracts/Context/NoteContext';\nimport { NoteKind } from '../../Contracts/Giving/NoteKind';\nimport { SliceLocation } from '../../Contracts/Reporting/SliceLocation';\nimport { Guid } from '@cratis/fundamentals';\n\n/**\n * The user explicitly picked one or more slices as the subject of a note. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport interface IGiveNoteOnSlices {\n\n /**\n * What the user is looking at.\n */\n context?: NoteContext;\n\n /**\n * What kind of feedback it is.\n */\n kind?: NoteKind;\n\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n noteId?: Guid;\n\n /**\n * The slices the user picked; at least one.\n */\n slices?: SliceLocation[];\n\n /**\n * What the user writes.\n */\n text?: string;\n}\n\nexport class GiveNoteOnSlicesValidator extends CommandValidator<IGiveNoteOnSlices> {\n constructor() {\n super();\n this.ruleFor(c => c.context).notNull().withMessage('A note needs to know what you were looking at.');\n this.ruleFor(c => c.text).notEmpty().withMessage('Write your note.');\n this.ruleFor(c => c.text).maxLength(4000).withMessage('Keep the note within 4000 characters.');\n }\n}\n\n/**\n * The user explicitly picked one or more slices as the subject of a note. Who gives it is taken from the signed-in identity, never from the request.\n */\nexport class GiveNoteOnSlices extends Command<IGiveNoteOnSlices> implements IGiveNoteOnSlices {\n static readonly sliceLocation: ArcSliceLocation = /*#__PURE__*/ new ArcSliceLocation('', 'Giving', 'GiveNoteOnSlices');\n readonly route: string = '/api/giving/give-note-on-slices';\n readonly validation: CommandValidator = new GiveNoteOnSlicesValidator();\n readonly treatWarningsAsErrors: boolean = false;\n readonly roles: string[] = [];\n readonly propertyDescriptors: PropertyDescriptor[] = [\n new PropertyDescriptor('context', NoteContext, false),\n new PropertyDescriptor('kind', Number, false),\n new PropertyDescriptor('noteId', Guid, false),\n new PropertyDescriptor('slices', SliceLocation, false),\n new PropertyDescriptor('text', String, false),\n ];\n\n #context!: NoteContext;\n #kind!: NoteKind;\n #noteId!: Guid;\n #slices!: SliceLocation[];\n #text!: string;\n\n constructor() {\n super(Object, false);\n }\n\n get requestParameters(): string[] {\n return [\n ];\n }\n\n /**\n * What the user is looking at.\n */\n get context(): NoteContext {\n return this.#context;\n }\n\n set context(value: NoteContext) {\n this.#context = value;\n this.propertyChanged('context');\n }\n /**\n * What kind of feedback it is.\n */\n get kind(): NoteKind {\n return this.#kind;\n }\n\n set kind(value: NoteKind) {\n this.#kind = value;\n this.propertyChanged('kind');\n }\n /**\n * The id of the new note, chosen by the caller so a retried command does not give a second note.\n */\n get noteId(): Guid {\n return this.#noteId;\n }\n\n set noteId(value: Guid) {\n this.#noteId = value;\n this.propertyChanged('noteId');\n }\n /**\n * The slices the user picked; at least one.\n */\n get slices(): SliceLocation[] {\n return this.#slices;\n }\n\n set slices(value: SliceLocation[]) {\n this.#slices = value;\n this.propertyChanged('slices');\n }\n /**\n * What the user writes.\n */\n get text(): string {\n return this.#text;\n }\n\n set text(value: string) {\n this.#text = value;\n this.propertyChanged('text');\n }\n\n static use(initialValues?: IGiveNoteOnSlices): [GiveNoteOnSlices, SetCommandValues<IGiveNoteOnSlices>, ClearCommandValues] {\n return useCommand<GiveNoteOnSlices, IGiveNoteOnSlices>(GiveNoteOnSlices, initialValues);\n }\n}\n"],"names":["GiveNoteOnSlicesValidator","CommandValidator","ruleFor","c","context","notNull","withMessage","text","notEmpty","maxLength","GiveNoteOnSlices","Command","sliceLocation","ArcSliceLocation","route","validation","treatWarningsAsErrors","roles","propertyDescriptors","PropertyDescriptor","NoteContext","Number","Guid","SliceLocation","String","Object","requestParameters","value","propertyChanged","kind","noteId","slices","use","initialValues","useCommand"],"mappings":";;;;;;;AAAA;AACA;AAEA;AACA;AAwCO,MAAMA,yBAAAA,SAAkCC,gBAAAA,CAAAA;IAC3C,WAAA,EAAc;QACV,KAAK,EAAA;QACL,IAAI,CAACC,OAAO,CAACC,CAAAA,CAAAA,GAAKA,CAAAA,CAAEC,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CAE/B;IAED,IAAI,SAAS,CAAC,KAAK,EAAE,eAAe,EAGnC;IAID,IAAI,OAAO,IAAI,WAAW,CAEzB;IAED,IAAI,OAAO,CAAC,KAAK,EAAE,WAAW,EAG7B;IAID,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAG7B;IAID,IAAI,MAAM,IAAI,IAAI,CAEjB;IAED,IAAI,MAAM,CAAC,KAAK,EAAE,IAAI,EAGrB;IAID,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAGzB;IAID,IAAI,cAAc,IAAI,MAAM,CAE3B;IAED,IAAI,cAAc,CAAC,KAAK,EAAE,MAAM,EAG/B;IAED,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,+BAA+B,GAAG,CAAC,8BAA8B,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,EAAE,kBAAkB,CAAC;CAGvK"}
1
+ {"version":3,"file":"SuggestComponentPropertyChange.d.ts","sourceRoot":"","sources":["../../../../Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACjE,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,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAClE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAK5C,MAAM,WAAW,+BAA+B;IAK5C,SAAS,CAAC,EAAE,eAAe,CAAC;IAK5B,OAAO,CAAC,EAAE,WAAW,CAAC;IAKtB,YAAY,CAAC,EAAE,MA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