@happyvertical/smrt-events 0.61.3 → 0.61.5

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,14 +2,14 @@
2
2
  "version": "1.0.0",
3
3
  "timestamp": 0,
4
4
  "packageName": "@happyvertical/smrt-events",
5
- "packageVersion": "0.61.3",
5
+ "packageVersion": "0.61.5",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-events:EventAssetCollection": {
8
8
  "name": "eventassetcollection",
9
9
  "className": "EventAssetCollection",
10
10
  "qualifiedName": "@happyvertical/smrt-events:EventAssetCollection",
11
11
  "collection": "eventassets",
12
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/collections/EventAssetCollection.ts",
12
+ "filePath": "src/collections/EventAssetCollection.ts",
13
13
  "packageName": "@happyvertical/smrt-events",
14
14
  "fields": {},
15
15
  "methods": {
@@ -321,7 +321,7 @@
321
321
  "className": "EventCollection",
322
322
  "qualifiedName": "@happyvertical/smrt-events:EventCollection",
323
323
  "collection": "events",
324
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/collections/EventCollection.ts",
324
+ "filePath": "src/collections/EventCollection.ts",
325
325
  "packageName": "@happyvertical/smrt-events",
326
326
  "fields": {},
327
327
  "methods": {
@@ -820,7 +820,7 @@
820
820
  "className": "EventParticipantCollection",
821
821
  "qualifiedName": "@happyvertical/smrt-events:EventParticipantCollection",
822
822
  "collection": "eventparticipants",
823
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/collections/EventParticipantCollection.ts",
823
+ "filePath": "src/collections/EventParticipantCollection.ts",
824
824
  "packageName": "@happyvertical/smrt-events",
825
825
  "fields": {},
826
826
  "methods": {
@@ -1227,7 +1227,7 @@
1227
1227
  "className": "EventSeriesCollection",
1228
1228
  "qualifiedName": "@happyvertical/smrt-events:EventSeriesCollection",
1229
1229
  "collection": "eventserieses",
1230
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/collections/EventSeriesCollection.ts",
1230
+ "filePath": "src/collections/EventSeriesCollection.ts",
1231
1231
  "packageName": "@happyvertical/smrt-events",
1232
1232
  "fields": {},
1233
1233
  "methods": {
@@ -1510,7 +1510,7 @@
1510
1510
  "className": "EventTypeCollection",
1511
1511
  "qualifiedName": "@happyvertical/smrt-events:EventTypeCollection",
1512
1512
  "collection": "eventtypes",
1513
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/collections/EventTypeCollection.ts",
1513
+ "filePath": "src/collections/EventTypeCollection.ts",
1514
1514
  "packageName": "@happyvertical/smrt-events",
1515
1515
  "fields": {},
1516
1516
  "methods": {
@@ -1723,37 +1723,47 @@
1723
1723
  "className": "Event",
1724
1724
  "qualifiedName": "@happyvertical/smrt-events:Event",
1725
1725
  "collection": "events",
1726
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/models/Event.ts",
1726
+ "filePath": "src/models/Event.ts",
1727
1727
  "packageName": "@happyvertical/smrt-events",
1728
1728
  "fields": {
1729
1729
  "created_at": {
1730
1730
  "type": "datetime",
1731
+ "_meta": {
1732
+ "__statedOptions": []
1733
+ },
1731
1734
  "required": false
1732
1735
  },
1733
1736
  "updated_at": {
1734
1737
  "type": "datetime",
1738
+ "_meta": {
1739
+ "__statedOptions": []
1740
+ },
1735
1741
  "required": false
1736
1742
  },
1737
1743
  "parentId": {
1738
1744
  "type": "foreignKey",
1739
- "required": false,
1740
- "related": "Event",
1741
1745
  "_meta": {
1746
+ "__statedOptions": [
1747
+ "nullable",
1748
+ "constraint",
1749
+ "related",
1750
+ "required"
1751
+ ],
1742
1752
  "nullable": true,
1743
1753
  "constraint": {
1744
1754
  "engines": [
1745
1755
  "postgres",
1746
1756
  "sqlite"
1747
1757
  ]
1748
- }
1749
- }
1758
+ },
1759
+ "required": false
1760
+ },
1761
+ "required": false,
1762
+ "related": "Event"
1750
1763
  },
1751
1764
  "tenantId": {
1752
1765
  "type": "text",
1753
- "required": false,
1754
1766
  "_meta": {
1755
- "sqlType": "UUID",
1756
- "nullable": true,
1757
1767
  "__tenancy": {
1758
1768
  "isTenantIdField": true,
1759
1769
  "autoFilter": true,
@@ -1763,24 +1773,40 @@
1763
1773
  "mode": "optional",
1764
1774
  "field": "tenantId",
1765
1775
  "allowSuperAdminBypass": false
1766
- }
1767
- }
1776
+ },
1777
+ "__statedOptions": [
1778
+ "sqlType",
1779
+ "nullable",
1780
+ "__tenancy",
1781
+ "required"
1782
+ ],
1783
+ "sqlType": "UUID",
1784
+ "nullable": true,
1785
+ "required": false
1786
+ },
1787
+ "required": false
1768
1788
  },
1769
1789
  "name": {
1770
1790
  "type": "text",
1771
- "required": false,
1772
- "default": "",
1773
- "description": "What the event is called.",
1774
1791
  "_meta": {
1792
+ "__statedOptions": [
1793
+ "description",
1794
+ "default"
1795
+ ],
1775
1796
  "description": "What the event is called."
1776
- }
1797
+ },
1798
+ "required": false,
1799
+ "default": "",
1800
+ "description": "What the event is called."
1777
1801
  },
1778
1802
  "seriesId": {
1779
1803
  "type": "foreignKey",
1780
- "required": false,
1781
- "related": "EventSeries",
1782
- "description": "The series this event is part of, if any.",
1783
1804
  "_meta": {
1805
+ "__statedOptions": [
1806
+ "description",
1807
+ "constraint",
1808
+ "related"
1809
+ ],
1784
1810
  "description": "The series this event is part of, if any.",
1785
1811
  "constraint": {
1786
1812
  "engines": [
@@ -1788,14 +1814,19 @@
1788
1814
  "sqlite"
1789
1815
  ]
1790
1816
  }
1791
- }
1817
+ },
1818
+ "required": false,
1819
+ "related": "EventSeries",
1820
+ "description": "The series this event is part of, if any."
1792
1821
  },
1793
1822
  "typeId": {
1794
1823
  "type": "foreignKey",
1795
- "required": false,
1796
- "related": "EventType",
1797
- "description": "The kind of event.",
1798
1824
  "_meta": {
1825
+ "__statedOptions": [
1826
+ "description",
1827
+ "constraint",
1828
+ "related"
1829
+ ],
1799
1830
  "description": "The kind of event.",
1800
1831
  "constraint": {
1801
1832
  "engines": [
@@ -1803,62 +1834,90 @@
1803
1834
  "sqlite"
1804
1835
  ]
1805
1836
  }
1806
- }
1837
+ },
1838
+ "required": false,
1839
+ "related": "EventType",
1840
+ "description": "The kind of event."
1807
1841
  },
1808
1842
  "placeId": {
1809
1843
  "type": "crossPackageRef",
1810
- "required": false,
1811
- "related": "@happyvertical/smrt-places:Place",
1812
- "description": "Where it takes place.",
1813
1844
  "_meta": {
1845
+ "__statedOptions": [
1846
+ "description",
1847
+ "related"
1848
+ ],
1814
1849
  "description": "Where it takes place."
1815
- }
1850
+ },
1851
+ "required": false,
1852
+ "related": "@happyvertical/smrt-places:Place",
1853
+ "description": "Where it takes place."
1816
1854
  },
1817
1855
  "description": {
1818
1856
  "type": "text",
1819
- "required": false,
1820
- "description": "What the event is about.",
1821
1857
  "_meta": {
1858
+ "__statedOptions": [
1859
+ "description"
1860
+ ],
1822
1861
  "description": "What the event is about."
1823
- }
1862
+ },
1863
+ "required": false,
1864
+ "description": "What the event is about."
1824
1865
  },
1825
1866
  "startDate": {
1826
1867
  "type": "datetime",
1827
- "required": false,
1828
- "description": "When it starts.",
1829
1868
  "_meta": {
1869
+ "__statedOptions": [
1870
+ "description"
1871
+ ],
1830
1872
  "description": "When it starts."
1831
- }
1873
+ },
1874
+ "required": false,
1875
+ "description": "When it starts."
1832
1876
  },
1833
1877
  "endDate": {
1834
1878
  "type": "datetime",
1835
- "required": false,
1836
- "description": "When it ends.",
1837
1879
  "_meta": {
1880
+ "__statedOptions": [
1881
+ "description"
1882
+ ],
1838
1883
  "description": "When it ends."
1839
- }
1884
+ },
1885
+ "required": false,
1886
+ "description": "When it ends."
1840
1887
  },
1841
1888
  "allDay": {
1842
1889
  "type": "boolean",
1843
- "required": false,
1844
- "default": false,
1845
- "description": "Whether the event lasts all day.",
1846
1890
  "_meta": {
1891
+ "__statedOptions": [
1892
+ "description",
1893
+ "default"
1894
+ ],
1847
1895
  "description": "Whether the event lasts all day."
1848
- }
1896
+ },
1897
+ "required": false,
1898
+ "default": false,
1899
+ "description": "Whether the event lasts all day."
1849
1900
  },
1850
1901
  "timeZone": {
1851
1902
  "type": "text",
1903
+ "_meta": {
1904
+ "__statedOptions": []
1905
+ },
1852
1906
  "required": false
1853
1907
  },
1854
1908
  "status": {
1855
1909
  "type": "text",
1856
- "required": false,
1857
- "default": "scheduled",
1858
- "description": "scheduled, in progress, completed, cancelled or postponed.",
1859
1910
  "_meta": {
1911
+ "__statedOptions": [
1912
+ "description",
1913
+ "default",
1914
+ "enum"
1915
+ ],
1860
1916
  "description": "scheduled, in progress, completed, cancelled or postponed."
1861
1917
  },
1918
+ "required": false,
1919
+ "default": "scheduled",
1920
+ "description": "scheduled, in progress, completed, cancelled or postponed.",
1862
1921
  "enum": [
1863
1922
  "scheduled",
1864
1923
  "in_progress",
@@ -1869,26 +1928,44 @@
1869
1928
  },
1870
1929
  "round": {
1871
1930
  "type": "integer",
1931
+ "_meta": {
1932
+ "__statedOptions": []
1933
+ },
1872
1934
  "required": false
1873
1935
  },
1874
1936
  "metadata": {
1875
1937
  "type": "text",
1938
+ "_meta": {
1939
+ "__statedOptions": []
1940
+ },
1876
1941
  "required": false
1877
1942
  },
1878
1943
  "externalId": {
1879
1944
  "type": "text",
1945
+ "_meta": {
1946
+ "__statedOptions": []
1947
+ },
1880
1948
  "required": false
1881
1949
  },
1882
1950
  "source": {
1883
1951
  "type": "text",
1952
+ "_meta": {
1953
+ "__statedOptions": []
1954
+ },
1884
1955
  "required": false
1885
1956
  },
1886
1957
  "createdAt": {
1887
1958
  "type": "text",
1959
+ "_meta": {
1960
+ "__statedOptions": []
1961
+ },
1888
1962
  "required": false
1889
1963
  },
1890
1964
  "updatedAt": {
1891
1965
  "type": "text",
1966
+ "_meta": {
1967
+ "__statedOptions": []
1968
+ },
1892
1969
  "required": false
1893
1970
  }
1894
1971
  },
@@ -2364,15 +2441,12 @@
2364
2441
  "className": "EventAsset",
2365
2442
  "qualifiedName": "@happyvertical/smrt-events:EventAsset",
2366
2443
  "collection": "eventassets",
2367
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/models/EventAsset.ts",
2444
+ "filePath": "src/models/EventAsset.ts",
2368
2445
  "packageName": "@happyvertical/smrt-events",
2369
2446
  "fields": {
2370
2447
  "tenantId": {
2371
2448
  "type": "text",
2372
- "required": false,
2373
2449
  "_meta": {
2374
- "sqlType": "UUID",
2375
- "nullable": true,
2376
2450
  "__tenancy": {
2377
2451
  "isTenantIdField": true,
2378
2452
  "autoFilter": true,
@@ -2382,31 +2456,64 @@
2382
2456
  "mode": "optional",
2383
2457
  "field": "tenantId",
2384
2458
  "allowSuperAdminBypass": false
2385
- }
2386
- }
2459
+ },
2460
+ "__statedOptions": [
2461
+ "sqlType",
2462
+ "nullable",
2463
+ "__tenancy",
2464
+ "required"
2465
+ ],
2466
+ "sqlType": "UUID",
2467
+ "nullable": true,
2468
+ "required": false
2469
+ },
2470
+ "required": false
2387
2471
  },
2388
2472
  "eventId": {
2389
2473
  "type": "foreignKey",
2390
- "required": true,
2391
- "related": "Event",
2392
2474
  "_meta": {
2393
- "required": true
2394
- }
2475
+ "__statedOptions": [
2476
+ "required",
2477
+ "requiredFor",
2478
+ "related"
2479
+ ],
2480
+ "required": true,
2481
+ "requiredFor": "identity"
2482
+ },
2483
+ "required": true,
2484
+ "related": "Event"
2395
2485
  },
2396
2486
  "assetId": {
2397
2487
  "type": "crossPackageRef",
2488
+ "_meta": {
2489
+ "__statedOptions": [
2490
+ "required",
2491
+ "requiredFor",
2492
+ "related"
2493
+ ],
2494
+ "required": true,
2495
+ "requiredFor": "identity"
2496
+ },
2398
2497
  "required": true,
2399
2498
  "related": "@happyvertical/smrt-assets:Asset"
2400
2499
  },
2401
2500
  "relationship": {
2402
2501
  "type": "text",
2403
- "required": true,
2404
2502
  "_meta": {
2503
+ "__statedOptions": [
2504
+ "required"
2505
+ ],
2405
2506
  "required": true
2406
- }
2507
+ },
2508
+ "required": true
2407
2509
  },
2408
2510
  "sortOrder": {
2409
2511
  "type": "integer",
2512
+ "_meta": {
2513
+ "__statedOptions": [
2514
+ "default"
2515
+ ]
2516
+ },
2410
2517
  "required": true,
2411
2518
  "default": 0
2412
2519
  }
@@ -2562,15 +2669,12 @@
2562
2669
  "className": "EventParticipant",
2563
2670
  "qualifiedName": "@happyvertical/smrt-events:EventParticipant",
2564
2671
  "collection": "eventparticipants",
2565
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/models/EventParticipant.ts",
2672
+ "filePath": "src/models/EventParticipant.ts",
2566
2673
  "packageName": "@happyvertical/smrt-events",
2567
2674
  "fields": {
2568
2675
  "tenantId": {
2569
2676
  "type": "text",
2570
- "required": false,
2571
2677
  "_meta": {
2572
- "sqlType": "UUID",
2573
- "nullable": true,
2574
2678
  "__tenancy": {
2575
2679
  "isTenantIdField": true,
2576
2680
  "autoFilter": true,
@@ -2580,62 +2684,105 @@
2580
2684
  "mode": "optional",
2581
2685
  "field": "tenantId",
2582
2686
  "allowSuperAdminBypass": false
2583
- }
2584
- }
2687
+ },
2688
+ "__statedOptions": [
2689
+ "sqlType",
2690
+ "nullable",
2691
+ "__tenancy",
2692
+ "required"
2693
+ ],
2694
+ "sqlType": "UUID",
2695
+ "nullable": true,
2696
+ "required": false
2697
+ },
2698
+ "required": false
2585
2699
  },
2586
2700
  "eventId": {
2587
2701
  "type": "foreignKey",
2588
- "required": false,
2589
- "related": "Event",
2590
- "description": "The event the person takes part in.",
2591
2702
  "_meta": {
2703
+ "__statedOptions": [
2704
+ "description",
2705
+ "related"
2706
+ ],
2592
2707
  "description": "The event the person takes part in."
2593
- }
2708
+ },
2709
+ "required": false,
2710
+ "related": "Event",
2711
+ "description": "The event the person takes part in."
2594
2712
  },
2595
2713
  "profileId": {
2596
2714
  "type": "crossPackageRef",
2597
- "required": false,
2598
- "related": "@happyvertical/smrt-profiles:Profile",
2599
- "description": "The person taking part.",
2600
2715
  "_meta": {
2716
+ "__statedOptions": [
2717
+ "description",
2718
+ "related"
2719
+ ],
2601
2720
  "description": "The person taking part."
2602
- }
2721
+ },
2722
+ "required": false,
2723
+ "related": "@happyvertical/smrt-profiles:Profile",
2724
+ "description": "The person taking part."
2603
2725
  },
2604
2726
  "role": {
2605
2727
  "type": "text",
2606
- "required": false,
2607
- "default": "",
2608
- "description": "What they do there, for example speaker or attendee.",
2609
2728
  "_meta": {
2729
+ "__statedOptions": [
2730
+ "description",
2731
+ "default"
2732
+ ],
2610
2733
  "description": "What they do there, for example speaker or attendee."
2611
- }
2734
+ },
2735
+ "required": false,
2736
+ "default": "",
2737
+ "description": "What they do there, for example speaker or attendee."
2612
2738
  },
2613
2739
  "placement": {
2614
2740
  "type": "integer",
2741
+ "_meta": {
2742
+ "__statedOptions": []
2743
+ },
2615
2744
  "required": false
2616
2745
  },
2617
2746
  "groupId": {
2618
2747
  "type": "text",
2748
+ "_meta": {
2749
+ "__statedOptions": []
2750
+ },
2619
2751
  "required": false
2620
2752
  },
2621
2753
  "metadata": {
2622
2754
  "type": "text",
2755
+ "_meta": {
2756
+ "__statedOptions": []
2757
+ },
2623
2758
  "required": false
2624
2759
  },
2625
2760
  "externalId": {
2626
2761
  "type": "text",
2762
+ "_meta": {
2763
+ "__statedOptions": []
2764
+ },
2627
2765
  "required": false
2628
2766
  },
2629
2767
  "source": {
2630
2768
  "type": "text",
2769
+ "_meta": {
2770
+ "__statedOptions": []
2771
+ },
2631
2772
  "required": false
2632
2773
  },
2633
2774
  "createdAt": {
2634
2775
  "type": "text",
2776
+ "_meta": {
2777
+ "__statedOptions": []
2778
+ },
2635
2779
  "required": false
2636
2780
  },
2637
2781
  "updatedAt": {
2638
2782
  "type": "text",
2783
+ "_meta": {
2784
+ "__statedOptions": []
2785
+ },
2639
2786
  "required": false
2640
2787
  }
2641
2788
  },
@@ -2882,23 +3029,26 @@
2882
3029
  "className": "EventSeries",
2883
3030
  "qualifiedName": "@happyvertical/smrt-events:EventSeries",
2884
3031
  "collection": "eventserieses",
2885
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/models/EventSeries.ts",
3032
+ "filePath": "src/models/EventSeries.ts",
2886
3033
  "packageName": "@happyvertical/smrt-events",
2887
3034
  "fields": {
2888
3035
  "created_at": {
2889
3036
  "type": "datetime",
3037
+ "_meta": {
3038
+ "__statedOptions": []
3039
+ },
2890
3040
  "required": false
2891
3041
  },
2892
3042
  "updated_at": {
2893
3043
  "type": "datetime",
3044
+ "_meta": {
3045
+ "__statedOptions": []
3046
+ },
2894
3047
  "required": false
2895
3048
  },
2896
3049
  "tenantId": {
2897
3050
  "type": "text",
2898
- "required": false,
2899
3051
  "_meta": {
2900
- "sqlType": "UUID",
2901
- "nullable": true,
2902
3052
  "__tenancy": {
2903
3053
  "isTenantIdField": true,
2904
3054
  "autoFilter": true,
@@ -2908,86 +3058,135 @@
2908
3058
  "mode": "optional",
2909
3059
  "field": "tenantId",
2910
3060
  "allowSuperAdminBypass": false
2911
- }
2912
- }
3061
+ },
3062
+ "__statedOptions": [
3063
+ "sqlType",
3064
+ "nullable",
3065
+ "__tenancy",
3066
+ "required"
3067
+ ],
3068
+ "sqlType": "UUID",
3069
+ "nullable": true,
3070
+ "required": false
3071
+ },
3072
+ "required": false
2913
3073
  },
2914
3074
  "name": {
2915
3075
  "type": "text",
2916
- "required": false,
2917
- "default": "",
2918
- "description": "What the series is called.",
2919
3076
  "_meta": {
3077
+ "__statedOptions": [
3078
+ "description",
3079
+ "default"
3080
+ ],
2920
3081
  "description": "What the series is called."
2921
- }
3082
+ },
3083
+ "required": false,
3084
+ "default": "",
3085
+ "description": "What the series is called."
2922
3086
  },
2923
3087
  "typeId": {
2924
3088
  "type": "foreignKey",
2925
- "required": false,
2926
- "related": "EventType",
2927
- "description": "The kind of event in this series.",
2928
3089
  "_meta": {
3090
+ "__statedOptions": [
3091
+ "description",
3092
+ "related"
3093
+ ],
2929
3094
  "description": "The kind of event in this series."
2930
- }
3095
+ },
3096
+ "required": false,
3097
+ "related": "EventType",
3098
+ "description": "The kind of event in this series."
2931
3099
  },
2932
3100
  "organizerId": {
2933
3101
  "type": "crossPackageRef",
2934
- "required": false,
2935
- "related": "@happyvertical/smrt-profiles:Profile",
2936
- "description": "Who runs the series.",
2937
3102
  "_meta": {
3103
+ "__statedOptions": [
3104
+ "description",
3105
+ "related"
3106
+ ],
2938
3107
  "description": "Who runs the series."
2939
- }
3108
+ },
3109
+ "required": false,
3110
+ "related": "@happyvertical/smrt-profiles:Profile",
3111
+ "description": "Who runs the series."
2940
3112
  },
2941
3113
  "description": {
2942
3114
  "type": "text",
2943
- "required": false,
2944
- "description": "What the series is about.",
2945
3115
  "_meta": {
3116
+ "__statedOptions": [
3117
+ "description"
3118
+ ],
2946
3119
  "description": "What the series is about."
2947
- }
3120
+ },
3121
+ "required": false,
3122
+ "description": "What the series is about."
2948
3123
  },
2949
3124
  "startDate": {
2950
3125
  "type": "datetime",
2951
- "required": false,
2952
- "description": "When the series begins.",
2953
3126
  "_meta": {
3127
+ "__statedOptions": [
3128
+ "description"
3129
+ ],
2954
3130
  "description": "When the series begins."
2955
- }
3131
+ },
3132
+ "required": false,
3133
+ "description": "When the series begins."
2956
3134
  },
2957
3135
  "endDate": {
2958
3136
  "type": "datetime",
2959
- "required": false,
2960
- "description": "When the series ends.",
2961
3137
  "_meta": {
3138
+ "__statedOptions": [
3139
+ "description"
3140
+ ],
2962
3141
  "description": "When the series ends."
2963
- }
3142
+ },
3143
+ "required": false,
3144
+ "description": "When the series ends."
2964
3145
  },
2965
3146
  "recurrence": {
2966
3147
  "type": "text",
2967
- "required": false,
2968
- "description": "How often it repeats.",
2969
3148
  "_meta": {
3149
+ "__statedOptions": [
3150
+ "description"
3151
+ ],
2970
3152
  "description": "How often it repeats."
2971
- }
3153
+ },
3154
+ "required": false,
3155
+ "description": "How often it repeats."
2972
3156
  },
2973
3157
  "metadata": {
2974
3158
  "type": "text",
3159
+ "_meta": {
3160
+ "__statedOptions": []
3161
+ },
2975
3162
  "required": false
2976
3163
  },
2977
3164
  "externalId": {
2978
3165
  "type": "text",
3166
+ "_meta": {
3167
+ "__statedOptions": []
3168
+ },
2979
3169
  "required": false
2980
3170
  },
2981
3171
  "source": {
2982
3172
  "type": "text",
3173
+ "_meta": {
3174
+ "__statedOptions": []
3175
+ },
2983
3176
  "required": false
2984
3177
  },
2985
3178
  "createdAt": {
2986
3179
  "type": "text",
3180
+ "_meta": {
3181
+ "__statedOptions": []
3182
+ },
2987
3183
  "required": false
2988
3184
  },
2989
3185
  "updatedAt": {
2990
3186
  "type": "text",
3187
+ "_meta": {
3188
+ "__statedOptions": []
3189
+ },
2991
3190
  "required": false
2992
3191
  }
2993
3192
  },
@@ -3293,23 +3492,26 @@
3293
3492
  "className": "EventType",
3294
3493
  "qualifiedName": "@happyvertical/smrt-events:EventType",
3295
3494
  "collection": "eventtypes",
3296
- "filePath": "/home/runner/work/smrt/smrt/packages/events/src/models/EventType.ts",
3495
+ "filePath": "src/models/EventType.ts",
3297
3496
  "packageName": "@happyvertical/smrt-events",
3298
3497
  "fields": {
3299
3498
  "created_at": {
3300
3499
  "type": "datetime",
3500
+ "_meta": {
3501
+ "__statedOptions": []
3502
+ },
3301
3503
  "required": false
3302
3504
  },
3303
3505
  "updated_at": {
3304
3506
  "type": "datetime",
3507
+ "_meta": {
3508
+ "__statedOptions": []
3509
+ },
3305
3510
  "required": false
3306
3511
  },
3307
3512
  "tenantId": {
3308
3513
  "type": "text",
3309
- "required": false,
3310
3514
  "_meta": {
3311
- "sqlType": "UUID",
3312
- "nullable": true,
3313
3515
  "__tenancy": {
3314
3516
  "isTenantIdField": true,
3315
3517
  "autoFilter": true,
@@ -3319,44 +3521,77 @@
3319
3521
  "mode": "optional",
3320
3522
  "field": "tenantId",
3321
3523
  "allowSuperAdminBypass": false
3322
- }
3323
- }
3524
+ },
3525
+ "__statedOptions": [
3526
+ "sqlType",
3527
+ "nullable",
3528
+ "__tenancy",
3529
+ "required"
3530
+ ],
3531
+ "sqlType": "UUID",
3532
+ "nullable": true,
3533
+ "required": false
3534
+ },
3535
+ "required": false
3324
3536
  },
3325
3537
  "name": {
3326
3538
  "type": "text",
3327
- "required": true,
3328
- "default": "",
3329
- "description": "What this kind of event is called, for example workshop.",
3330
3539
  "_meta": {
3331
- "required": true,
3540
+ "__statedOptions": [
3541
+ "description",
3542
+ "default"
3543
+ ],
3332
3544
  "description": "What this kind of event is called, for example workshop."
3333
- }
3545
+ },
3546
+ "required": false,
3547
+ "default": "",
3548
+ "description": "What this kind of event is called, for example workshop."
3334
3549
  },
3335
3550
  "description": {
3336
3551
  "type": "text",
3337
- "required": false,
3338
- "default": "",
3339
- "description": "What this kind of event is for.",
3340
3552
  "_meta": {
3553
+ "__statedOptions": [
3554
+ "description",
3555
+ "default"
3556
+ ],
3341
3557
  "description": "What this kind of event is for."
3342
- }
3558
+ },
3559
+ "required": false,
3560
+ "default": "",
3561
+ "description": "What this kind of event is for."
3343
3562
  },
3344
3563
  "schema": {
3345
3564
  "type": "text",
3565
+ "_meta": {
3566
+ "__statedOptions": [
3567
+ "default"
3568
+ ]
3569
+ },
3346
3570
  "required": false,
3347
3571
  "default": ""
3348
3572
  },
3349
3573
  "participantSchema": {
3350
3574
  "type": "text",
3575
+ "_meta": {
3576
+ "__statedOptions": [
3577
+ "default"
3578
+ ]
3579
+ },
3351
3580
  "required": false,
3352
3581
  "default": ""
3353
3582
  },
3354
3583
  "createdAt": {
3355
3584
  "type": "datetime",
3585
+ "_meta": {
3586
+ "__statedOptions": []
3587
+ },
3356
3588
  "required": false
3357
3589
  },
3358
3590
  "updatedAt": {
3359
3591
  "type": "datetime",
3592
+ "_meta": {
3593
+ "__statedOptions": []
3594
+ },
3360
3595
  "required": false
3361
3596
  }
3362
3597
  },
@@ -3455,13 +3690,6 @@
3455
3690
  "exportName": "EventType",
3456
3691
  "collectionExportName": "EventTypeCollection",
3457
3692
  "displayLabelField": "name",
3458
- "validationRules": [
3459
- {
3460
- "field": "name",
3461
- "rule": "required",
3462
- "fieldType": "text"
3463
- }
3464
- ],
3465
3693
  "schema": {
3466
3694
  "tableName": "event_types",
3467
3695
  "ddl": "CREATE TABLE IF NOT EXISTS \"event_types\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT DEFAULT '',\n \"schema\" TEXT DEFAULT '',\n \"participant_schema\" TEXT DEFAULT ''\n);",
@@ -3726,5 +3954,6 @@
3726
3954
  "@happyvertical/smrt-tenancy"
3727
3955
  ]
3728
3956
  },
3957
+ "schemaFingerprint": "b7050e32f764a404e3a6a4789f29b3c66d92003123ab70b50438a8bdef853874",
3729
3958
  "stampsConstructors": true
3730
3959
  }