@chevre/factory 4.389.0-alpha.13 → 4.389.0-alpha.14

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.
Files changed (2) hide show
  1. package/lib/schedule.d.ts +29 -2
  2. package/package.json +1 -1
package/lib/schedule.d.ts CHANGED
@@ -1,6 +1,30 @@
1
1
  import { IAvailableAtOrFrom } from './offer';
2
2
  import { OrganizationType } from './organizationType';
3
- export interface ISchedule4ttts {
3
+ export interface ISchedule {
4
+ /**
5
+ * The duration of the item (movie, audio recording, event, etc.) in ISO 8601 duration format.
6
+ */
7
+ duration: string;
8
+ /**
9
+ * Indicates the timezone for which the time(s) indicated in the Schedule are given.
10
+ * Asia/Tokyo
11
+ */
12
+ scheduleTimezone: string;
13
+ /**
14
+ * HH:mm:ss
15
+ */
16
+ startTime: string;
17
+ /**
18
+ * HH:mm:ss
19
+ */
20
+ endTime: string;
21
+ /**
22
+ * Defines the frequency at which Events will occur according to a schedule Schedule.
23
+ */
24
+ repeatFrequency: string;
25
+ typeOf: 'Schedule';
26
+ }
27
+ export interface IEventWithSchedule {
4
28
  project: {
5
29
  id: string;
6
30
  typeOf: OrganizationType.Project;
@@ -31,6 +55,10 @@ export interface ISchedule4ttts {
31
55
  */
32
56
  id?: string;
33
57
  };
58
+ eventSchedule: ISchedule;
59
+ }
60
+ export interface ISchedule4ttts extends Pick<IEventWithSchedule, 'id' | 'offers' | 'project' | 'superEvent'> {
61
+ eventSchedule?: never;
34
62
  duration: number;
35
63
  noPerformanceTimes: string[];
36
64
  /**
@@ -48,7 +76,6 @@ export interface ISchedule4ttts {
48
76
  /**
49
77
  * 作成開始が今日から何日後か
50
78
  */
51
- start: number;
52
79
  /**
53
80
  * 何日分作成するか
54
81
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.389.0-alpha.13",
3
+ "version": "4.389.0-alpha.14",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",