@cratis/showrunner.notes 0.0.0-stage → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Availability/NotesAvailability.ts +59 -0
- package/Availability/index.ts +4 -0
- package/Contracts/Components/PickedComponent.ts +43 -0
- package/Contracts/Components/index.ts +4 -0
- package/Contracts/Context/NoteContext.ts +58 -0
- package/Contracts/Context/NoteDialog.ts +25 -0
- package/Contracts/Context/NoteScreen.ts +30 -0
- package/Contracts/Context/index.ts +6 -0
- package/Contracts/Giving/NoteKind.ts +14 -0
- package/Contracts/Giving/index.ts +4 -0
- package/Contracts/Reporting/SliceLocation.ts +30 -0
- package/Contracts/Reporting/index.ts +4 -0
- package/Giving/GiveNoteOnComponent/GiveNoteOnComponent.ts +146 -0
- package/Giving/GiveNoteOnComponent/index.ts +4 -0
- package/Giving/GiveNoteOnContext/GiveNoteOnContext.ts +126 -0
- package/Giving/GiveNoteOnContext/index.ts +4 -0
- package/Giving/GiveNoteOnScreen/GiveNoteOnScreen.ts +126 -0
- package/Giving/GiveNoteOnScreen/index.ts +4 -0
- package/Giving/GiveNoteOnSlices/GiveNoteOnSlices.ts +145 -0
- package/Giving/GiveNoteOnSlices/index.ts +4 -0
- package/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.ts +164 -0
- package/Giving/SuggestComponentPropertyChange/index.ts +4 -0
- package/Listing/MyNote.ts +303 -0
- package/Listing/NoteStatus.ts +15 -0
- package/Listing/NoteTarget.ts +14 -0
- package/Listing/SuggestedPropertyChange.ts +30 -0
- package/Listing/index.ts +7 -0
- package/README.md +86 -2
- package/Withdrawing/WithdrawNote/WithdrawNote.ts +61 -0
- package/Withdrawing/WithdrawNote/index.ts +4 -0
- package/dist/cjs/Availability/NotesAvailability.d.ts +21 -0
- package/dist/cjs/Availability/NotesAvailability.d.ts.map +1 -0
- package/dist/cjs/Availability/NotesAvailability.js +66 -0
- package/dist/cjs/Availability/NotesAvailability.js.map +1 -0
- package/dist/cjs/Availability/index.d.ts +2 -0
- package/dist/cjs/Availability/index.d.ts.map +1 -0
- package/dist/cjs/Contracts/Components/PickedComponent.d.ts +9 -0
- package/dist/cjs/Contracts/Components/PickedComponent.d.ts.map +1 -0
- package/dist/cjs/Contracts/Components/PickedComponent.js +65 -0
- package/dist/cjs/Contracts/Components/PickedComponent.js.map +1 -0
- package/dist/cjs/Contracts/Components/index.d.ts +2 -0
- package/dist/cjs/Contracts/Components/index.d.ts.map +1 -0
- package/dist/cjs/Contracts/Context/NoteContext.d.ts +14 -0
- package/dist/cjs/Contracts/Context/NoteContext.d.ts.map +1 -0
- package/dist/cjs/Contracts/Context/NoteContext.js +81 -0
- package/dist/cjs/Contracts/Context/NoteContext.js.map +1 -0
- package/dist/cjs/Contracts/Context/NoteDialog.d.ts +6 -0
- package/dist/cjs/Contracts/Context/NoteDialog.d.ts.map +1 -0
- package/dist/cjs/Contracts/Context/NoteDialog.js +44 -0
- package/dist/cjs/Contracts/Context/NoteDialog.js.map +1 -0
- package/dist/cjs/Contracts/Context/NoteScreen.d.ts +6 -0
- package/dist/cjs/Contracts/Context/NoteScreen.d.ts.map +1 -0
- package/dist/cjs/Contracts/Context/NoteScreen.js +50 -0
- package/dist/cjs/Contracts/Context/NoteScreen.js.map +1 -0
- package/dist/cjs/Contracts/Context/index.d.ts +4 -0
- package/dist/cjs/Contracts/Context/index.d.ts.map +1 -0
- package/dist/cjs/Contracts/Giving/NoteKind.d.ts +7 -0
- package/dist/cjs/Contracts/Giving/NoteKind.d.ts.map +1 -0
- package/dist/cjs/Contracts/Giving/NoteKind.js +18 -0
- package/dist/cjs/Contracts/Giving/NoteKind.js.map +1 -0
- package/dist/cjs/Contracts/Giving/index.d.ts +2 -0
- package/dist/cjs/Contracts/Giving/index.d.ts.map +1 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts +6 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.js +50 -0
- package/dist/cjs/Contracts/Reporting/SliceLocation.js.map +1 -0
- package/dist/cjs/Contracts/Reporting/index.d.ts +2 -0
- package/dist/cjs/Contracts/Reporting/index.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts +40 -0
- package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js +101 -0
- package/dist/cjs/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnComponent/index.d.ts +2 -0
- package/dist/cjs/Giving/GiveNoteOnComponent/index.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts +36 -0
- package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.js +88 -0
- package/dist/cjs/Giving/GiveNoteOnContext/GiveNoteOnContext.js.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnContext/index.d.ts +2 -0
- package/dist/cjs/Giving/GiveNoteOnContext/index.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts +36 -0
- package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js +88 -0
- package/dist/cjs/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnScreen/index.d.ts +2 -0
- package/dist/cjs/Giving/GiveNoteOnScreen/index.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts +40 -0
- package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js +100 -0
- package/dist/cjs/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js.map +1 -0
- package/dist/cjs/Giving/GiveNoteOnSlices/index.d.ts +2 -0
- package/dist/cjs/Giving/GiveNoteOnSlices/index.d.ts.map +1 -0
- package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts +42 -0
- package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts.map +1 -0
- package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js +113 -0
- package/dist/cjs/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js.map +1 -0
- package/dist/cjs/Giving/SuggestComponentPropertyChange/index.d.ts +2 -0
- package/dist/cjs/Giving/SuggestComponentPropertyChange/index.d.ts.map +1 -0
- package/dist/cjs/Listing/MyNote.d.ts +111 -0
- package/dist/cjs/Listing/MyNote.d.ts.map +1 -0
- package/dist/cjs/Listing/MyNote.js +315 -0
- package/dist/cjs/Listing/MyNote.js.map +1 -0
- package/dist/cjs/Listing/NoteStatus.d.ts +8 -0
- package/dist/cjs/Listing/NoteStatus.d.ts.map +1 -0
- package/dist/cjs/Listing/NoteStatus.js +19 -0
- package/dist/cjs/Listing/NoteStatus.js.map +1 -0
- package/dist/cjs/Listing/NoteTarget.d.ts +7 -0
- package/dist/cjs/Listing/NoteTarget.d.ts.map +1 -0
- package/dist/cjs/Listing/NoteTarget.js +18 -0
- package/dist/cjs/Listing/NoteTarget.js.map +1 -0
- package/dist/cjs/Listing/SuggestedPropertyChange.d.ts +6 -0
- package/dist/cjs/Listing/SuggestedPropertyChange.d.ts.map +1 -0
- package/dist/cjs/Listing/SuggestedPropertyChange.js +50 -0
- package/dist/cjs/Listing/SuggestedPropertyChange.js.map +1 -0
- package/dist/cjs/Listing/index.d.ts +5 -0
- package/dist/cjs/Listing/index.d.ts.map +1 -0
- package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.d.ts +21 -0
- package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.d.ts.map +1 -0
- package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.js +44 -0
- package/dist/cjs/Withdrawing/WithdrawNote/WithdrawNote.js.map +1 -0
- package/dist/cjs/Withdrawing/WithdrawNote/index.d.ts +2 -0
- package/dist/cjs/Withdrawing/WithdrawNote/index.d.ts.map +1 -0
- package/dist/cjs/index.d.ts +13 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +47 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/esm/Availability/NotesAvailability.d.ts +21 -0
- package/dist/esm/Availability/NotesAvailability.d.ts.map +1 -0
- package/dist/esm/Availability/NotesAvailability.js +63 -0
- package/dist/esm/Availability/NotesAvailability.js.map +1 -0
- package/dist/esm/Availability/index.d.ts +2 -0
- package/dist/esm/Availability/index.d.ts.map +1 -0
- package/dist/esm/Availability/index.js +2 -0
- package/dist/esm/Availability/index.js.map +1 -0
- package/dist/esm/Contracts/Components/PickedComponent.d.ts +9 -0
- package/dist/esm/Contracts/Components/PickedComponent.d.ts.map +1 -0
- package/dist/esm/Contracts/Components/PickedComponent.js +63 -0
- package/dist/esm/Contracts/Components/PickedComponent.js.map +1 -0
- package/dist/esm/Contracts/Components/index.d.ts +2 -0
- package/dist/esm/Contracts/Components/index.d.ts.map +1 -0
- package/dist/esm/Contracts/Components/index.js +2 -0
- package/dist/esm/Contracts/Components/index.js.map +1 -0
- package/dist/esm/Contracts/Context/NoteContext.d.ts +14 -0
- package/dist/esm/Contracts/Context/NoteContext.d.ts.map +1 -0
- package/dist/esm/Contracts/Context/NoteContext.js +79 -0
- package/dist/esm/Contracts/Context/NoteContext.js.map +1 -0
- package/dist/esm/Contracts/Context/NoteDialog.d.ts +6 -0
- package/dist/esm/Contracts/Context/NoteDialog.d.ts.map +1 -0
- package/dist/esm/Contracts/Context/NoteDialog.js +42 -0
- package/dist/esm/Contracts/Context/NoteDialog.js.map +1 -0
- package/dist/esm/Contracts/Context/NoteScreen.d.ts +6 -0
- package/dist/esm/Contracts/Context/NoteScreen.d.ts.map +1 -0
- package/dist/esm/Contracts/Context/NoteScreen.js +48 -0
- package/dist/esm/Contracts/Context/NoteScreen.js.map +1 -0
- package/dist/esm/Contracts/Context/index.d.ts +4 -0
- package/dist/esm/Contracts/Context/index.d.ts.map +1 -0
- package/dist/esm/Contracts/Context/index.js +4 -0
- package/dist/esm/Contracts/Context/index.js.map +1 -0
- package/dist/esm/Contracts/Giving/NoteKind.d.ts +7 -0
- package/dist/esm/Contracts/Giving/NoteKind.d.ts.map +1 -0
- package/dist/esm/Contracts/Giving/NoteKind.js +16 -0
- package/dist/esm/Contracts/Giving/NoteKind.js.map +1 -0
- package/dist/esm/Contracts/Giving/index.d.ts +2 -0
- package/dist/esm/Contracts/Giving/index.d.ts.map +1 -0
- package/dist/esm/Contracts/Giving/index.js +2 -0
- package/dist/esm/Contracts/Giving/index.js.map +1 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.d.ts +6 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.d.ts.map +1 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.js +48 -0
- package/dist/esm/Contracts/Reporting/SliceLocation.js.map +1 -0
- package/dist/esm/Contracts/Reporting/index.d.ts +2 -0
- package/dist/esm/Contracts/Reporting/index.d.ts.map +1 -0
- package/dist/esm/Contracts/Reporting/index.js +2 -0
- package/dist/esm/Contracts/Reporting/index.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts +40 -0
- package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js +98 -0
- package/dist/esm/Giving/GiveNoteOnComponent/GiveNoteOnComponent.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnComponent/index.d.ts +2 -0
- package/dist/esm/Giving/GiveNoteOnComponent/index.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnComponent/index.js +2 -0
- package/dist/esm/Giving/GiveNoteOnComponent/index.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts +36 -0
- package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.js +85 -0
- package/dist/esm/Giving/GiveNoteOnContext/GiveNoteOnContext.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnContext/index.d.ts +2 -0
- package/dist/esm/Giving/GiveNoteOnContext/index.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnContext/index.js +2 -0
- package/dist/esm/Giving/GiveNoteOnContext/index.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts +36 -0
- package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js +85 -0
- package/dist/esm/Giving/GiveNoteOnScreen/GiveNoteOnScreen.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnScreen/index.d.ts +2 -0
- package/dist/esm/Giving/GiveNoteOnScreen/index.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnScreen/index.js +2 -0
- package/dist/esm/Giving/GiveNoteOnScreen/index.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts +40 -0
- package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js +97 -0
- package/dist/esm/Giving/GiveNoteOnSlices/GiveNoteOnSlices.js.map +1 -0
- package/dist/esm/Giving/GiveNoteOnSlices/index.d.ts +2 -0
- package/dist/esm/Giving/GiveNoteOnSlices/index.d.ts.map +1 -0
- package/dist/esm/Giving/GiveNoteOnSlices/index.js +2 -0
- package/dist/esm/Giving/GiveNoteOnSlices/index.js.map +1 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts +42 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.d.ts.map +1 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js +110 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js.map +1 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/index.d.ts +2 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/index.d.ts.map +1 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/index.js +2 -0
- package/dist/esm/Giving/SuggestComponentPropertyChange/index.js.map +1 -0
- package/dist/esm/Listing/MyNote.d.ts +111 -0
- package/dist/esm/Listing/MyNote.d.ts.map +1 -0
- package/dist/esm/Listing/MyNote.js +312 -0
- package/dist/esm/Listing/MyNote.js.map +1 -0
- package/dist/esm/Listing/NoteStatus.d.ts +8 -0
- package/dist/esm/Listing/NoteStatus.d.ts.map +1 -0
- package/dist/esm/Listing/NoteStatus.js +17 -0
- package/dist/esm/Listing/NoteStatus.js.map +1 -0
- package/dist/esm/Listing/NoteTarget.d.ts +7 -0
- package/dist/esm/Listing/NoteTarget.d.ts.map +1 -0
- package/dist/esm/Listing/NoteTarget.js +16 -0
- package/dist/esm/Listing/NoteTarget.js.map +1 -0
- package/dist/esm/Listing/SuggestedPropertyChange.d.ts +6 -0
- package/dist/esm/Listing/SuggestedPropertyChange.d.ts.map +1 -0
- package/dist/esm/Listing/SuggestedPropertyChange.js +48 -0
- package/dist/esm/Listing/SuggestedPropertyChange.js.map +1 -0
- package/dist/esm/Listing/index.d.ts +5 -0
- package/dist/esm/Listing/index.d.ts.map +1 -0
- package/dist/esm/Listing/index.js +5 -0
- package/dist/esm/Listing/index.js.map +1 -0
- package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.d.ts +21 -0
- package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.d.ts.map +1 -0
- package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.js +42 -0
- package/dist/esm/Withdrawing/WithdrawNote/WithdrawNote.js.map +1 -0
- package/dist/esm/Withdrawing/WithdrawNote/index.d.ts +2 -0
- package/dist/esm/Withdrawing/WithdrawNote/index.d.ts.map +1 -0
- package/dist/esm/Withdrawing/WithdrawNote/index.js +2 -0
- package/dist/esm/Withdrawing/WithdrawNote/index.js.map +1 -0
- package/dist/esm/index.d.ts +13 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +18 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/index.ts +15 -0
- package/package.json +69 -4
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Command } from '@cratis/arc/commands';
|
|
2
|
+
import { useCommand } from '@cratis/arc.react/commands';
|
|
3
|
+
import { SliceLocation, PropertyDescriptor } from '@cratis/arc/reflection';
|
|
4
|
+
import { Guid } from '@cratis/fundamentals';
|
|
5
|
+
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
// **DO NOT EDIT** - This file is an automatically generated file.
|
|
9
|
+
// @generated by Cratis. Source: Cratis.Showrunner.Notes.Withdrawing.WithdrawNote.WithdrawNote. Time: 2026-11-01T11:55:12.6707473Z. Hash: 6187372217CAB22FD8266A2E14512A47E2170C4FB9DF46D463F85BDBBF911481
|
|
10
|
+
/**
|
|
11
|
+
* The giver withdraws one of their notes; the people building the application no longer need to act on it.
|
|
12
|
+
*/ class WithdrawNote extends Command {
|
|
13
|
+
static sliceLocation = new SliceLocation('', 'Withdrawing', 'WithdrawNote');
|
|
14
|
+
route = '/api/withdrawing/withdraw-note';
|
|
15
|
+
treatWarningsAsErrors = false;
|
|
16
|
+
roles = [];
|
|
17
|
+
propertyDescriptors = [
|
|
18
|
+
new PropertyDescriptor('noteId', Guid, false)
|
|
19
|
+
];
|
|
20
|
+
#noteId;
|
|
21
|
+
constructor(){
|
|
22
|
+
super(Object, false);
|
|
23
|
+
}
|
|
24
|
+
get requestParameters() {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The note to withdraw.
|
|
29
|
+
*/ get noteId() {
|
|
30
|
+
return this.#noteId;
|
|
31
|
+
}
|
|
32
|
+
set noteId(value) {
|
|
33
|
+
this.#noteId = value;
|
|
34
|
+
this.propertyChanged('noteId');
|
|
35
|
+
}
|
|
36
|
+
static use(initialValues) {
|
|
37
|
+
return useCommand(WithdrawNote, initialValues);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { WithdrawNote };
|
|
42
|
+
//# sourceMappingURL=WithdrawNote.js.map
|
|
@@ -0,0 +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,OAAAA,CAAAA;AAC9B,IAAA,OAAgBC,aAAAA,GAAkC,IAAIC,aAAAA,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,kBAAAA,CAAmB,UAAUC,IAAAA,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,WAAwCjB,YAAAA,EAAcgB,aAAAA,CAAAA;AACjE,IAAA;AACJ;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../Withdrawing/WithdrawNote/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Withdrawing/WithdrawNote/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './Availability';
|
|
2
|
+
export * from './Contracts/Components';
|
|
3
|
+
export * from './Contracts/Context';
|
|
4
|
+
export * from './Contracts/Giving';
|
|
5
|
+
export * from './Contracts/Reporting';
|
|
6
|
+
export * from './Giving/GiveNoteOnComponent';
|
|
7
|
+
export * from './Giving/GiveNoteOnContext';
|
|
8
|
+
export * from './Giving/GiveNoteOnScreen';
|
|
9
|
+
export * from './Giving/GiveNoteOnSlices';
|
|
10
|
+
export * from './Giving/SuggestComponentPropertyChange';
|
|
11
|
+
export * from './Listing';
|
|
12
|
+
export * from './Withdrawing/WithdrawNote';
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,WAAW,CAAC;AAC1B,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { Availability, NotesAvailability } from './Availability/NotesAvailability.js';
|
|
2
|
+
export { PickedComponent } from './Contracts/Components/PickedComponent.js';
|
|
3
|
+
export { NoteContext } from './Contracts/Context/NoteContext.js';
|
|
4
|
+
export { NoteDialog } from './Contracts/Context/NoteDialog.js';
|
|
5
|
+
export { NoteScreen } from './Contracts/Context/NoteScreen.js';
|
|
6
|
+
export { NoteKind } from './Contracts/Giving/NoteKind.js';
|
|
7
|
+
export { SliceLocation } from './Contracts/Reporting/SliceLocation.js';
|
|
8
|
+
export { GiveNoteOnComponent, GiveNoteOnComponentValidator } from './Giving/GiveNoteOnComponent/GiveNoteOnComponent.js';
|
|
9
|
+
export { GiveNoteOnContext, GiveNoteOnContextValidator } from './Giving/GiveNoteOnContext/GiveNoteOnContext.js';
|
|
10
|
+
export { GiveNoteOnScreen, GiveNoteOnScreenValidator } from './Giving/GiveNoteOnScreen/GiveNoteOnScreen.js';
|
|
11
|
+
export { GiveNoteOnSlices, GiveNoteOnSlicesValidator } from './Giving/GiveNoteOnSlices/GiveNoteOnSlices.js';
|
|
12
|
+
export { SuggestComponentPropertyChange, SuggestComponentPropertyChangeValidator } from './Giving/SuggestComponentPropertyChange/SuggestComponentPropertyChange.js';
|
|
13
|
+
export { MyNote, MyNotes } from './Listing/MyNote.js';
|
|
14
|
+
export { NoteStatus } from './Listing/NoteStatus.js';
|
|
15
|
+
export { NoteTarget } from './Listing/NoteTarget.js';
|
|
16
|
+
export { SuggestedPropertyChange } from './Listing/SuggestedPropertyChange.js';
|
|
17
|
+
export { WithdrawNote } from './Withdrawing/WithdrawNote/WithdrawNote.js';
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
package/index.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
export * from './Availability';
|
|
5
|
+
export * from './Contracts/Components';
|
|
6
|
+
export * from './Contracts/Context';
|
|
7
|
+
export * from './Contracts/Giving';
|
|
8
|
+
export * from './Contracts/Reporting';
|
|
9
|
+
export * from './Giving/GiveNoteOnComponent';
|
|
10
|
+
export * from './Giving/GiveNoteOnContext';
|
|
11
|
+
export * from './Giving/GiveNoteOnScreen';
|
|
12
|
+
export * from './Giving/GiveNoteOnSlices';
|
|
13
|
+
export * from './Giving/SuggestComponentPropertyChange';
|
|
14
|
+
export * from './Listing';
|
|
15
|
+
export * from './Withdrawing/WithdrawNote';
|
package/package.json
CHANGED
|
@@ -1,6 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
"type": "module",
|
|
3
|
+
"name": "@cratis/showrunner.notes",
|
|
4
|
+
"version": "1.15.0",
|
|
5
|
+
"description": "Generated TypeScript proxies for Notes — the Showrunner product feedback part: the commands to give, suggest and withdraw notes, and the queries for a user's notes and whether Notes is on, built on Cratis Arc.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"cratis",
|
|
8
|
+
"showrunner",
|
|
9
|
+
"notes",
|
|
10
|
+
"feedback",
|
|
11
|
+
"arc",
|
|
12
|
+
"proxies",
|
|
13
|
+
"typescript"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/Cratis/Showrunner",
|
|
16
|
+
"author": "Cratis",
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/Cratis/Showrunner.git"
|
|
21
|
+
},
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"**/*.ts",
|
|
28
|
+
"**/*.tsx",
|
|
29
|
+
"!**/for_*/**",
|
|
30
|
+
"!**/given/**",
|
|
31
|
+
"!**/*.tsbuildinfo"
|
|
32
|
+
],
|
|
33
|
+
"main": "dist/cjs/index.js",
|
|
34
|
+
"module": "dist/esm/index.js",
|
|
35
|
+
"types": "dist/esm/index.d.ts",
|
|
36
|
+
"exports": {
|
|
37
|
+
"./package.json": "./package.json",
|
|
38
|
+
".": {
|
|
39
|
+
"import": {
|
|
40
|
+
"types": "./dist/esm/index.d.ts",
|
|
41
|
+
"default": "./dist/esm/index.js"
|
|
42
|
+
},
|
|
43
|
+
"require": {
|
|
44
|
+
"types": "./dist/cjs/index.d.ts",
|
|
45
|
+
"default": "./dist/cjs/index.js"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"prepare": "yarn g:build",
|
|
51
|
+
"clean": "yarn g:clean",
|
|
52
|
+
"compile": "yarn g:compile",
|
|
53
|
+
"build": "yarn g:build",
|
|
54
|
+
"lint": "yarn g:lint",
|
|
55
|
+
"lint:ci": "yarn g:lint:ci",
|
|
56
|
+
"test": "yarn g:test",
|
|
57
|
+
"test:watch": "yarn g:test:watch",
|
|
58
|
+
"ci": "yarn g:ci",
|
|
59
|
+
"up": "yarn g:up"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@cratis/arc": "22.155.0",
|
|
63
|
+
"@cratis/arc.react": "22.155.0",
|
|
64
|
+
"@cratis/fundamentals": "7.27.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@cratis/arc": "^22.155.0",
|
|
68
|
+
"@cratis/arc.react": "^22.155.0",
|
|
69
|
+
"@cratis/fundamentals": "^7.27.0"
|
|
70
|
+
}
|
|
6
71
|
}
|