@sideline/domain 0.9.0 → 0.11.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/dist/cjs/api/AgeThresholdApi.js +7 -1
- package/dist/cjs/api/AgeThresholdApi.js.map +1 -1
- package/dist/cjs/api/Auth.js +9 -8
- package/dist/cjs/api/Auth.js.map +1 -1
- package/dist/cjs/api/EventApi.js +39 -23
- package/dist/cjs/api/EventApi.js.map +1 -1
- package/dist/cjs/api/EventRsvpApi.js +11 -9
- package/dist/cjs/api/EventRsvpApi.js.map +1 -1
- package/dist/cjs/api/EventSeriesApi.js +44 -24
- package/dist/cjs/api/EventSeriesApi.js.map +1 -1
- package/dist/cjs/api/GroupApi.js +22 -14
- package/dist/cjs/api/GroupApi.js.map +1 -1
- package/dist/cjs/api/ICalApi.js +25 -0
- package/dist/cjs/api/ICalApi.js.map +1 -0
- package/dist/cjs/api/RoleApi.js +19 -5
- package/dist/cjs/api/RoleApi.js.map +1 -1
- package/dist/cjs/api/Roster.js +19 -13
- package/dist/cjs/api/Roster.js.map +1 -1
- package/dist/cjs/api/TeamSettingsApi.js +13 -12
- package/dist/cjs/api/TeamSettingsApi.js.map +1 -1
- package/dist/cjs/api/TrainingTypeApi.js +27 -8
- package/dist/cjs/api/TrainingTypeApi.js.map +1 -1
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/models/AgeThresholdRule.js +2 -2
- package/dist/cjs/models/AgeThresholdRule.js.map +1 -1
- package/dist/cjs/models/ChannelSyncEvent.js +5 -5
- package/dist/cjs/models/ChannelSyncEvent.js.map +1 -1
- package/dist/cjs/models/Event.js +8 -5
- package/dist/cjs/models/Event.js.map +1 -1
- package/dist/cjs/models/EventRsvp.js +1 -1
- package/dist/cjs/models/EventRsvp.js.map +1 -1
- package/dist/cjs/models/EventSeries.js +8 -5
- package/dist/cjs/models/EventSeries.js.map +1 -1
- package/dist/cjs/models/GroupModel.js +2 -2
- package/dist/cjs/models/GroupModel.js.map +1 -1
- package/dist/cjs/models/ICalToken.js +17 -0
- package/dist/cjs/models/ICalToken.js.map +1 -0
- package/dist/cjs/models/OAuthConnection.js +1 -1
- package/dist/cjs/models/OAuthConnection.js.map +1 -1
- package/dist/cjs/models/RoleSyncEvent.js +5 -5
- package/dist/cjs/models/RoleSyncEvent.js.map +1 -1
- package/dist/cjs/models/TeamInvite.js +1 -1
- package/dist/cjs/models/TeamInvite.js.map +1 -1
- package/dist/cjs/models/TeamMember.js +1 -1
- package/dist/cjs/models/TeamMember.js.map +1 -1
- package/dist/cjs/models/TrainingType.js +2 -1
- package/dist/cjs/models/TrainingType.js.map +1 -1
- package/dist/cjs/models/User.js +5 -4
- package/dist/cjs/models/User.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcEvents.js +14 -12
- package/dist/cjs/rpc/event/EventRpcEvents.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcGroup.js +16 -8
- package/dist/cjs/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcModels.js +41 -16
- package/dist/cjs/rpc/event/EventRpcModels.js.map +1 -1
- package/dist/cjs/rpc/guild/GuildRpcGroup.js +3 -3
- package/dist/cjs/rpc/guild/GuildRpcGroup.js.map +1 -1
- package/dist/dts/api/AgeThresholdApi.d.ts +6 -1
- package/dist/dts/api/AgeThresholdApi.d.ts.map +1 -1
- package/dist/dts/api/Auth.d.ts +22 -21
- package/dist/dts/api/Auth.d.ts.map +1 -1
- package/dist/dts/api/EventApi.d.ts +109 -69
- package/dist/dts/api/EventApi.d.ts.map +1 -1
- package/dist/dts/api/EventRsvpApi.d.ts +25 -25
- package/dist/dts/api/EventSeriesApi.d.ts +128 -72
- package/dist/dts/api/EventSeriesApi.d.ts.map +1 -1
- package/dist/dts/api/GroupApi.d.ts +49 -44
- package/dist/dts/api/GroupApi.d.ts.map +1 -1
- package/dist/dts/api/ICalApi.d.ts +28 -0
- package/dist/dts/api/ICalApi.d.ts.map +1 -0
- package/dist/dts/api/RoleApi.d.ts +31 -9
- package/dist/dts/api/RoleApi.d.ts.map +1 -1
- package/dist/dts/api/Roster.d.ts +50 -33
- package/dist/dts/api/Roster.d.ts.map +1 -1
- package/dist/dts/api/TeamSettingsApi.d.ts +36 -36
- package/dist/dts/api/TeamSettingsApi.d.ts.map +1 -1
- package/dist/dts/api/TrainingTypeApi.d.ts +62 -25
- package/dist/dts/api/TrainingTypeApi.d.ts.map +1 -1
- package/dist/dts/index.d.ts +2 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/models/AgeThresholdRule.d.ts +22 -22
- package/dist/dts/models/ChannelSyncEvent.d.ts +55 -55
- package/dist/dts/models/Event.d.ts +81 -55
- package/dist/dts/models/Event.d.ts.map +1 -1
- package/dist/dts/models/EventRsvp.d.ts +11 -11
- package/dist/dts/models/EventSeries.d.ts +81 -55
- package/dist/dts/models/EventSeries.d.ts.map +1 -1
- package/dist/dts/models/GroupModel.d.ts +22 -22
- package/dist/dts/models/ICalToken.d.ts +69 -0
- package/dist/dts/models/ICalToken.d.ts.map +1 -0
- package/dist/dts/models/OAuthConnection.d.ts +8 -8
- package/dist/dts/models/RoleSyncEvent.d.ts +55 -55
- package/dist/dts/models/TeamInvite.d.ts +11 -11
- package/dist/dts/models/TeamMember.d.ts +22 -22
- package/dist/dts/models/TrainingType.d.ts +24 -11
- package/dist/dts/models/TrainingType.d.ts.map +1 -1
- package/dist/dts/models/User.d.ts +44 -44
- package/dist/dts/models/User.d.ts.map +1 -1
- package/dist/dts/rpc/SyncRpcs.d.ts +16 -12
- package/dist/dts/rpc/SyncRpcs.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcEvents.d.ts +12 -12
- package/dist/dts/rpc/event/EventRpcEvents.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcGroup.d.ts +14 -10
- package/dist/dts/rpc/event/EventRpcGroup.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcModels.d.ts +113 -45
- package/dist/dts/rpc/event/EventRpcModels.d.ts.map +1 -1
- package/dist/dts/rpc/guild/GuildRpcGroup.d.ts +3 -3
- package/dist/esm/api/AgeThresholdApi.js +5 -0
- package/dist/esm/api/AgeThresholdApi.js.map +1 -1
- package/dist/esm/api/Auth.js +8 -7
- package/dist/esm/api/Auth.js.map +1 -1
- package/dist/esm/api/EventApi.js +38 -23
- package/dist/esm/api/EventApi.js.map +1 -1
- package/dist/esm/api/EventRsvpApi.js +11 -9
- package/dist/esm/api/EventRsvpApi.js.map +1 -1
- package/dist/esm/api/EventSeriesApi.js +43 -24
- package/dist/esm/api/EventSeriesApi.js.map +1 -1
- package/dist/esm/api/GroupApi.js +20 -13
- package/dist/esm/api/GroupApi.js.map +1 -1
- package/dist/esm/api/ICalApi.js +16 -0
- package/dist/esm/api/ICalApi.js.map +1 -0
- package/dist/esm/api/RoleApi.js +16 -4
- package/dist/esm/api/RoleApi.js.map +1 -1
- package/dist/esm/api/Roster.js +17 -12
- package/dist/esm/api/Roster.js.map +1 -1
- package/dist/esm/api/TeamSettingsApi.js +13 -12
- package/dist/esm/api/TeamSettingsApi.js.map +1 -1
- package/dist/esm/api/TrainingTypeApi.js +25 -7
- package/dist/esm/api/TrainingTypeApi.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/AgeThresholdRule.js +2 -2
- package/dist/esm/models/AgeThresholdRule.js.map +1 -1
- package/dist/esm/models/ChannelSyncEvent.js +5 -5
- package/dist/esm/models/ChannelSyncEvent.js.map +1 -1
- package/dist/esm/models/Event.js +8 -5
- package/dist/esm/models/Event.js.map +1 -1
- package/dist/esm/models/EventRsvp.js +1 -1
- package/dist/esm/models/EventRsvp.js.map +1 -1
- package/dist/esm/models/EventSeries.js +8 -5
- package/dist/esm/models/EventSeries.js.map +1 -1
- package/dist/esm/models/GroupModel.js +2 -2
- package/dist/esm/models/GroupModel.js.map +1 -1
- package/dist/esm/models/ICalToken.js +10 -0
- package/dist/esm/models/ICalToken.js.map +1 -0
- package/dist/esm/models/OAuthConnection.js +1 -1
- package/dist/esm/models/OAuthConnection.js.map +1 -1
- package/dist/esm/models/RoleSyncEvent.js +5 -5
- package/dist/esm/models/RoleSyncEvent.js.map +1 -1
- package/dist/esm/models/TeamInvite.js +1 -1
- package/dist/esm/models/TeamInvite.js.map +1 -1
- package/dist/esm/models/TeamMember.js +1 -1
- package/dist/esm/models/TeamMember.js.map +1 -1
- package/dist/esm/models/TrainingType.js +2 -1
- package/dist/esm/models/TrainingType.js.map +1 -1
- package/dist/esm/models/User.js +5 -4
- package/dist/esm/models/User.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcEvents.js +13 -12
- package/dist/esm/rpc/event/EventRpcEvents.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcGroup.js +17 -9
- package/dist/esm/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcModels.js +35 -15
- package/dist/esm/rpc/event/EventRpcModels.js.map +1 -1
- package/dist/esm/rpc/guild/GuildRpcGroup.js +3 -3
- package/dist/esm/rpc/guild/GuildRpcGroup.js.map +1 -1
- package/package.json +2 -2
- package/src/api/AgeThresholdApi.ts +7 -0
- package/src/api/Auth.ts +8 -7
- package/src/api/EventApi.ts +36 -23
- package/src/api/EventRsvpApi.ts +9 -9
- package/src/api/EventSeriesApi.ts +41 -24
- package/src/api/GroupApi.ts +21 -13
- package/src/api/ICalApi.ts +32 -0
- package/src/api/RoleApi.ts +17 -3
- package/src/api/Roster.ts +17 -11
- package/src/api/TeamSettingsApi.ts +13 -12
- package/src/api/TrainingTypeApi.ts +22 -7
- package/src/index.ts +4 -0
- package/src/models/AgeThresholdRule.ts +2 -2
- package/src/models/ChannelSyncEvent.ts +5 -5
- package/src/models/Event.ts +8 -5
- package/src/models/EventRsvp.ts +1 -1
- package/src/models/EventSeries.ts +8 -5
- package/src/models/GroupModel.ts +2 -2
- package/src/models/ICalToken.ts +10 -0
- package/src/models/OAuthConnection.ts +1 -1
- package/src/models/RoleSyncEvent.ts +5 -5
- package/src/models/TeamInvite.ts +1 -1
- package/src/models/TeamMember.ts +1 -1
- package/src/models/TrainingType.ts +2 -1
- package/src/models/User.ts +5 -4
- package/src/rpc/event/EventRpcEvents.ts +13 -12
- package/src/rpc/event/EventRpcGroup.ts +25 -8
- package/src/rpc/event/EventRpcModels.ts +44 -15
- package/src/rpc/guild/GuildRpcGroup.ts +3 -3
|
@@ -9,7 +9,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
9
9
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
10
10
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
11
11
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
12
|
-
readonly message: Schema.
|
|
12
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
13
13
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
14
14
|
readonly updated_at: Model.DateTimeUpdateFromDate;
|
|
15
15
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
@@ -17,7 +17,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
17
17
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
18
18
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
19
19
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
20
|
-
readonly message: Schema.
|
|
20
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
21
21
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
22
22
|
readonly updated_at: Model.DateTimeUpdateFromDate;
|
|
23
23
|
}, true>, {
|
|
@@ -27,7 +27,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
27
27
|
} & {
|
|
28
28
|
readonly updated_at: import("effect/DateTime").Utc;
|
|
29
29
|
} & {
|
|
30
|
-
readonly message: string
|
|
30
|
+
readonly message: import("effect/Option").Option<string>;
|
|
31
31
|
} & {
|
|
32
32
|
readonly event_id: string & import("effect/Brand").Brand<"EventId">;
|
|
33
33
|
} & {
|
|
@@ -39,7 +39,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
39
39
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
40
40
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
41
41
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
42
|
-
readonly message: Schema.
|
|
42
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
43
43
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
44
44
|
readonly updated_at: Model.DateTimeUpdateFromDate;
|
|
45
45
|
}, true>>, never, {
|
|
@@ -49,7 +49,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
49
49
|
} & {
|
|
50
50
|
readonly updated_at: import("effect/DateTime").Utc;
|
|
51
51
|
} & {
|
|
52
|
-
readonly message: string
|
|
52
|
+
readonly message: import("effect/Option").Option<string>;
|
|
53
53
|
} & {
|
|
54
54
|
readonly event_id: string & import("effect/Brand").Brand<"EventId">;
|
|
55
55
|
} & {
|
|
@@ -62,7 +62,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
62
62
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
63
63
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
64
64
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
65
|
-
readonly message: Schema.
|
|
65
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
66
66
|
readonly created_at: Model.DateTimeFromDate;
|
|
67
67
|
readonly updated_at: Model.DateTimeFromDate;
|
|
68
68
|
}>;
|
|
@@ -70,7 +70,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
70
70
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
71
71
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
72
72
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
73
|
-
readonly message: Schema.
|
|
73
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
74
74
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
75
75
|
readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
76
76
|
}>;
|
|
@@ -79,7 +79,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
79
79
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
80
80
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
81
81
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
82
|
-
readonly message: Schema.
|
|
82
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
83
83
|
readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
84
84
|
}>;
|
|
85
85
|
readonly json: Schema.Struct<{
|
|
@@ -87,7 +87,7 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
87
87
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
88
88
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
89
89
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
90
|
-
readonly message: Schema.
|
|
90
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
91
91
|
readonly created_at: typeof Schema.DateTimeUtc;
|
|
92
92
|
readonly updated_at: typeof Schema.DateTimeUtc;
|
|
93
93
|
}>;
|
|
@@ -95,13 +95,13 @@ declare const EventRsvp_base: import("@effect/experimental/VariantSchema").Class
|
|
|
95
95
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
96
96
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
97
97
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
98
|
-
readonly message: Schema.
|
|
98
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
99
99
|
}>;
|
|
100
100
|
readonly jsonUpdate: Schema.Struct<{
|
|
101
101
|
readonly event_id: Schema.brand<typeof Schema.String, "EventId">;
|
|
102
102
|
readonly team_member_id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
103
103
|
readonly response: Schema.Literal<["yes", "no", "maybe"]>;
|
|
104
|
-
readonly message: Schema.
|
|
104
|
+
readonly message: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
105
105
|
}>;
|
|
106
106
|
};
|
|
107
107
|
export declare class EventRsvp extends EventRsvp_base {
|
|
@@ -13,16 +13,18 @@ export type EventSeriesStatus = typeof EventSeriesStatus.Type;
|
|
|
13
13
|
declare const EventSeries_base: import("@effect/experimental/VariantSchema").Class<EventSeries, {
|
|
14
14
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
15
15
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
16
|
-
readonly training_type_id: Schema.
|
|
16
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
17
17
|
readonly title: typeof Schema.String;
|
|
18
|
-
readonly description: Schema.
|
|
18
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
19
19
|
readonly start_time: typeof Schema.String;
|
|
20
|
-
readonly end_time: Schema.
|
|
21
|
-
readonly location: Schema.
|
|
20
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
21
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
22
22
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
23
23
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
24
24
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
25
|
-
readonly end_date: Schema.
|
|
25
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
26
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
27
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
26
28
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
27
29
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
28
30
|
readonly insert: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -36,16 +38,18 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
36
38
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
37
39
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
38
40
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
39
|
-
readonly training_type_id: Schema.
|
|
41
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
40
42
|
readonly title: typeof Schema.String;
|
|
41
|
-
readonly description: Schema.
|
|
43
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
42
44
|
readonly start_time: typeof Schema.String;
|
|
43
|
-
readonly end_time: Schema.
|
|
44
|
-
readonly location: Schema.
|
|
45
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
46
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
45
47
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
46
48
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
47
49
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
48
|
-
readonly end_date: Schema.
|
|
50
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
51
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
52
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
49
53
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
50
54
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
51
55
|
readonly insert: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -69,15 +73,19 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
69
73
|
} & {
|
|
70
74
|
readonly status: "active" | "cancelled";
|
|
71
75
|
} & {
|
|
72
|
-
readonly
|
|
76
|
+
readonly owner_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
73
77
|
} & {
|
|
74
|
-
readonly
|
|
78
|
+
readonly member_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
75
79
|
} & {
|
|
76
|
-
readonly
|
|
80
|
+
readonly description: import("effect/Option").Option<string>;
|
|
77
81
|
} & {
|
|
78
|
-
readonly
|
|
82
|
+
readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
79
83
|
} & {
|
|
80
|
-
readonly
|
|
84
|
+
readonly end_time: import("effect/Option").Option<string>;
|
|
85
|
+
} & {
|
|
86
|
+
readonly location: import("effect/Option").Option<string>;
|
|
87
|
+
} & {
|
|
88
|
+
readonly end_date: import("effect/Option").Option<Date>;
|
|
81
89
|
} & {
|
|
82
90
|
readonly title: string;
|
|
83
91
|
} & {
|
|
@@ -91,16 +99,18 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
91
99
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
92
100
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
93
101
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
94
|
-
readonly training_type_id: Schema.
|
|
102
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
95
103
|
readonly title: typeof Schema.String;
|
|
96
|
-
readonly description: Schema.
|
|
104
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
97
105
|
readonly start_time: typeof Schema.String;
|
|
98
|
-
readonly end_time: Schema.
|
|
99
|
-
readonly location: Schema.
|
|
106
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
107
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
100
108
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
101
109
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
102
110
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
103
|
-
readonly end_date: Schema.
|
|
111
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
112
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
113
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
104
114
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
105
115
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
106
116
|
readonly insert: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -124,15 +134,19 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
124
134
|
} & {
|
|
125
135
|
readonly status: "active" | "cancelled";
|
|
126
136
|
} & {
|
|
127
|
-
readonly
|
|
137
|
+
readonly owner_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
138
|
+
} & {
|
|
139
|
+
readonly member_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
140
|
+
} & {
|
|
141
|
+
readonly description: import("effect/Option").Option<string>;
|
|
128
142
|
} & {
|
|
129
|
-
readonly training_type_id: (string & import("effect/Brand").Brand<"TrainingTypeId"
|
|
143
|
+
readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
130
144
|
} & {
|
|
131
|
-
readonly end_time: string
|
|
145
|
+
readonly end_time: import("effect/Option").Option<string>;
|
|
132
146
|
} & {
|
|
133
|
-
readonly location: string
|
|
147
|
+
readonly location: import("effect/Option").Option<string>;
|
|
134
148
|
} & {
|
|
135
|
-
readonly end_date: Date
|
|
149
|
+
readonly end_date: import("effect/Option").Option<Date>;
|
|
136
150
|
} & {
|
|
137
151
|
readonly title: string;
|
|
138
152
|
} & {
|
|
@@ -147,16 +161,18 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
147
161
|
readonly select: Schema.Struct<{
|
|
148
162
|
readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
|
|
149
163
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
150
|
-
readonly training_type_id: Schema.
|
|
164
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
151
165
|
readonly title: typeof Schema.String;
|
|
152
|
-
readonly description: Schema.
|
|
166
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
153
167
|
readonly start_time: typeof Schema.String;
|
|
154
|
-
readonly end_time: Schema.
|
|
155
|
-
readonly location: Schema.
|
|
168
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
169
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
156
170
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
157
171
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
158
172
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
159
|
-
readonly end_date: Schema.
|
|
173
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
174
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
175
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
160
176
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
161
177
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
162
178
|
readonly created_at: Model.DateTimeFromDate;
|
|
@@ -164,16 +180,18 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
164
180
|
}>;
|
|
165
181
|
readonly insert: Schema.Struct<{
|
|
166
182
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
167
|
-
readonly training_type_id: Schema.
|
|
183
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
168
184
|
readonly title: typeof Schema.String;
|
|
169
|
-
readonly description: Schema.
|
|
185
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
170
186
|
readonly start_time: typeof Schema.String;
|
|
171
|
-
readonly end_time: Schema.
|
|
172
|
-
readonly location: Schema.
|
|
187
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
188
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
173
189
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
174
190
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
175
191
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
176
|
-
readonly end_date: Schema.
|
|
192
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
193
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
194
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
177
195
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
178
196
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
179
197
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
@@ -182,32 +200,36 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
182
200
|
readonly update: Schema.Struct<{
|
|
183
201
|
readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
|
|
184
202
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
185
|
-
readonly training_type_id: Schema.
|
|
203
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
186
204
|
readonly title: typeof Schema.String;
|
|
187
|
-
readonly description: Schema.
|
|
205
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
188
206
|
readonly start_time: typeof Schema.String;
|
|
189
|
-
readonly end_time: Schema.
|
|
190
|
-
readonly location: Schema.
|
|
207
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
208
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
191
209
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
192
210
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
193
211
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
194
|
-
readonly end_date: Schema.
|
|
212
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
213
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
214
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
195
215
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
196
216
|
readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
197
217
|
}>;
|
|
198
218
|
readonly json: Schema.Struct<{
|
|
199
219
|
readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
|
|
200
220
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
201
|
-
readonly training_type_id: Schema.
|
|
221
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
202
222
|
readonly title: typeof Schema.String;
|
|
203
|
-
readonly description: Schema.
|
|
223
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
204
224
|
readonly start_time: typeof Schema.String;
|
|
205
|
-
readonly end_time: Schema.
|
|
206
|
-
readonly location: Schema.
|
|
225
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
226
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
207
227
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
208
228
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
209
229
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
210
|
-
readonly end_date: Schema.
|
|
230
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
231
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
232
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
211
233
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
212
234
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
213
235
|
readonly created_at: typeof Schema.DateTimeUtc;
|
|
@@ -215,31 +237,35 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
215
237
|
}>;
|
|
216
238
|
readonly jsonCreate: Schema.Struct<{
|
|
217
239
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
218
|
-
readonly training_type_id: Schema.
|
|
240
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
219
241
|
readonly title: typeof Schema.String;
|
|
220
|
-
readonly description: Schema.
|
|
242
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
221
243
|
readonly start_time: typeof Schema.String;
|
|
222
|
-
readonly end_time: Schema.
|
|
223
|
-
readonly location: Schema.
|
|
244
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
245
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
224
246
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
225
247
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
226
248
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
227
|
-
readonly end_date: Schema.
|
|
249
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
250
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
251
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
228
252
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
229
253
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
230
254
|
}>;
|
|
231
255
|
readonly jsonUpdate: Schema.Struct<{
|
|
232
256
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
233
|
-
readonly training_type_id: Schema.
|
|
257
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
234
258
|
readonly title: typeof Schema.String;
|
|
235
|
-
readonly description: Schema.
|
|
259
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
236
260
|
readonly start_time: typeof Schema.String;
|
|
237
|
-
readonly end_time: Schema.
|
|
238
|
-
readonly location: Schema.
|
|
261
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
262
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
239
263
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
240
264
|
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
241
265
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
242
|
-
readonly end_date: Schema.
|
|
266
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
267
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
268
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
243
269
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
244
270
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
245
271
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventSeries.d.ts","sourceRoot":"","sources":["../../../src/models/EventSeries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"EventSeries.d.ts","sourceRoot":"","sources":["../../../src/models/EventSeries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAMhC,eAAO,MAAM,aAAa,qDAAoD,CAAC;AAC/E,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,IAAI,CAAC;AAEtD,eAAO,MAAM,mBAAmB,wCAAuC,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAElE,eAAO,MAAM,SAAS,6DAAmE,CAAC;AAC1F,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,IAAI,CAAC;AAE9C,eAAO,MAAM,UAAU,0GAAuE,CAAC;AAC/F,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,IAAI,CAAC;AAEhD,eAAO,MAAM,iBAAiB,yCAAwC,CAAC;AACvE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE9D,qBAAa,WAAY,SAAQ,gBAmB/B;CAAG"}
|
|
@@ -5,16 +5,16 @@ export type GroupId = typeof GroupId.Type;
|
|
|
5
5
|
declare const Group_base: import("@effect/experimental/VariantSchema").Class<Group, {
|
|
6
6
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
7
7
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
8
|
-
readonly parent_id: Schema.
|
|
8
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
9
9
|
readonly name: typeof Schema.String;
|
|
10
|
-
readonly emoji: Schema.
|
|
10
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
11
11
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
12
12
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
13
13
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
14
14
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
15
|
-
readonly parent_id: Schema.
|
|
15
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
16
16
|
readonly name: typeof Schema.String;
|
|
17
|
-
readonly emoji: Schema.
|
|
17
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
18
18
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
19
19
|
}, true>, {
|
|
20
20
|
readonly name: string;
|
|
@@ -25,15 +25,15 @@ declare const Group_base: import("@effect/experimental/VariantSchema").Class<Gro
|
|
|
25
25
|
} & {
|
|
26
26
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
27
27
|
} & {
|
|
28
|
-
readonly parent_id: (string & import("effect/Brand").Brand<"GroupId"
|
|
28
|
+
readonly parent_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
29
29
|
} & {
|
|
30
|
-
readonly emoji: string
|
|
30
|
+
readonly emoji: import("effect/Option").Option<string>;
|
|
31
31
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
32
32
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
33
33
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
34
|
-
readonly parent_id: Schema.
|
|
34
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
35
35
|
readonly name: typeof Schema.String;
|
|
36
|
-
readonly emoji: Schema.
|
|
36
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
37
37
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
38
38
|
}, true>>, never, {
|
|
39
39
|
readonly name: string;
|
|
@@ -44,51 +44,51 @@ declare const Group_base: import("@effect/experimental/VariantSchema").Class<Gro
|
|
|
44
44
|
} & {
|
|
45
45
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
46
46
|
} & {
|
|
47
|
-
readonly parent_id: (string & import("effect/Brand").Brand<"GroupId"
|
|
47
|
+
readonly parent_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
48
48
|
} & {
|
|
49
|
-
readonly emoji: string
|
|
49
|
+
readonly emoji: import("effect/Option").Option<string>;
|
|
50
50
|
}> & {
|
|
51
51
|
readonly select: Schema.Struct<{
|
|
52
52
|
readonly id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
53
53
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
54
|
-
readonly parent_id: Schema.
|
|
54
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
55
55
|
readonly name: typeof Schema.String;
|
|
56
|
-
readonly emoji: Schema.
|
|
56
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
57
57
|
readonly created_at: Model.DateTimeFromDate;
|
|
58
58
|
}>;
|
|
59
59
|
readonly insert: Schema.Struct<{
|
|
60
60
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
61
|
-
readonly parent_id: Schema.
|
|
61
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
62
62
|
readonly name: typeof Schema.String;
|
|
63
|
-
readonly emoji: Schema.
|
|
63
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
64
64
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
65
65
|
}>;
|
|
66
66
|
readonly update: Schema.Struct<{
|
|
67
67
|
readonly id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
68
68
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
69
|
-
readonly parent_id: Schema.
|
|
69
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
70
70
|
readonly name: typeof Schema.String;
|
|
71
|
-
readonly emoji: Schema.
|
|
71
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
72
72
|
}>;
|
|
73
73
|
readonly json: Schema.Struct<{
|
|
74
74
|
readonly id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
75
75
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
76
|
-
readonly parent_id: Schema.
|
|
76
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
77
77
|
readonly name: typeof Schema.String;
|
|
78
|
-
readonly emoji: Schema.
|
|
78
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
79
79
|
readonly created_at: typeof Schema.DateTimeUtc;
|
|
80
80
|
}>;
|
|
81
81
|
readonly jsonCreate: Schema.Struct<{
|
|
82
82
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
83
|
-
readonly parent_id: Schema.
|
|
83
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
84
84
|
readonly name: typeof Schema.String;
|
|
85
|
-
readonly emoji: Schema.
|
|
85
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
86
86
|
}>;
|
|
87
87
|
readonly jsonUpdate: Schema.Struct<{
|
|
88
88
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
89
|
-
readonly parent_id: Schema.
|
|
89
|
+
readonly parent_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
90
90
|
readonly name: typeof Schema.String;
|
|
91
|
-
readonly emoji: Schema.
|
|
91
|
+
readonly emoji: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
92
92
|
}>;
|
|
93
93
|
};
|
|
94
94
|
export declare class Group extends Group_base {
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Model } from '@effect/sql';
|
|
2
|
+
import { Schema } from 'effect';
|
|
3
|
+
declare const ICalToken_base: import("@effect/experimental/VariantSchema").Class<ICalToken, {
|
|
4
|
+
readonly id: Model.Generated<typeof Schema.String>;
|
|
5
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
6
|
+
readonly token: typeof Schema.String;
|
|
7
|
+
readonly created_at: Model.DateTimeInsertFromDate;
|
|
8
|
+
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
9
|
+
readonly id: Model.Generated<typeof Schema.String>;
|
|
10
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
11
|
+
readonly token: typeof Schema.String;
|
|
12
|
+
readonly created_at: Model.DateTimeInsertFromDate;
|
|
13
|
+
}, true>, {
|
|
14
|
+
readonly id: string;
|
|
15
|
+
} & {
|
|
16
|
+
readonly created_at: import("effect/DateTime").Utc;
|
|
17
|
+
} & {
|
|
18
|
+
readonly token: string;
|
|
19
|
+
} & {
|
|
20
|
+
readonly user_id: string & import("effect/Brand").Brand<"UserId">;
|
|
21
|
+
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
22
|
+
readonly id: Model.Generated<typeof Schema.String>;
|
|
23
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
24
|
+
readonly token: typeof Schema.String;
|
|
25
|
+
readonly created_at: Model.DateTimeInsertFromDate;
|
|
26
|
+
}, true>>, never, {
|
|
27
|
+
readonly id: string;
|
|
28
|
+
} & {
|
|
29
|
+
readonly created_at: import("effect/DateTime").Utc;
|
|
30
|
+
} & {
|
|
31
|
+
readonly token: string;
|
|
32
|
+
} & {
|
|
33
|
+
readonly user_id: string & import("effect/Brand").Brand<"UserId">;
|
|
34
|
+
}> & {
|
|
35
|
+
readonly select: Schema.Struct<{
|
|
36
|
+
readonly id: typeof Schema.String;
|
|
37
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
38
|
+
readonly token: typeof Schema.String;
|
|
39
|
+
readonly created_at: Model.DateTimeFromDate;
|
|
40
|
+
}>;
|
|
41
|
+
readonly insert: Schema.Struct<{
|
|
42
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
43
|
+
readonly token: typeof Schema.String;
|
|
44
|
+
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
45
|
+
}>;
|
|
46
|
+
readonly update: Schema.Struct<{
|
|
47
|
+
readonly id: typeof Schema.String;
|
|
48
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
49
|
+
readonly token: typeof Schema.String;
|
|
50
|
+
}>;
|
|
51
|
+
readonly json: Schema.Struct<{
|
|
52
|
+
readonly id: typeof Schema.String;
|
|
53
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
54
|
+
readonly token: typeof Schema.String;
|
|
55
|
+
readonly created_at: typeof Schema.DateTimeUtc;
|
|
56
|
+
}>;
|
|
57
|
+
readonly jsonCreate: Schema.Struct<{
|
|
58
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
59
|
+
readonly token: typeof Schema.String;
|
|
60
|
+
}>;
|
|
61
|
+
readonly jsonUpdate: Schema.Struct<{
|
|
62
|
+
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
63
|
+
readonly token: typeof Schema.String;
|
|
64
|
+
}>;
|
|
65
|
+
};
|
|
66
|
+
export declare class ICalToken extends ICalToken_base {
|
|
67
|
+
}
|
|
68
|
+
export {};
|
|
69
|
+
//# sourceMappingURL=ICalToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ICalToken.d.ts","sourceRoot":"","sources":["../../../src/models/ICalToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGhC,qBAAa,SAAU,SAAQ,cAK7B;CAAG"}
|
|
@@ -7,7 +7,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
7
7
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
8
8
|
readonly provider: typeof Schema.String;
|
|
9
9
|
readonly access_token: Model.Sensitive<typeof Schema.String>;
|
|
10
|
-
readonly refresh_token: Model.Sensitive<Schema.
|
|
10
|
+
readonly refresh_token: Model.Sensitive<Schema.OptionFromNullOr<typeof Schema.String>>;
|
|
11
11
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
12
12
|
readonly updated_at: Model.DateTimeUpdateFromDate;
|
|
13
13
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
@@ -15,7 +15,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
15
15
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
16
16
|
readonly provider: typeof Schema.String;
|
|
17
17
|
readonly access_token: Model.Sensitive<typeof Schema.String>;
|
|
18
|
-
readonly refresh_token: Model.Sensitive<Schema.
|
|
18
|
+
readonly refresh_token: Model.Sensitive<Schema.OptionFromNullOr<typeof Schema.String>>;
|
|
19
19
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
20
20
|
readonly updated_at: Model.DateTimeUpdateFromDate;
|
|
21
21
|
}, true>, {
|
|
@@ -29,7 +29,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
29
29
|
} & {
|
|
30
30
|
readonly access_token: string;
|
|
31
31
|
} & {
|
|
32
|
-
readonly refresh_token: string
|
|
32
|
+
readonly refresh_token: import("effect/Option").Option<string>;
|
|
33
33
|
} & {
|
|
34
34
|
readonly provider: string;
|
|
35
35
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
@@ -37,7 +37,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
37
37
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
38
38
|
readonly provider: typeof Schema.String;
|
|
39
39
|
readonly access_token: Model.Sensitive<typeof Schema.String>;
|
|
40
|
-
readonly refresh_token: Model.Sensitive<Schema.
|
|
40
|
+
readonly refresh_token: Model.Sensitive<Schema.OptionFromNullOr<typeof Schema.String>>;
|
|
41
41
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
42
42
|
readonly updated_at: Model.DateTimeUpdateFromDate;
|
|
43
43
|
}, true>>, never, {
|
|
@@ -51,7 +51,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
51
51
|
} & {
|
|
52
52
|
readonly access_token: string;
|
|
53
53
|
} & {
|
|
54
|
-
readonly refresh_token: string
|
|
54
|
+
readonly refresh_token: import("effect/Option").Option<string>;
|
|
55
55
|
} & {
|
|
56
56
|
readonly provider: string;
|
|
57
57
|
}> & {
|
|
@@ -60,7 +60,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
60
60
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
61
61
|
readonly provider: typeof Schema.String;
|
|
62
62
|
readonly access_token: typeof Schema.String;
|
|
63
|
-
readonly refresh_token: Schema.
|
|
63
|
+
readonly refresh_token: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
64
64
|
readonly created_at: Model.DateTimeFromDate;
|
|
65
65
|
readonly updated_at: Model.DateTimeFromDate;
|
|
66
66
|
}>;
|
|
@@ -68,7 +68,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
68
68
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
69
69
|
readonly provider: typeof Schema.String;
|
|
70
70
|
readonly access_token: typeof Schema.String;
|
|
71
|
-
readonly refresh_token: Schema.
|
|
71
|
+
readonly refresh_token: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
72
72
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
73
73
|
readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
74
74
|
}>;
|
|
@@ -77,7 +77,7 @@ declare const OAuthConnection_base: import("@effect/experimental/VariantSchema")
|
|
|
77
77
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
78
78
|
readonly provider: typeof Schema.String;
|
|
79
79
|
readonly access_token: typeof Schema.String;
|
|
80
|
-
readonly refresh_token: Schema.
|
|
80
|
+
readonly refresh_token: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
81
81
|
readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
82
82
|
}>;
|
|
83
83
|
readonly json: Schema.Struct<{
|