@happyvertical/smrt-places 0.57.35 → 0.57.37

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.
@@ -1 +1 @@
1
- {"version":3,"file":"Place.d.ts","sourceRoot":"","sources":["../../src/models/Place.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAOxD,OAAO,EAGL,gBAAgB,EAEjB,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAU,CAAC;AAEtD,6DAA6D;AAC7D,eAAO,MAAM,6BAA6B,SAAS,CAAC;AAEpD,qBAOa,KAAM,SAAQ,gBAAgB;IAKzC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAI/B,MAAM,SAAM;IAEZ,IAAI,SAAM;IACV,WAAW,SAAM;IAIjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAQ;IAChC,YAAY,SAAM;IAClB,UAAU,SAAM;IAChB,IAAI,SAAM;IACV,MAAM,SAAM;IACZ,OAAO,SAAM;IACb,UAAU,SAAM;IAChB,WAAW,SAAM;IACjB,QAAQ,SAAM;IAGd,UAAU,SAAM;IAChB,MAAM,SAAM;IACZ,QAAQ,SAAM;IAGd,SAAS,OAAc;IACvB,SAAS,OAAc;gBAEX,OAAO,GAAE,YAAiB;IA8CtC;;;;OAIG;IACH,UAAU,IAAI,OAAO;IAerB;;;;OAIG;IACH,cAAc,IAAI,OAAO;IAIzB;;;;OAIG;IACH,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAStC;;;;OAIG;IACH,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAIhD;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MA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IAAI,EAAE,MAAM,CAAM;IAElB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,SAAS,OAAc;IACvB,SAAS,OAAc;gBAEX,OAAO,GAAE,gBAAqB;IAS1C;;;;;OAKG;WACU,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;CAIjE"}
1
+ {"version":3,"file":"PlaceType.d.ts","sourceRoot":"","sources":["../../src/models/PlaceType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAS,UAAU,EAAQ,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAU,CAAC;AAEjD,qBAMa,SAAU,SAAQ,UAAU;IAOvC,IAAI,EAAE,MAAM,CAAM;IAGlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,SAAS,OAAc;IACvB,SAAS,OAAc;gBAEX,OAAO,GAAE,gBAAqB;IAS1C;;;;;OAKG;WACU,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC;CAIjE"}
@@ -0,0 +1,136 @@
1
+ /**
2
+ * Declared recipes for smrt-places (#4409): 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 { Place } from "./models/Place.js";
11
+ import { PlaceType } from "./models/PlaceType.js";
12
+ /**
13
+ * Places: the buildings, rooms, zones and sites where work happens, one
14
+ * inside another. `PlaceAsset` (the picture join) is closed to every surface
15
+ * and stays out of the recipe.
16
+ */
17
+ export declare class PlacesLocationsRecipe extends SmrtRecipe {
18
+ static id: string;
19
+ static help: string;
20
+ static label: string;
21
+ static summary: string;
22
+ static synonyms: string[];
23
+ static section: {
24
+ id: string;
25
+ label: string;
26
+ icon: string;
27
+ description: string;
28
+ };
29
+ static models: (typeof PlaceType | typeof Place)[];
30
+ static nav: ({
31
+ label: string;
32
+ model: typeof Place;
33
+ icon: string;
34
+ description: string;
35
+ noun: string;
36
+ } | {
37
+ label: string;
38
+ model: typeof PlaceType;
39
+ icon: string;
40
+ description: string;
41
+ noun: string;
42
+ })[];
43
+ static options: {
44
+ readonly Place: {
45
+ readonly fields: {
46
+ readonly name: {
47
+ readonly order: 1;
48
+ };
49
+ readonly typeId: {
50
+ readonly label: "Type";
51
+ readonly order: 2;
52
+ };
53
+ readonly parentId: {
54
+ readonly label: "Inside";
55
+ readonly help: "The larger place this one is part of, such as the building a room is in.";
56
+ readonly order: 3;
57
+ };
58
+ readonly description: {
59
+ readonly order: 4;
60
+ };
61
+ readonly streetNumber: {
62
+ readonly label: "Street number";
63
+ readonly order: 5;
64
+ };
65
+ readonly streetName: {
66
+ readonly label: "Street name";
67
+ readonly order: 6;
68
+ };
69
+ readonly city: {
70
+ readonly order: 7;
71
+ };
72
+ readonly region: {
73
+ readonly order: 8;
74
+ };
75
+ readonly country: {
76
+ readonly order: 9;
77
+ };
78
+ readonly postalCode: {
79
+ readonly label: "Postal code";
80
+ readonly order: 10;
81
+ };
82
+ readonly latitude: {
83
+ readonly visibility: "advanced";
84
+ };
85
+ readonly longitude: {
86
+ readonly visibility: "advanced";
87
+ };
88
+ readonly countryCode: {
89
+ readonly label: "Country code";
90
+ readonly visibility: "advanced";
91
+ };
92
+ readonly timezone: {
93
+ readonly label: "Time zone";
94
+ readonly visibility: "advanced";
95
+ };
96
+ readonly externalId: {
97
+ readonly label: "Map reference";
98
+ readonly visibility: "advanced";
99
+ };
100
+ readonly source: {
101
+ readonly label: "Map provider";
102
+ readonly visibility: "advanced";
103
+ };
104
+ readonly metadata: {
105
+ readonly visibility: "hidden";
106
+ };
107
+ readonly tenantId: {
108
+ readonly visibility: "hidden";
109
+ };
110
+ readonly createdAt: {
111
+ readonly visibility: "hidden";
112
+ };
113
+ readonly updatedAt: {
114
+ readonly visibility: "hidden";
115
+ };
116
+ };
117
+ };
118
+ readonly PlaceType: {
119
+ readonly fields: {
120
+ readonly name: {
121
+ readonly order: 1;
122
+ };
123
+ readonly description: {
124
+ readonly order: 2;
125
+ };
126
+ readonly createdAt: {
127
+ readonly visibility: "hidden";
128
+ };
129
+ readonly updatedAt: {
130
+ readonly visibility: "hidden";
131
+ };
132
+ };
133
+ };
134
+ };
135
+ }
136
+ //# 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,mBAAgB,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAoB,CAAC;AAE/C;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,EAAE,SAAsB;IAC/B,MAAM,CAAC,IAAI,SAA2B;IACtC,MAAM,CAAC,KAAK,SAAY;IACxB,MAAM,CAAC,OAAO,SAC0G;IACxH,MAAM,CAAC,QAAQ,WAQb;IACF,MAAM,CAAC,OAAO;;;;;MAKZ;IACF,MAAM,CAAC,MAAM,sCAAsB;IACnC,MAAM,CAAC,GAAG;;;;;;;;;;;;SAgBR;IACF,MAAM,CAAC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqCH;CACZ"}