@happyvertical/smrt-events 0.55.6 → 0.55.8

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.
@@ -2,7 +2,7 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-events",
5
- "packageVersion": "0.55.6",
5
+ "packageVersion": "0.55.8",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-events:EventAssetCollection": {
8
8
  "name": "eventassetcollection",
@@ -1643,13 +1643,19 @@
1643
1643
  "name": {
1644
1644
  "type": "text",
1645
1645
  "required": false,
1646
- "default": ""
1646
+ "default": "",
1647
+ "description": "What the event is called.",
1648
+ "_meta": {
1649
+ "description": "What the event is called."
1650
+ }
1647
1651
  },
1648
1652
  "seriesId": {
1649
1653
  "type": "foreignKey",
1650
1654
  "required": false,
1651
1655
  "related": "EventSeries",
1656
+ "description": "The series this event is part of, if any.",
1652
1657
  "_meta": {
1658
+ "description": "The series this event is part of, if any.",
1653
1659
  "constraint": {
1654
1660
  "engines": [
1655
1661
  "postgres",
@@ -1662,7 +1668,9 @@
1662
1668
  "type": "foreignKey",
1663
1669
  "required": false,
1664
1670
  "related": "EventType",
1671
+ "description": "The kind of event.",
1665
1672
  "_meta": {
1673
+ "description": "The kind of event.",
1666
1674
  "constraint": {
1667
1675
  "engines": [
1668
1676
  "postgres",
@@ -1674,24 +1682,44 @@
1674
1682
  "placeId": {
1675
1683
  "type": "crossPackageRef",
1676
1684
  "required": false,
1677
- "related": "@happyvertical/smrt-places:Place"
1685
+ "related": "@happyvertical/smrt-places:Place",
1686
+ "description": "Where it takes place.",
1687
+ "_meta": {
1688
+ "description": "Where it takes place."
1689
+ }
1678
1690
  },
1679
1691
  "description": {
1680
1692
  "type": "text",
1681
- "required": false
1693
+ "required": false,
1694
+ "description": "What the event is about.",
1695
+ "_meta": {
1696
+ "description": "What the event is about."
1697
+ }
1682
1698
  },
1683
1699
  "startDate": {
1684
1700
  "type": "datetime",
1685
- "required": false
1701
+ "required": false,
1702
+ "description": "When it starts.",
1703
+ "_meta": {
1704
+ "description": "When it starts."
1705
+ }
1686
1706
  },
1687
1707
  "endDate": {
1688
1708
  "type": "datetime",
1689
- "required": false
1709
+ "required": false,
1710
+ "description": "When it ends.",
1711
+ "_meta": {
1712
+ "description": "When it ends."
1713
+ }
1690
1714
  },
1691
1715
  "allDay": {
1692
1716
  "type": "boolean",
1693
1717
  "required": false,
1694
- "default": false
1718
+ "default": false,
1719
+ "description": "Whether the event lasts all day.",
1720
+ "_meta": {
1721
+ "description": "Whether the event lasts all day."
1722
+ }
1695
1723
  },
1696
1724
  "timeZone": {
1697
1725
  "type": "text",
@@ -1701,6 +1729,10 @@
1701
1729
  "type": "text",
1702
1730
  "required": false,
1703
1731
  "default": "scheduled",
1732
+ "description": "scheduled, in progress, completed, cancelled or postponed.",
1733
+ "_meta": {
1734
+ "description": "scheduled, in progress, completed, cancelled or postponed."
1735
+ },
1704
1736
  "enum": [
1705
1737
  "scheduled",
1706
1738
  "in_progress",
@@ -2416,17 +2448,29 @@
2416
2448
  "eventId": {
2417
2449
  "type": "foreignKey",
2418
2450
  "required": false,
2419
- "related": "Event"
2451
+ "related": "Event",
2452
+ "description": "The event the person takes part in.",
2453
+ "_meta": {
2454
+ "description": "The event the person takes part in."
2455
+ }
2420
2456
  },
2421
2457
  "profileId": {
2422
2458
  "type": "crossPackageRef",
2423
2459
  "required": false,
2424
- "related": "@happyvertical/smrt-profiles:Profile"
2460
+ "related": "@happyvertical/smrt-profiles:Profile",
2461
+ "description": "The person taking part.",
2462
+ "_meta": {
2463
+ "description": "The person taking part."
2464
+ }
2425
2465
  },
2426
2466
  "role": {
2427
2467
  "type": "text",
2428
2468
  "required": false,
2429
- "default": ""
2469
+ "default": "",
2470
+ "description": "What they do there, for example speaker or attendee.",
2471
+ "_meta": {
2472
+ "description": "What they do there, for example speaker or attendee."
2473
+ }
2430
2474
  },
2431
2475
  "placement": {
2432
2476
  "type": "integer",
@@ -2726,33 +2770,61 @@
2726
2770
  "name": {
2727
2771
  "type": "text",
2728
2772
  "required": false,
2729
- "default": ""
2773
+ "default": "",
2774
+ "description": "What the series is called.",
2775
+ "_meta": {
2776
+ "description": "What the series is called."
2777
+ }
2730
2778
  },
2731
2779
  "typeId": {
2732
2780
  "type": "foreignKey",
2733
2781
  "required": false,
2734
- "related": "EventType"
2782
+ "related": "EventType",
2783
+ "description": "The kind of event in this series.",
2784
+ "_meta": {
2785
+ "description": "The kind of event in this series."
2786
+ }
2735
2787
  },
2736
2788
  "organizerId": {
2737
2789
  "type": "crossPackageRef",
2738
2790
  "required": false,
2739
- "related": "@happyvertical/smrt-profiles:Profile"
2791
+ "related": "@happyvertical/smrt-profiles:Profile",
2792
+ "description": "Who runs the series.",
2793
+ "_meta": {
2794
+ "description": "Who runs the series."
2795
+ }
2740
2796
  },
2741
2797
  "description": {
2742
2798
  "type": "text",
2743
- "required": false
2799
+ "required": false,
2800
+ "description": "What the series is about.",
2801
+ "_meta": {
2802
+ "description": "What the series is about."
2803
+ }
2744
2804
  },
2745
2805
  "startDate": {
2746
2806
  "type": "datetime",
2747
- "required": false
2807
+ "required": false,
2808
+ "description": "When the series begins.",
2809
+ "_meta": {
2810
+ "description": "When the series begins."
2811
+ }
2748
2812
  },
2749
2813
  "endDate": {
2750
2814
  "type": "datetime",
2751
- "required": false
2815
+ "required": false,
2816
+ "description": "When the series ends.",
2817
+ "_meta": {
2818
+ "description": "When the series ends."
2819
+ }
2752
2820
  },
2753
2821
  "recurrence": {
2754
2822
  "type": "text",
2755
- "required": false
2823
+ "required": false,
2824
+ "description": "How often it repeats.",
2825
+ "_meta": {
2826
+ "description": "How often it repeats."
2827
+ }
2756
2828
  },
2757
2829
  "metadata": {
2758
2830
  "type": "text",
@@ -3104,14 +3176,20 @@
3104
3176
  "type": "text",
3105
3177
  "required": true,
3106
3178
  "default": "",
3179
+ "description": "What this kind of event is called, for example workshop.",
3107
3180
  "_meta": {
3108
- "required": true
3181
+ "required": true,
3182
+ "description": "What this kind of event is called, for example workshop."
3109
3183
  }
3110
3184
  },
3111
3185
  "description": {
3112
3186
  "type": "text",
3113
3187
  "required": false,
3114
- "default": ""
3188
+ "default": "",
3189
+ "description": "What this kind of event is for.",
3190
+ "_meta": {
3191
+ "description": "What this kind of event is for."
3192
+ }
3115
3193
  },
3116
3194
  "schema": {
3117
3195
  "type": "text",
@@ -3329,6 +3407,147 @@
3329
3407
  }
3330
3408
  },
3331
3409
  "moduleType": "smrt",
3410
+ "recipes": [
3411
+ {
3412
+ "id": "events.calendar",
3413
+ "className": "CalendarRecipe",
3414
+ "label": "Events",
3415
+ "summary": "Schedule events, group them in series and track who takes part.",
3416
+ "synonyms": [
3417
+ "calendar",
3418
+ "schedule",
3419
+ "meetings",
3420
+ "bookings",
3421
+ "attendees"
3422
+ ],
3423
+ "models": [
3424
+ "@happyvertical/smrt-events:Event",
3425
+ "@happyvertical/smrt-events:EventType",
3426
+ "@happyvertical/smrt-events:EventSeries",
3427
+ "@happyvertical/smrt-events:EventParticipant"
3428
+ ],
3429
+ "nav": [
3430
+ {
3431
+ "label": "Events",
3432
+ "model": "@happyvertical/smrt-events:Event",
3433
+ "icon": "calendar",
3434
+ "description": "Everything on your calendar, with who and when."
3435
+ },
3436
+ {
3437
+ "label": "Event types",
3438
+ "model": "@happyvertical/smrt-events:EventType",
3439
+ "icon": "tag",
3440
+ "description": "The kinds of events you run, such as workshops or classes."
3441
+ },
3442
+ {
3443
+ "label": "Event series",
3444
+ "model": "@happyvertical/smrt-events:EventSeries",
3445
+ "icon": "repeat",
3446
+ "description": "Repeating schedules, like a class every Tuesday evening."
3447
+ }
3448
+ ],
3449
+ "requires": [],
3450
+ "section": {
3451
+ "id": "calendar",
3452
+ "label": "Calendar",
3453
+ "icon": "calendar",
3454
+ "description": "Events and what is scheduled when."
3455
+ },
3456
+ "options": {
3457
+ "@happyvertical/smrt-events:Event": {
3458
+ "fields": {
3459
+ "parentId": {
3460
+ "visibility": "hidden"
3461
+ },
3462
+ "round": {
3463
+ "visibility": "hidden"
3464
+ },
3465
+ "metadata": {
3466
+ "visibility": "hidden"
3467
+ },
3468
+ "externalId": {
3469
+ "visibility": "hidden"
3470
+ },
3471
+ "source": {
3472
+ "visibility": "hidden"
3473
+ },
3474
+ "timeZone": {
3475
+ "visibility": "hidden"
3476
+ }
3477
+ }
3478
+ },
3479
+ "@happyvertical/smrt-events:EventType": {
3480
+ "fields": {
3481
+ "schema": {
3482
+ "visibility": "hidden"
3483
+ },
3484
+ "participantSchema": {
3485
+ "visibility": "hidden"
3486
+ }
3487
+ }
3488
+ },
3489
+ "@happyvertical/smrt-events:EventSeries": {
3490
+ "fields": {
3491
+ "metadata": {
3492
+ "visibility": "hidden"
3493
+ },
3494
+ "externalId": {
3495
+ "visibility": "hidden"
3496
+ },
3497
+ "source": {
3498
+ "visibility": "hidden"
3499
+ }
3500
+ }
3501
+ },
3502
+ "@happyvertical/smrt-events:EventParticipant": {
3503
+ "fields": {
3504
+ "groupId": {
3505
+ "visibility": "hidden"
3506
+ },
3507
+ "placement": {
3508
+ "visibility": "hidden"
3509
+ },
3510
+ "metadata": {
3511
+ "visibility": "hidden"
3512
+ },
3513
+ "externalId": {
3514
+ "visibility": "hidden"
3515
+ },
3516
+ "source": {
3517
+ "visibility": "hidden"
3518
+ }
3519
+ }
3520
+ }
3521
+ },
3522
+ "help": {
3523
+ "markdown": "## Overview\n\nEvents is your calendar. Each event has a time and a type, can belong to a\nseries, and lists who takes part.\n\n## Tasks\n\n### Schedule an event\n\n1. Create a new event.\n2. Enter the **{field:name}**, the **{field:startDate}** and the\n **{field:endDate}**.\n3. Pick the **{field:typeId}**, and the **{field:seriesId}** if it repeats.\n4. Add the people taking part with their **{field:role}**.\n\n### Keep it current\n\n1. Update **{field:status}** as the event goes ahead, finishes or is postponed.\n",
3524
+ "fieldRefs": [
3525
+ "endDate",
3526
+ "name",
3527
+ "role",
3528
+ "seriesId",
3529
+ "startDate",
3530
+ "status",
3531
+ "typeId"
3532
+ ]
3533
+ },
3534
+ "surfaces": [
3535
+ {
3536
+ "kind": "route",
3537
+ "path": "/events/meeting",
3538
+ "export": "@happyvertical/smrt-events/svelte#MeetingView",
3539
+ "label": "Meeting view"
3540
+ }
3541
+ ],
3542
+ "runtime": "both",
3543
+ "demo": {
3544
+ "mode": "server",
3545
+ "reasons": [
3546
+ "Needs a server because its package does not build for a browser: node:crypto; and its package depends on @happyvertical/smrt-places, @happyvertical/smrt-profiles, @happyvertical/smrt-tenancy, which do not build for a browser (#3617, #3624, #3626, #3627)."
3547
+ ]
3548
+ }
3549
+ }
3550
+ ],
3332
3551
  "smrtDependencies": [
3333
3552
  "@happyvertical/smrt-assets",
3334
3553
  "@happyvertical/smrt-core",
@@ -3336,5 +3555,20 @@
3336
3555
  "@happyvertical/smrt-profiles",
3337
3556
  "@happyvertical/smrt-tenancy"
3338
3557
  ],
3558
+ "browser": {
3559
+ "status": "server-only",
3560
+ "issues": [
3561
+ "#3617",
3562
+ "#3624",
3563
+ "#3626",
3564
+ "#3627"
3565
+ ],
3566
+ "reason": "node:crypto",
3567
+ "via": [
3568
+ "@happyvertical/smrt-places",
3569
+ "@happyvertical/smrt-profiles",
3570
+ "@happyvertical/smrt-tenancy"
3571
+ ]
3572
+ },
3339
3573
  "stampsConstructors": true
3340
3574
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../src/models/Event.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAMxD,OAAO,EAGL,gBAAgB,EAEjB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,aAAU,CAAC;AAE1D,qBAOa,KAAM,SAAQ,gBAAgB;IAEzC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE/B,IAAI,EAAE,MAAM,CAAM;IAIl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oB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAIzD;;;;;OAKG;WACU,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;CAIjE"}
1
+ {"version":3,"file":"EventType.d.ts","sourceRoot":"","sources":["../../src/models/EventType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAS,UAAU,EAAQ,MAAM,0BAA0B,CAAC;AAEnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAU,CAAC;AAEjD,qBAOa,SAAU,SAAQ,UAAU;IAEvC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAM/B,IAAI,EAAE,MAAM,CAAM;IAGlB,WAAW,EAAE,MAAM,CAAM;IACzB,MAAM,EAAE,MAAM,CAAM;IACpB,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,IAAI,CAAc;IAC7B,SAAS,EAAE,IAAI,CAAc;gBAEjB,OAAO,GAAE,gBAAqB;IA4B1C;;;;OAIG;IACH,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IASpC;;;;OAIG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAI9C;;;;OAIG;IACH,oBAAoB,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAS/C;;;;OAIG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAIzD;;;;;OAKG;WACU,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;CAIjE"}
@@ -0,0 +1,118 @@
1
+ /**
2
+ * Declared recipes for smrt-events (#3590, #3604): user-facing units of
3
+ * functionality an app or agent can pick instead of the whole package.
4
+ * The scanner reads these statics into the `recipes` array of `manifest.json`
5
+ * and `smrt-knowledge.json`; nothing here runs at that point.
6
+ *
7
+ * @packageDocumentation
8
+ */
9
+ import { SmrtRecipe } from '@happyvertical/smrt-core';
10
+ import { Event } from './models/Event.js';
11
+ import { EventParticipant } from './models/EventParticipant.js';
12
+ import { EventSeries } from './models/EventSeries.js';
13
+ import { EventType } from './models/EventType.js';
14
+ /** Events: Schedule events, group them in series and track who takes part. */
15
+ export declare class CalendarRecipe extends SmrtRecipe {
16
+ static id: string;
17
+ static help: string;
18
+ static label: string;
19
+ static summary: string;
20
+ static synonyms: string[];
21
+ static section: {
22
+ id: string;
23
+ label: string;
24
+ icon: string;
25
+ description: string;
26
+ };
27
+ static models: (typeof EventType | typeof EventSeries | typeof EventParticipant | typeof Event)[];
28
+ static runtime: "both";
29
+ static surfaces: readonly [{
30
+ readonly kind: "route";
31
+ readonly path: "/events/meeting";
32
+ readonly export: "@happyvertical/smrt-events/svelte#MeetingView";
33
+ readonly label: "Meeting view";
34
+ }];
35
+ static nav: ({
36
+ label: string;
37
+ model: typeof Event;
38
+ icon: string;
39
+ description: string;
40
+ } | {
41
+ label: string;
42
+ model: typeof EventType;
43
+ icon: string;
44
+ description: string;
45
+ } | {
46
+ label: string;
47
+ model: typeof EventSeries;
48
+ icon: string;
49
+ description: string;
50
+ })[];
51
+ static options: {
52
+ readonly Event: {
53
+ readonly fields: {
54
+ readonly parentId: {
55
+ readonly visibility: "hidden";
56
+ };
57
+ readonly round: {
58
+ readonly visibility: "hidden";
59
+ };
60
+ readonly metadata: {
61
+ readonly visibility: "hidden";
62
+ };
63
+ readonly externalId: {
64
+ readonly visibility: "hidden";
65
+ };
66
+ readonly source: {
67
+ readonly visibility: "hidden";
68
+ };
69
+ readonly timeZone: {
70
+ readonly visibility: "hidden";
71
+ };
72
+ };
73
+ };
74
+ readonly EventType: {
75
+ readonly fields: {
76
+ readonly schema: {
77
+ readonly visibility: "hidden";
78
+ };
79
+ readonly participantSchema: {
80
+ readonly visibility: "hidden";
81
+ };
82
+ };
83
+ };
84
+ readonly EventSeries: {
85
+ readonly fields: {
86
+ readonly metadata: {
87
+ readonly visibility: "hidden";
88
+ };
89
+ readonly externalId: {
90
+ readonly visibility: "hidden";
91
+ };
92
+ readonly source: {
93
+ readonly visibility: "hidden";
94
+ };
95
+ };
96
+ };
97
+ readonly EventParticipant: {
98
+ readonly fields: {
99
+ readonly groupId: {
100
+ readonly visibility: "hidden";
101
+ };
102
+ readonly placement: {
103
+ readonly visibility: "hidden";
104
+ };
105
+ readonly metadata: {
106
+ readonly visibility: "hidden";
107
+ };
108
+ readonly externalId: {
109
+ readonly visibility: "hidden";
110
+ };
111
+ readonly source: {
112
+ readonly visibility: "hidden";
113
+ };
114
+ };
115
+ };
116
+ };
117
+ }
118
+ //# sourceMappingURL=recipes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../src/recipes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,8EAA8E;AAC9E,qBAAa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,EAAE,SAAqB;IAC9B,MAAM,CAAC,IAAI,SAA0B;IACrC,MAAM,CAAC,KAAK,SAAY;IACxB,MAAM,CAAC,OAAO,SACsD;IACpE,MAAM,CAAC,QAAQ,WAMb;IACF,MAAM,CAAC,OAAO;;;;;MAKZ;IACF,MAAM,CAAC,MAAM,qFAAqD;IAClE,MAAM,CAAC,OAAO,EAAG,MAAM,CAAU;IACjC,MAAM,CAAC,QAAQ;;;;;OAOJ;IACX,MAAM,CAAC,GAAG;;;;;;;;;;;;;;;SAmBR;IACF,MAAM,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAiCH;CACZ"}