octwin-cli 0.8.15 → 0.8.17

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.
@@ -0,0 +1,32 @@
1
+ # Your data — records the platform stores, lists and shows operators in the console. A pack has no
2
+ # database of its own; everything lives here. Guide: `craft-records`.
3
+ entities:
4
+ area:
5
+ title_field: name
6
+ fields:
7
+ name: { type: text, required: true, unique: true } # unique = identity: a repeat save updates
8
+ request:
9
+ title_field: phone
10
+ fields:
11
+ area: { type: record, entity: area, required: true }
12
+ issue: { type: text, required: true }
13
+ phone: { type: text, required: true }
14
+ floor: { type: number }
15
+ notes: { type: textarea }
16
+ pipeline:
17
+ stages: [new, scheduled, done, cancelled]
18
+ terminal: [done, cancelled]
19
+ # The journey's goal, reached by the RECORD — so a request an operator creates counts too, not
20
+ # only chat ones. Guide: `craft-measure`.
21
+ on:
22
+ create:
23
+ - track: { journey: request, goal_reached: requested }
24
+
25
+ # Rows every new project starts with (`octwin deploy --seed`) — a customer may see them.
26
+ demo:
27
+ - entity: area
28
+ fields: { name: 'Nasr City' }
29
+ - entity: area
30
+ fields: { name: 'Maadi' }
31
+ - entity: area
32
+ fields: { name: 'Heliopolis' }
@@ -1,31 +0,0 @@
1
- # EXAMPLE — replace it or delete it; do not leave it behind.
2
- # An example capability the home hub invokes. Replace this with your real tool
3
- # (record_list + a carousel, a collect: intake, a case_open, …). Kept trivial here
4
- # so the scaffold is chattable end-to-end: home menu → tap "browse" → this renders.
5
- #
6
- # If you do not keep it, delete THREE things together: this file, every
7
- # `browse.locale.<lang>.yaml` beside it, and the `browse` line in manifest.yaml
8
- # `flows:` (plus the home menu row that invokes it). A file left here with its
9
- # manifest line removed never loads — but its copy is still checked, so a pack that
10
- # adds a second language fails validation over a flow nobody uses.
11
- flow_id: browse
12
- version: 1
13
- description: An example capability, reached from the home menu. Replace with your real tool.
14
-
15
- input:
16
- message:
17
- type: string
18
- optional: true
19
- describe: 'Optional note from the user.'
20
-
21
- entry:
22
- - else: true
23
- goto: show
24
-
25
- steps:
26
- show:
27
- - render:
28
- render_intent: text_card
29
- body: '{$t("browse.body")}'
30
- memory_note: '{$t("browse.memory_note")}'
31
- - end: applied
@@ -1,6 +0,0 @@
1
- # EXAMPLE copy for the example `browse` flow — delete it together with browse.flow.yaml.
2
- flow_id: browse
3
-
4
- strings:
5
- body: 'هنا يظهر المحتوى ✨ عدّل أداة "browse" لتبني ميزتك الحقيقية.'
6
- memory_note: 'Showed the browse example.'