@sideline/domain 0.8.0 → 0.10.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 +26 -23
- package/dist/cjs/api/EventApi.js.map +1 -1
- package/dist/cjs/api/EventRsvpApi.js +28 -10
- package/dist/cjs/api/EventRsvpApi.js.map +1 -1
- package/dist/cjs/api/EventSeriesApi.js +33 -27
- 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 +11 -3
- package/dist/cjs/api/RoleApi.js.map +1 -1
- package/dist/cjs/api/Roster.js +10 -10
- package/dist/cjs/api/Roster.js.map +1 -1
- package/dist/cjs/api/TeamSettingsApi.js +21 -12
- package/dist/cjs/api/TeamSettingsApi.js.map +1 -1
- package/dist/cjs/api/TrainingTypeApi.js +17 -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 +5 -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 -7
- 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/TeamSettings.js +2 -0
- package/dist/cjs/models/TeamSettings.js.map +1 -1
- package/dist/cjs/models/TrainingType.js +1 -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 +24 -12
- package/dist/cjs/rpc/event/EventRpcEvents.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcGroup.js +30 -4
- package/dist/cjs/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcModels.js +60 -13
- 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 +73 -73
- package/dist/dts/api/EventApi.d.ts.map +1 -1
- package/dist/dts/api/EventRsvpApi.d.ts +52 -19
- package/dist/dts/api/EventRsvpApi.d.ts.map +1 -1
- package/dist/dts/api/EventSeriesApi.d.ts +89 -81
- 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 +13 -8
- package/dist/dts/api/RoleApi.d.ts.map +1 -1
- package/dist/dts/api/Roster.d.ts +32 -32
- package/dist/dts/api/TeamSettingsApi.d.ts +60 -36
- package/dist/dts/api/TeamSettingsApi.d.ts.map +1 -1
- package/dist/dts/api/TrainingTypeApi.d.ts +28 -23
- 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 +57 -57
- package/dist/dts/models/EventRsvp.d.ts +11 -11
- package/dist/dts/models/EventSeries.d.ts +68 -66
- 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/TeamSettings.d.ts +26 -0
- package/dist/dts/models/TeamSettings.d.ts.map +1 -1
- package/dist/dts/models/TrainingType.d.ts +11 -11
- 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 +24 -9
- package/dist/dts/rpc/SyncRpcs.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcEvents.d.ts +24 -11
- package/dist/dts/rpc/event/EventRpcEvents.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcGroup.d.ts +22 -7
- package/dist/dts/rpc/event/EventRpcGroup.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcModels.d.ts +165 -36
- 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 +25 -23
- package/dist/esm/api/EventApi.js.map +1 -1
- package/dist/esm/api/EventRsvpApi.js +25 -9
- package/dist/esm/api/EventRsvpApi.js.map +1 -1
- package/dist/esm/api/EventSeriesApi.js +33 -28
- 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 +9 -2
- package/dist/esm/api/RoleApi.js.map +1 -1
- package/dist/esm/api/Roster.js +10 -10
- package/dist/esm/api/Roster.js.map +1 -1
- package/dist/esm/api/TeamSettingsApi.js +21 -12
- package/dist/esm/api/TeamSettingsApi.js.map +1 -1
- package/dist/esm/api/TrainingTypeApi.js +15 -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 +5 -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 +7 -6
- 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/TeamSettings.js +2 -0
- package/dist/esm/models/TeamSettings.js.map +1 -1
- package/dist/esm/models/TrainingType.js +1 -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 +21 -11
- package/dist/esm/rpc/event/EventRpcEvents.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcGroup.js +31 -5
- package/dist/esm/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcModels.js +49 -12
- 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 +27 -23
- package/src/api/EventRsvpApi.ts +27 -6
- package/src/api/EventSeriesApi.ts +33 -28
- package/src/api/GroupApi.ts +21 -13
- package/src/api/ICalApi.ts +32 -0
- package/src/api/RoleApi.ts +10 -2
- package/src/api/Roster.ts +10 -10
- package/src/api/TeamSettingsApi.ts +21 -12
- package/src/api/TrainingTypeApi.ts +16 -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 +5 -5
- package/src/models/EventRsvp.ts +1 -1
- package/src/models/EventSeries.ts +9 -6
- 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/TeamSettings.ts +2 -0
- package/src/models/TrainingType.ts +1 -1
- package/src/models/User.ts +5 -4
- package/src/rpc/event/EventRpcEvents.ts +22 -10
- package/src/rpc/event/EventRpcGroup.ts +38 -4
- package/src/rpc/event/EventRpcModels.ts +71 -12
- package/src/rpc/guild/GuildRpcGroup.ts +3 -3
|
@@ -10,11 +10,11 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
10
10
|
readonly guild_id: typeof Schema.String;
|
|
11
11
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
12
12
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
13
|
-
readonly group_name: Schema.
|
|
14
|
-
readonly team_member_id: Schema.
|
|
15
|
-
readonly discord_user_id: Schema.
|
|
16
|
-
readonly processed_at: Schema.
|
|
17
|
-
readonly error: Schema.
|
|
13
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
14
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
15
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
16
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
17
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
18
18
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
19
19
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
20
20
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "ChannelSyncEventId">>;
|
|
@@ -22,11 +22,11 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
22
22
|
readonly guild_id: typeof Schema.String;
|
|
23
23
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
24
24
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
25
|
-
readonly group_name: Schema.
|
|
26
|
-
readonly team_member_id: Schema.
|
|
27
|
-
readonly discord_user_id: Schema.
|
|
28
|
-
readonly processed_at: Schema.
|
|
29
|
-
readonly error: Schema.
|
|
25
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
26
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
27
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
28
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
29
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
30
30
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
31
31
|
}, true>, {
|
|
32
32
|
readonly id: string & import("effect/Brand").Brand<"ChannelSyncEventId">;
|
|
@@ -37,30 +37,30 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
37
37
|
} & {
|
|
38
38
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
39
39
|
} & {
|
|
40
|
-
readonly error: string
|
|
40
|
+
readonly error: import("effect/Option").Option<string>;
|
|
41
41
|
} & {
|
|
42
42
|
readonly group_id: string & import("effect/Brand").Brand<"GroupId">;
|
|
43
43
|
} & {
|
|
44
44
|
readonly event_type: "channel_created" | "channel_deleted" | "member_added" | "member_removed";
|
|
45
45
|
} & {
|
|
46
|
-
readonly team_member_id: (string & import("effect/Brand").Brand<"TeamMemberId"
|
|
46
|
+
readonly team_member_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TeamMemberId">>;
|
|
47
47
|
} & {
|
|
48
|
-
readonly group_name: string
|
|
48
|
+
readonly group_name: import("effect/Option").Option<string>;
|
|
49
49
|
} & {
|
|
50
|
-
readonly discord_user_id: string
|
|
50
|
+
readonly discord_user_id: import("effect/Option").Option<string>;
|
|
51
51
|
} & {
|
|
52
|
-
readonly processed_at: string
|
|
52
|
+
readonly processed_at: import("effect/Option").Option<string>;
|
|
53
53
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
54
54
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "ChannelSyncEventId">>;
|
|
55
55
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
56
56
|
readonly guild_id: typeof Schema.String;
|
|
57
57
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
58
58
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
59
|
-
readonly group_name: Schema.
|
|
60
|
-
readonly team_member_id: Schema.
|
|
61
|
-
readonly discord_user_id: Schema.
|
|
62
|
-
readonly processed_at: Schema.
|
|
63
|
-
readonly error: Schema.
|
|
59
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
60
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
61
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
62
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
63
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
64
64
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
65
65
|
}, true>>, never, {
|
|
66
66
|
readonly id: string & import("effect/Brand").Brand<"ChannelSyncEventId">;
|
|
@@ -71,19 +71,19 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
71
71
|
} & {
|
|
72
72
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
73
73
|
} & {
|
|
74
|
-
readonly error: string
|
|
74
|
+
readonly error: import("effect/Option").Option<string>;
|
|
75
75
|
} & {
|
|
76
76
|
readonly group_id: string & import("effect/Brand").Brand<"GroupId">;
|
|
77
77
|
} & {
|
|
78
78
|
readonly event_type: "channel_created" | "channel_deleted" | "member_added" | "member_removed";
|
|
79
79
|
} & {
|
|
80
|
-
readonly team_member_id: (string & import("effect/Brand").Brand<"TeamMemberId"
|
|
80
|
+
readonly team_member_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TeamMemberId">>;
|
|
81
81
|
} & {
|
|
82
|
-
readonly group_name: string
|
|
82
|
+
readonly group_name: import("effect/Option").Option<string>;
|
|
83
83
|
} & {
|
|
84
|
-
readonly discord_user_id: string
|
|
84
|
+
readonly discord_user_id: import("effect/Option").Option<string>;
|
|
85
85
|
} & {
|
|
86
|
-
readonly processed_at: string
|
|
86
|
+
readonly processed_at: import("effect/Option").Option<string>;
|
|
87
87
|
}> & {
|
|
88
88
|
readonly select: Schema.Struct<{
|
|
89
89
|
readonly id: Schema.brand<typeof Schema.String, "ChannelSyncEventId">;
|
|
@@ -91,11 +91,11 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
91
91
|
readonly guild_id: typeof Schema.String;
|
|
92
92
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
93
93
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
94
|
-
readonly group_name: Schema.
|
|
95
|
-
readonly team_member_id: Schema.
|
|
96
|
-
readonly discord_user_id: Schema.
|
|
97
|
-
readonly processed_at: Schema.
|
|
98
|
-
readonly error: Schema.
|
|
94
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
95
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
96
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
97
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
98
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
99
99
|
readonly created_at: Model.DateTimeFromDate;
|
|
100
100
|
}>;
|
|
101
101
|
readonly insert: Schema.Struct<{
|
|
@@ -103,11 +103,11 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
103
103
|
readonly guild_id: typeof Schema.String;
|
|
104
104
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
105
105
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
106
|
-
readonly group_name: Schema.
|
|
107
|
-
readonly team_member_id: Schema.
|
|
108
|
-
readonly discord_user_id: Schema.
|
|
109
|
-
readonly processed_at: Schema.
|
|
110
|
-
readonly error: Schema.
|
|
106
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
107
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
108
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
109
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
110
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
111
111
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
112
112
|
}>;
|
|
113
113
|
readonly update: Schema.Struct<{
|
|
@@ -116,11 +116,11 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
116
116
|
readonly guild_id: typeof Schema.String;
|
|
117
117
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
118
118
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
119
|
-
readonly group_name: Schema.
|
|
120
|
-
readonly team_member_id: Schema.
|
|
121
|
-
readonly discord_user_id: Schema.
|
|
122
|
-
readonly processed_at: Schema.
|
|
123
|
-
readonly error: Schema.
|
|
119
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
120
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
121
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
122
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
123
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
124
124
|
}>;
|
|
125
125
|
readonly json: Schema.Struct<{
|
|
126
126
|
readonly id: Schema.brand<typeof Schema.String, "ChannelSyncEventId">;
|
|
@@ -128,11 +128,11 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
128
128
|
readonly guild_id: typeof Schema.String;
|
|
129
129
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
130
130
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
131
|
-
readonly group_name: Schema.
|
|
132
|
-
readonly team_member_id: Schema.
|
|
133
|
-
readonly discord_user_id: Schema.
|
|
134
|
-
readonly processed_at: Schema.
|
|
135
|
-
readonly error: Schema.
|
|
131
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
132
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
133
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
134
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
135
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
136
136
|
readonly created_at: typeof Schema.DateTimeUtc;
|
|
137
137
|
}>;
|
|
138
138
|
readonly jsonCreate: Schema.Struct<{
|
|
@@ -140,22 +140,22 @@ declare const ChannelSyncEvent_base: import("@effect/experimental/VariantSchema"
|
|
|
140
140
|
readonly guild_id: typeof Schema.String;
|
|
141
141
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
142
142
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
143
|
-
readonly group_name: Schema.
|
|
144
|
-
readonly team_member_id: Schema.
|
|
145
|
-
readonly discord_user_id: Schema.
|
|
146
|
-
readonly processed_at: Schema.
|
|
147
|
-
readonly error: Schema.
|
|
143
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
144
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
145
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
146
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
147
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
148
148
|
}>;
|
|
149
149
|
readonly jsonUpdate: Schema.Struct<{
|
|
150
150
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
151
151
|
readonly guild_id: typeof Schema.String;
|
|
152
152
|
readonly event_type: Schema.Literal<["channel_created", "channel_deleted", "member_added", "member_removed"]>;
|
|
153
153
|
readonly group_id: Schema.brand<typeof Schema.String, "GroupId">;
|
|
154
|
-
readonly group_name: Schema.
|
|
155
|
-
readonly team_member_id: Schema.
|
|
156
|
-
readonly discord_user_id: Schema.
|
|
157
|
-
readonly processed_at: Schema.
|
|
158
|
-
readonly error: Schema.
|
|
154
|
+
readonly group_name: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
155
|
+
readonly team_member_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TeamMemberId">>;
|
|
156
|
+
readonly discord_user_id: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
157
|
+
readonly processed_at: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
158
|
+
readonly error: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
159
159
|
}>;
|
|
160
160
|
};
|
|
161
161
|
export declare class ChannelSyncEvent extends ChannelSyncEvent_base {
|
|
@@ -9,14 +9,14 @@ export type EventStatus = typeof EventStatus.Type;
|
|
|
9
9
|
declare const Event_base: import("@effect/experimental/VariantSchema").Class<Event, {
|
|
10
10
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventId">>;
|
|
11
11
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
12
|
-
readonly training_type_id: Schema.
|
|
12
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
13
13
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
14
14
|
readonly title: typeof Schema.String;
|
|
15
|
-
readonly description: Schema.
|
|
15
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
16
16
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
17
|
-
readonly end_at: Schema.
|
|
18
|
-
readonly location: Schema.
|
|
19
|
-
readonly series_id: Schema.
|
|
17
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
18
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
19
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
20
20
|
readonly series_modified: typeof Schema.Boolean;
|
|
21
21
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
22
22
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -31,14 +31,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
31
31
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
32
32
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventId">>;
|
|
33
33
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
34
|
-
readonly training_type_id: Schema.
|
|
34
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
35
35
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
36
36
|
readonly title: typeof Schema.String;
|
|
37
|
-
readonly description: Schema.
|
|
37
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
38
38
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
39
|
-
readonly end_at: Schema.
|
|
40
|
-
readonly location: Schema.
|
|
41
|
-
readonly series_id: Schema.
|
|
39
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
40
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
41
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
42
42
|
readonly series_modified: typeof Schema.Boolean;
|
|
43
43
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
44
44
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -63,19 +63,19 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
63
63
|
} & {
|
|
64
64
|
readonly status: "active" | "cancelled";
|
|
65
65
|
} & {
|
|
66
|
-
readonly
|
|
66
|
+
readonly description: import("effect/Option").Option<string>;
|
|
67
67
|
} & {
|
|
68
|
-
readonly
|
|
68
|
+
readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
69
69
|
} & {
|
|
70
|
-
readonly location: string
|
|
70
|
+
readonly location: import("effect/Option").Option<string>;
|
|
71
71
|
} & {
|
|
72
72
|
readonly title: string;
|
|
73
73
|
} & {
|
|
74
|
-
readonly end_at: import("effect/DateTime").Utc
|
|
74
|
+
readonly end_at: import("effect/Option").Option<import("effect/DateTime").Utc>;
|
|
75
75
|
} & {
|
|
76
|
-
readonly series_id: (string & import("effect/Brand").Brand<"EventSeriesId"
|
|
76
|
+
readonly series_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"EventSeriesId">>;
|
|
77
77
|
} & {
|
|
78
|
-
readonly event_type: "other" | "
|
|
78
|
+
readonly event_type: "other" | "match" | "training" | "tournament" | "meeting" | "social";
|
|
79
79
|
} & {
|
|
80
80
|
readonly start_at: import("effect/DateTime").Utc;
|
|
81
81
|
} & {
|
|
@@ -83,14 +83,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
83
83
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
84
84
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventId">>;
|
|
85
85
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
86
|
-
readonly training_type_id: Schema.
|
|
86
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
87
87
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
88
88
|
readonly title: typeof Schema.String;
|
|
89
|
-
readonly description: Schema.
|
|
89
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
90
90
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
91
|
-
readonly end_at: Schema.
|
|
92
|
-
readonly location: Schema.
|
|
93
|
-
readonly series_id: Schema.
|
|
91
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
92
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
93
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
94
94
|
readonly series_modified: typeof Schema.Boolean;
|
|
95
95
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
96
96
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -115,19 +115,19 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
115
115
|
} & {
|
|
116
116
|
readonly status: "active" | "cancelled";
|
|
117
117
|
} & {
|
|
118
|
-
readonly
|
|
118
|
+
readonly description: import("effect/Option").Option<string>;
|
|
119
119
|
} & {
|
|
120
|
-
readonly
|
|
120
|
+
readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
121
121
|
} & {
|
|
122
|
-
readonly location: string
|
|
122
|
+
readonly location: import("effect/Option").Option<string>;
|
|
123
123
|
} & {
|
|
124
124
|
readonly title: string;
|
|
125
125
|
} & {
|
|
126
|
-
readonly end_at: import("effect/DateTime").Utc
|
|
126
|
+
readonly end_at: import("effect/Option").Option<import("effect/DateTime").Utc>;
|
|
127
127
|
} & {
|
|
128
|
-
readonly series_id: (string & import("effect/Brand").Brand<"EventSeriesId"
|
|
128
|
+
readonly series_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"EventSeriesId">>;
|
|
129
129
|
} & {
|
|
130
|
-
readonly event_type: "other" | "
|
|
130
|
+
readonly event_type: "other" | "match" | "training" | "tournament" | "meeting" | "social";
|
|
131
131
|
} & {
|
|
132
132
|
readonly start_at: import("effect/DateTime").Utc;
|
|
133
133
|
} & {
|
|
@@ -136,14 +136,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
136
136
|
readonly select: Schema.Struct<{
|
|
137
137
|
readonly id: Schema.brand<typeof Schema.String, "EventId">;
|
|
138
138
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
139
|
-
readonly training_type_id: Schema.
|
|
139
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
140
140
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
141
141
|
readonly title: typeof Schema.String;
|
|
142
|
-
readonly description: Schema.
|
|
142
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
143
143
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
144
|
-
readonly end_at: Schema.
|
|
145
|
-
readonly location: Schema.
|
|
146
|
-
readonly series_id: Schema.
|
|
144
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
145
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
146
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
147
147
|
readonly series_modified: typeof Schema.Boolean;
|
|
148
148
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
149
149
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
@@ -152,14 +152,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
152
152
|
}>;
|
|
153
153
|
readonly insert: Schema.Struct<{
|
|
154
154
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
155
|
-
readonly training_type_id: Schema.
|
|
155
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
156
156
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
157
157
|
readonly title: typeof Schema.String;
|
|
158
|
-
readonly description: Schema.
|
|
158
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
159
159
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
160
|
-
readonly end_at: Schema.
|
|
161
|
-
readonly location: Schema.
|
|
162
|
-
readonly series_id: Schema.
|
|
160
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
161
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
162
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
163
163
|
readonly series_modified: typeof Schema.Boolean;
|
|
164
164
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
165
165
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
@@ -169,14 +169,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
169
169
|
readonly update: Schema.Struct<{
|
|
170
170
|
readonly id: Schema.brand<typeof Schema.String, "EventId">;
|
|
171
171
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
172
|
-
readonly training_type_id: Schema.
|
|
172
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
173
173
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
174
174
|
readonly title: typeof Schema.String;
|
|
175
|
-
readonly description: Schema.
|
|
175
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
176
176
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
177
|
-
readonly end_at: Schema.
|
|
178
|
-
readonly location: Schema.
|
|
179
|
-
readonly series_id: Schema.
|
|
177
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
178
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
179
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
180
180
|
readonly series_modified: typeof Schema.Boolean;
|
|
181
181
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
182
182
|
readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
@@ -184,14 +184,14 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
184
184
|
readonly json: Schema.Struct<{
|
|
185
185
|
readonly id: Schema.brand<typeof Schema.String, "EventId">;
|
|
186
186
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
187
|
-
readonly training_type_id: Schema.
|
|
187
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
188
188
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
189
189
|
readonly title: typeof Schema.String;
|
|
190
|
-
readonly description: Schema.
|
|
190
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
191
191
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
192
|
-
readonly end_at: Schema.
|
|
193
|
-
readonly location: Schema.
|
|
194
|
-
readonly series_id: Schema.
|
|
192
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
193
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
194
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
195
195
|
readonly series_modified: typeof Schema.Boolean;
|
|
196
196
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
197
197
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
@@ -200,28 +200,28 @@ declare const Event_base: import("@effect/experimental/VariantSchema").Class<Eve
|
|
|
200
200
|
}>;
|
|
201
201
|
readonly jsonCreate: Schema.Struct<{
|
|
202
202
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
203
|
-
readonly training_type_id: Schema.
|
|
203
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
204
204
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
205
205
|
readonly title: typeof Schema.String;
|
|
206
|
-
readonly description: Schema.
|
|
206
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
207
207
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
208
|
-
readonly end_at: Schema.
|
|
209
|
-
readonly location: Schema.
|
|
210
|
-
readonly series_id: Schema.
|
|
208
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
209
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
210
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
211
211
|
readonly series_modified: typeof Schema.Boolean;
|
|
212
212
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
213
213
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
214
214
|
}>;
|
|
215
215
|
readonly jsonUpdate: Schema.Struct<{
|
|
216
216
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
217
|
-
readonly training_type_id: Schema.
|
|
217
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
218
218
|
readonly event_type: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
219
219
|
readonly title: typeof Schema.String;
|
|
220
|
-
readonly description: Schema.
|
|
220
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
221
221
|
readonly start_at: Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>;
|
|
222
|
-
readonly end_at: Schema.
|
|
223
|
-
readonly location: Schema.
|
|
224
|
-
readonly series_id: Schema.
|
|
222
|
+
readonly end_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
223
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
224
|
+
readonly series_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
225
225
|
readonly series_modified: typeof Schema.Boolean;
|
|
226
226
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
227
227
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
@@ -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 {
|