@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
|
@@ -10,11 +10,11 @@ declare const RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
10
10
|
readonly guild_id: typeof Schema.String;
|
|
11
11
|
readonly event_type: Schema.Literal<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
12
12
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
13
|
-
readonly role_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 role_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, "RoleSyncEventId">>;
|
|
@@ -22,11 +22,11 @@ declare const RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
22
22
|
readonly guild_id: typeof Schema.String;
|
|
23
23
|
readonly event_type: Schema.Literal<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
24
24
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
25
|
-
readonly role_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 role_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<"RoleSyncEventId">;
|
|
@@ -39,28 +39,28 @@ declare const RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
39
39
|
} & {
|
|
40
40
|
readonly role_id: string & import("effect/Brand").Brand<"RoleId">;
|
|
41
41
|
} & {
|
|
42
|
-
readonly error: string
|
|
42
|
+
readonly error: import("effect/Option").Option<string>;
|
|
43
43
|
} & {
|
|
44
44
|
readonly event_type: "role_assigned" | "role_unassigned" | "role_created" | "role_deleted";
|
|
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 discord_user_id: string
|
|
48
|
+
readonly discord_user_id: import("effect/Option").Option<string>;
|
|
49
49
|
} & {
|
|
50
|
-
readonly processed_at: string
|
|
50
|
+
readonly processed_at: import("effect/Option").Option<string>;
|
|
51
51
|
} & {
|
|
52
|
-
readonly role_name: string
|
|
52
|
+
readonly role_name: 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, "RoleSyncEventId">>;
|
|
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<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
58
58
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
59
|
-
readonly role_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 role_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<"RoleSyncEventId">;
|
|
@@ -73,17 +73,17 @@ declare const RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
73
73
|
} & {
|
|
74
74
|
readonly role_id: string & import("effect/Brand").Brand<"RoleId">;
|
|
75
75
|
} & {
|
|
76
|
-
readonly error: string
|
|
76
|
+
readonly error: import("effect/Option").Option<string>;
|
|
77
77
|
} & {
|
|
78
78
|
readonly event_type: "role_assigned" | "role_unassigned" | "role_created" | "role_deleted";
|
|
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 discord_user_id: string
|
|
82
|
+
readonly discord_user_id: import("effect/Option").Option<string>;
|
|
83
83
|
} & {
|
|
84
|
-
readonly processed_at: string
|
|
84
|
+
readonly processed_at: import("effect/Option").Option<string>;
|
|
85
85
|
} & {
|
|
86
|
-
readonly role_name: string
|
|
86
|
+
readonly role_name: import("effect/Option").Option<string>;
|
|
87
87
|
}> & {
|
|
88
88
|
readonly select: Schema.Struct<{
|
|
89
89
|
readonly id: Schema.brand<typeof Schema.String, "RoleSyncEventId">;
|
|
@@ -91,11 +91,11 @@ declare const RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
91
91
|
readonly guild_id: typeof Schema.String;
|
|
92
92
|
readonly event_type: Schema.Literal<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
93
93
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
94
|
-
readonly role_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 role_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 RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
103
103
|
readonly guild_id: typeof Schema.String;
|
|
104
104
|
readonly event_type: Schema.Literal<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
105
105
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
106
|
-
readonly role_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 role_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 RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
116
116
|
readonly guild_id: typeof Schema.String;
|
|
117
117
|
readonly event_type: Schema.Literal<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
118
118
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
119
|
-
readonly role_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 role_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, "RoleSyncEventId">;
|
|
@@ -128,11 +128,11 @@ declare const RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
128
128
|
readonly guild_id: typeof Schema.String;
|
|
129
129
|
readonly event_type: Schema.Literal<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
130
130
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
131
|
-
readonly role_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 role_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 RoleSyncEvent_base: import("@effect/experimental/VariantSchema").C
|
|
|
140
140
|
readonly guild_id: typeof Schema.String;
|
|
141
141
|
readonly event_type: Schema.Literal<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
142
142
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
143
|
-
readonly role_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 role_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<["role_assigned", "role_unassigned", "role_created", "role_deleted"]>;
|
|
153
153
|
readonly role_id: Schema.brand<typeof Schema.String, "RoleId">;
|
|
154
|
-
readonly role_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 role_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 RoleSyncEvent extends RoleSyncEvent_base {
|
|
@@ -9,7 +9,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
9
9
|
readonly active: typeof Schema.Boolean;
|
|
10
10
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
11
11
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
12
|
-
readonly expires_at: Schema.
|
|
12
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
13
13
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
14
14
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "TeamInviteId">>;
|
|
15
15
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
@@ -17,7 +17,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
17
17
|
readonly active: typeof Schema.Boolean;
|
|
18
18
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
19
19
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
20
|
-
readonly expires_at: Schema.
|
|
20
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
21
21
|
}, true>, {
|
|
22
22
|
readonly id: string & import("effect/Brand").Brand<"TeamInviteId">;
|
|
23
23
|
} & {
|
|
@@ -31,7 +31,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
31
31
|
} & {
|
|
32
32
|
readonly active: boolean;
|
|
33
33
|
} & {
|
|
34
|
-
readonly expires_at: import("effect/DateTime").Utc
|
|
34
|
+
readonly expires_at: import("effect/Option").Option<import("effect/DateTime").Utc>;
|
|
35
35
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
36
36
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "TeamInviteId">>;
|
|
37
37
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
@@ -39,7 +39,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
39
39
|
readonly active: typeof Schema.Boolean;
|
|
40
40
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
41
41
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
42
|
-
readonly expires_at: Schema.
|
|
42
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
43
43
|
}, true>>, never, {
|
|
44
44
|
readonly id: string & import("effect/Brand").Brand<"TeamInviteId">;
|
|
45
45
|
} & {
|
|
@@ -53,7 +53,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
53
53
|
} & {
|
|
54
54
|
readonly active: boolean;
|
|
55
55
|
} & {
|
|
56
|
-
readonly expires_at: import("effect/DateTime").Utc
|
|
56
|
+
readonly expires_at: import("effect/Option").Option<import("effect/DateTime").Utc>;
|
|
57
57
|
}> & {
|
|
58
58
|
readonly select: Schema.Struct<{
|
|
59
59
|
readonly id: Schema.brand<typeof Schema.String, "TeamInviteId">;
|
|
@@ -62,7 +62,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
62
62
|
readonly active: typeof Schema.Boolean;
|
|
63
63
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
64
64
|
readonly created_at: Model.DateTimeFromDate;
|
|
65
|
-
readonly expires_at: Schema.
|
|
65
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
66
66
|
}>;
|
|
67
67
|
readonly insert: Schema.Struct<{
|
|
68
68
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
@@ -70,7 +70,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
70
70
|
readonly active: typeof Schema.Boolean;
|
|
71
71
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
72
72
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
73
|
-
readonly expires_at: Schema.
|
|
73
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
74
74
|
}>;
|
|
75
75
|
readonly update: Schema.Struct<{
|
|
76
76
|
readonly id: Schema.brand<typeof Schema.String, "TeamInviteId">;
|
|
@@ -78,7 +78,7 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
78
78
|
readonly code: typeof Schema.String;
|
|
79
79
|
readonly active: typeof Schema.Boolean;
|
|
80
80
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
81
|
-
readonly expires_at: Schema.
|
|
81
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
82
82
|
}>;
|
|
83
83
|
readonly json: Schema.Struct<{
|
|
84
84
|
readonly id: Schema.brand<typeof Schema.String, "TeamInviteId">;
|
|
@@ -87,21 +87,21 @@ declare const TeamInvite_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
87
87
|
readonly active: typeof Schema.Boolean;
|
|
88
88
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
89
89
|
readonly created_at: typeof Schema.DateTimeUtc;
|
|
90
|
-
readonly expires_at: Schema.
|
|
90
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
91
91
|
}>;
|
|
92
92
|
readonly jsonCreate: Schema.Struct<{
|
|
93
93
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
94
94
|
readonly code: typeof Schema.String;
|
|
95
95
|
readonly active: typeof Schema.Boolean;
|
|
96
96
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
97
|
-
readonly expires_at: Schema.
|
|
97
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
98
98
|
}>;
|
|
99
99
|
readonly jsonUpdate: Schema.Struct<{
|
|
100
100
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
101
101
|
readonly code: typeof Schema.String;
|
|
102
102
|
readonly active: typeof Schema.Boolean;
|
|
103
103
|
readonly created_by: Schema.brand<typeof Schema.String, "UserId">;
|
|
104
|
-
readonly expires_at: Schema.
|
|
104
|
+
readonly expires_at: Schema.OptionFromNullOr<Schema.transform<typeof Schema.DateFromSelf, typeof Schema.DateTimeUtcFromSelf>>;
|
|
105
105
|
}>;
|
|
106
106
|
};
|
|
107
107
|
export declare class TeamInvite extends TeamInvite_base {
|
|
@@ -8,11 +8,11 @@ declare const TeamMember_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
8
8
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
9
9
|
readonly active: typeof Schema.Boolean;
|
|
10
10
|
readonly jersey_number: import("@effect/experimental/VariantSchema").Field<{
|
|
11
|
-
readonly select: Schema.
|
|
12
|
-
readonly update: Schema.
|
|
13
|
-
readonly json: Schema.
|
|
14
|
-
readonly jsonCreate: Schema.
|
|
15
|
-
readonly jsonUpdate: Schema.
|
|
11
|
+
readonly select: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
12
|
+
readonly update: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
13
|
+
readonly json: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
14
|
+
readonly jsonCreate: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
15
|
+
readonly jsonUpdate: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
16
16
|
}>;
|
|
17
17
|
readonly joined_at: Model.DateTimeInsertFromDate;
|
|
18
18
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
@@ -21,11 +21,11 @@ declare const TeamMember_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
21
21
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
22
22
|
readonly active: typeof Schema.Boolean;
|
|
23
23
|
readonly jersey_number: import("@effect/experimental/VariantSchema").Field<{
|
|
24
|
-
readonly select: Schema.
|
|
25
|
-
readonly update: Schema.
|
|
26
|
-
readonly json: Schema.
|
|
27
|
-
readonly jsonCreate: Schema.
|
|
28
|
-
readonly jsonUpdate: Schema.
|
|
24
|
+
readonly select: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
25
|
+
readonly update: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
26
|
+
readonly json: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
27
|
+
readonly jsonCreate: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
28
|
+
readonly jsonUpdate: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
29
29
|
}>;
|
|
30
30
|
readonly joined_at: Model.DateTimeInsertFromDate;
|
|
31
31
|
}, true>, {
|
|
@@ -33,7 +33,7 @@ declare const TeamMember_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
33
33
|
} & {
|
|
34
34
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
35
35
|
} & {
|
|
36
|
-
readonly jersey_number: number
|
|
36
|
+
readonly jersey_number: import("effect/Option").Option<number>;
|
|
37
37
|
} & {
|
|
38
38
|
readonly user_id: string & import("effect/Brand").Brand<"UserId">;
|
|
39
39
|
} & {
|
|
@@ -46,11 +46,11 @@ declare const TeamMember_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
46
46
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
47
47
|
readonly active: typeof Schema.Boolean;
|
|
48
48
|
readonly jersey_number: import("@effect/experimental/VariantSchema").Field<{
|
|
49
|
-
readonly select: Schema.
|
|
50
|
-
readonly update: Schema.
|
|
51
|
-
readonly json: Schema.
|
|
52
|
-
readonly jsonCreate: Schema.
|
|
53
|
-
readonly jsonUpdate: Schema.
|
|
49
|
+
readonly select: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
50
|
+
readonly update: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
51
|
+
readonly json: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
52
|
+
readonly jsonCreate: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
53
|
+
readonly jsonUpdate: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
54
54
|
}>;
|
|
55
55
|
readonly joined_at: Model.DateTimeInsertFromDate;
|
|
56
56
|
}, true>>, never, {
|
|
@@ -58,7 +58,7 @@ declare const TeamMember_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
58
58
|
} & {
|
|
59
59
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
60
60
|
} & {
|
|
61
|
-
readonly jersey_number: number
|
|
61
|
+
readonly jersey_number: import("effect/Option").Option<number>;
|
|
62
62
|
} & {
|
|
63
63
|
readonly user_id: string & import("effect/Brand").Brand<"UserId">;
|
|
64
64
|
} & {
|
|
@@ -71,7 +71,7 @@ declare const TeamMember_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
71
71
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
72
72
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
73
73
|
readonly active: typeof Schema.Boolean;
|
|
74
|
-
readonly jersey_number: Schema.
|
|
74
|
+
readonly jersey_number: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
75
75
|
readonly joined_at: Model.DateTimeFromDate;
|
|
76
76
|
}>;
|
|
77
77
|
readonly insert: Schema.Struct<{
|
|
@@ -85,27 +85,27 @@ declare const TeamMember_base: import("@effect/experimental/VariantSchema").Clas
|
|
|
85
85
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
86
86
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
87
87
|
readonly active: typeof Schema.Boolean;
|
|
88
|
-
readonly jersey_number: Schema.
|
|
88
|
+
readonly jersey_number: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
89
89
|
}>;
|
|
90
90
|
readonly json: Schema.Struct<{
|
|
91
91
|
readonly id: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
92
92
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
93
93
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
94
94
|
readonly active: typeof Schema.Boolean;
|
|
95
|
-
readonly jersey_number: Schema.
|
|
95
|
+
readonly jersey_number: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
96
96
|
readonly joined_at: typeof Schema.DateTimeUtc;
|
|
97
97
|
}>;
|
|
98
98
|
readonly jsonCreate: Schema.Struct<{
|
|
99
99
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
100
100
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
101
101
|
readonly active: typeof Schema.Boolean;
|
|
102
|
-
readonly jersey_number: Schema.
|
|
102
|
+
readonly jersey_number: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
103
103
|
}>;
|
|
104
104
|
readonly jsonUpdate: Schema.Struct<{
|
|
105
105
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
106
106
|
readonly user_id: Schema.brand<typeof Schema.String, "UserId">;
|
|
107
107
|
readonly active: typeof Schema.Boolean;
|
|
108
|
-
readonly jersey_number: Schema.
|
|
108
|
+
readonly jersey_number: Schema.OptionFromNullOr<typeof Schema.Number>;
|
|
109
109
|
}>;
|
|
110
110
|
};
|
|
111
111
|
export declare class TeamMember extends TeamMember_base {
|
|
@@ -6,13 +6,15 @@ declare const TrainingType_base: import("@effect/experimental/VariantSchema").Cl
|
|
|
6
6
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
7
7
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
8
8
|
readonly name: typeof Schema.String;
|
|
9
|
-
readonly
|
|
9
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
10
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
10
11
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
11
12
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
12
13
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
13
14
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
14
15
|
readonly name: typeof Schema.String;
|
|
15
|
-
readonly
|
|
16
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
17
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
16
18
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
17
19
|
}, true>, {
|
|
18
20
|
readonly name: string;
|
|
@@ -23,12 +25,15 @@ declare const TrainingType_base: import("@effect/experimental/VariantSchema").Cl
|
|
|
23
25
|
} & {
|
|
24
26
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
25
27
|
} & {
|
|
26
|
-
readonly
|
|
28
|
+
readonly owner_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
29
|
+
} & {
|
|
30
|
+
readonly member_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
27
31
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
28
32
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
29
33
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
30
34
|
readonly name: typeof Schema.String;
|
|
31
|
-
readonly
|
|
35
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
36
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
32
37
|
readonly created_at: Model.DateTimeInsertFromDate;
|
|
33
38
|
}, true>>, never, {
|
|
34
39
|
readonly name: string;
|
|
@@ -39,43 +44,51 @@ declare const TrainingType_base: import("@effect/experimental/VariantSchema").Cl
|
|
|
39
44
|
} & {
|
|
40
45
|
readonly team_id: string & import("effect/Brand").Brand<"TeamId">;
|
|
41
46
|
} & {
|
|
42
|
-
readonly
|
|
47
|
+
readonly owner_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
48
|
+
} & {
|
|
49
|
+
readonly member_group_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
43
50
|
}> & {
|
|
44
51
|
readonly select: Schema.Struct<{
|
|
45
52
|
readonly id: Schema.brand<typeof Schema.String, "TrainingTypeId">;
|
|
46
53
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
47
54
|
readonly name: typeof Schema.String;
|
|
48
|
-
readonly
|
|
55
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
56
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
49
57
|
readonly created_at: Model.DateTimeFromDate;
|
|
50
58
|
}>;
|
|
51
59
|
readonly insert: Schema.Struct<{
|
|
52
60
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
53
61
|
readonly name: typeof Schema.String;
|
|
54
|
-
readonly
|
|
62
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
63
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
55
64
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
56
65
|
}>;
|
|
57
66
|
readonly update: Schema.Struct<{
|
|
58
67
|
readonly id: Schema.brand<typeof Schema.String, "TrainingTypeId">;
|
|
59
68
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
60
69
|
readonly name: typeof Schema.String;
|
|
61
|
-
readonly
|
|
70
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
71
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
62
72
|
}>;
|
|
63
73
|
readonly json: Schema.Struct<{
|
|
64
74
|
readonly id: Schema.brand<typeof Schema.String, "TrainingTypeId">;
|
|
65
75
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
66
76
|
readonly name: typeof Schema.String;
|
|
67
|
-
readonly
|
|
77
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
78
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
68
79
|
readonly created_at: typeof Schema.DateTimeUtc;
|
|
69
80
|
}>;
|
|
70
81
|
readonly jsonCreate: Schema.Struct<{
|
|
71
82
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
72
83
|
readonly name: typeof Schema.String;
|
|
73
|
-
readonly
|
|
84
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
85
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
74
86
|
}>;
|
|
75
87
|
readonly jsonUpdate: Schema.Struct<{
|
|
76
88
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
77
89
|
readonly name: typeof Schema.String;
|
|
78
|
-
readonly
|
|
90
|
+
readonly owner_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
91
|
+
readonly member_group_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
79
92
|
}>;
|
|
80
93
|
};
|
|
81
94
|
export declare class TrainingType extends TrainingType_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrainingType.d.ts","sourceRoot":"","sources":["../../../src/models/TrainingType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIhC,eAAO,MAAM,cAAc,sDAAqD,CAAC;AACjF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC
|
|
1
|
+
{"version":3,"file":"TrainingType.d.ts","sourceRoot":"","sources":["../../../src/models/TrainingType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIhC,eAAO,MAAM,cAAc,sDAAqD,CAAC;AACjF,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,qBAAa,YAAa,SAAQ,iBAOhC;CAAG"}
|