@sprucelabs/calendar-utils 43.0.124 → 43.1.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/build/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +6 -0
- package/build/.spruce/schemas/calendarUtils/v2021_05_19/venue.schema.d.ts +3 -0
- package/build/.spruce/schemas/calendarUtils/v2021_05_19/venue.schema.js +36 -0
- package/build/.spruce/schemas/schemas.types.d.ts +598 -549
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/calendarEvent.schema.js +6 -0
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/venue.schema.d.ts +3 -0
- package/build/esm/.spruce/schemas/calendarUtils/v2021_05_19/venue.schema.js +34 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +598 -549
- package/build/esm/schemas/v2021_05_19/calendarEvent.builder.d.ts +25 -0
- package/build/esm/schemas/v2021_05_19/calendarEvent.builder.js +7 -0
- package/build/esm/schemas/v2021_05_19/venue.builder.d.ts +21 -0
- package/build/esm/schemas/v2021_05_19/venue.builder.js +21 -0
- package/build/schemas/v2021_05_19/calendarEvent.builder.d.ts +25 -0
- package/build/schemas/v2021_05_19/calendarEvent.builder.js +10 -0
- package/build/schemas/v2021_05_19/venue.builder.d.ts +21 -0
- package/build/schemas/v2021_05_19/venue.builder.js +23 -0
- package/package.json +4 -3
|
@@ -3,6 +3,7 @@ import eventSourceSchema_v2021_09_13 from './../../spruceEventUtils/v2021_09_13/
|
|
|
3
3
|
import calendarEventTargetSchema_v2021_05_19 from './calendarEventTarget.schema.js';
|
|
4
4
|
import eventTimeBlockSchema_v2021_05_19 from './eventTimeBlock.schema.js';
|
|
5
5
|
import eventExclusionDateSchema_v2021_05_19 from './eventExclusionDate.schema.js';
|
|
6
|
+
import venueSchema_v2021_05_19 from './venue.schema.js';
|
|
6
7
|
const calendarEventSchema = {
|
|
7
8
|
id: 'calendarEvent',
|
|
8
9
|
version: 'v2021_05_19',
|
|
@@ -148,6 +149,11 @@ const calendarEventSchema = {
|
|
|
148
149
|
type: 'raw',
|
|
149
150
|
options: { valueType: `Record<string, any>`, }
|
|
150
151
|
},
|
|
152
|
+
/** . */
|
|
153
|
+
'venue': {
|
|
154
|
+
type: 'schema',
|
|
155
|
+
options: { schema: venueSchema_v2021_05_19, }
|
|
156
|
+
},
|
|
151
157
|
}
|
|
152
158
|
};
|
|
153
159
|
SchemaRegistry.getInstance().trackSchema(calendarEventSchema);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SchemaRegistry } from '@sprucelabs/schema';
|
|
2
|
+
const venueSchema = {
|
|
3
|
+
id: 'venue',
|
|
4
|
+
version: 'v2021_05_19',
|
|
5
|
+
namespace: 'CalendarUtils',
|
|
6
|
+
name: 'Venue',
|
|
7
|
+
moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
|
|
8
|
+
fields: {
|
|
9
|
+
/** . */
|
|
10
|
+
'provider': {
|
|
11
|
+
type: 'text',
|
|
12
|
+
isRequired: true,
|
|
13
|
+
options: undefined
|
|
14
|
+
},
|
|
15
|
+
/** . */
|
|
16
|
+
'label': {
|
|
17
|
+
type: 'text',
|
|
18
|
+
isRequired: true,
|
|
19
|
+
options: undefined
|
|
20
|
+
},
|
|
21
|
+
/** . */
|
|
22
|
+
'joinUrl': {
|
|
23
|
+
type: 'text',
|
|
24
|
+
options: undefined
|
|
25
|
+
},
|
|
26
|
+
/** . */
|
|
27
|
+
'details': {
|
|
28
|
+
type: 'text',
|
|
29
|
+
options: undefined
|
|
30
|
+
},
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
SchemaRegistry.getInstance().trackSchema(venueSchema);
|
|
34
|
+
export default venueSchema;
|