@sprucelabs/calendar-utils 43.0.125 → 43.1.1

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.
@@ -8,6 +8,7 @@ const eventSource_schema_1 = __importDefault(require("./../../spruceEventUtils/v
8
8
  const calendarEventTarget_schema_1 = __importDefault(require("./calendarEventTarget.schema"));
9
9
  const eventTimeBlock_schema_1 = __importDefault(require("./eventTimeBlock.schema"));
10
10
  const eventExclusionDate_schema_1 = __importDefault(require("./eventExclusionDate.schema"));
11
+ const venue_schema_1 = __importDefault(require("./venue.schema"));
11
12
  const calendarEventSchema = {
12
13
  id: 'calendarEvent',
13
14
  version: 'v2021_05_19',
@@ -153,6 +154,11 @@ const calendarEventSchema = {
153
154
  type: 'raw',
154
155
  options: { valueType: `Record<string, any>`, }
155
156
  },
157
+ /** . */
158
+ 'venue': {
159
+ type: 'schema',
160
+ options: { schema: venue_schema_1.default, }
161
+ },
156
162
  }
157
163
  };
158
164
  schema_1.SchemaRegistry.getInstance().trackSchema(calendarEventSchema);
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../schemas.types';
2
+ declare const venueSchema: SpruceSchemas.CalendarUtils.v2021_05_19.VenueSchema;
3
+ export default venueSchema;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema_1 = require("@sprucelabs/schema");
4
+ const venueSchema = {
5
+ id: 'venue',
6
+ version: 'v2021_05_19',
7
+ namespace: 'CalendarUtils',
8
+ name: 'Venue',
9
+ moduleToImportFromWhenRemote: '@sprucelabs/calendar-utils',
10
+ fields: {
11
+ /** . */
12
+ 'provider': {
13
+ type: 'text',
14
+ isRequired: true,
15
+ options: undefined
16
+ },
17
+ /** . */
18
+ 'label': {
19
+ type: 'text',
20
+ isRequired: true,
21
+ options: undefined
22
+ },
23
+ /** . */
24
+ 'joinUrl': {
25
+ type: 'text',
26
+ options: undefined
27
+ },
28
+ /** . */
29
+ 'details': {
30
+ type: 'text',
31
+ options: undefined
32
+ },
33
+ }
34
+ };
35
+ schema_1.SchemaRegistry.getInstance().trackSchema(venueSchema);
36
+ exports.default = venueSchema;