@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
|
@@ -6,21 +6,23 @@ export declare const RecurrenceFrequency: Schema.Literal<["weekly", "biweekly"]>
|
|
|
6
6
|
export type RecurrenceFrequency = typeof RecurrenceFrequency.Type;
|
|
7
7
|
export declare const DayOfWeek: Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">;
|
|
8
8
|
export type DayOfWeek = typeof DayOfWeek.Type;
|
|
9
|
+
export declare const DaysOfWeek: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
10
|
+
export type DaysOfWeek = typeof DaysOfWeek.Type;
|
|
9
11
|
export declare const EventSeriesStatus: Schema.Literal<["active", "cancelled"]>;
|
|
10
12
|
export type EventSeriesStatus = typeof EventSeriesStatus.Type;
|
|
11
13
|
declare const EventSeries_base: import("@effect/experimental/VariantSchema").Class<EventSeries, {
|
|
12
14
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
13
15
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
14
|
-
readonly training_type_id: Schema.
|
|
16
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
15
17
|
readonly title: typeof Schema.String;
|
|
16
|
-
readonly description: Schema.
|
|
18
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
17
19
|
readonly start_time: typeof Schema.String;
|
|
18
|
-
readonly end_time: Schema.
|
|
19
|
-
readonly location: Schema.
|
|
20
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
21
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
20
22
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
21
|
-
readonly
|
|
23
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
22
24
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
23
|
-
readonly end_date: Schema.
|
|
25
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
24
26
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
25
27
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
26
28
|
readonly insert: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -34,16 +36,16 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
34
36
|
}, import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
35
37
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
36
38
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
37
|
-
readonly training_type_id: Schema.
|
|
39
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
38
40
|
readonly title: typeof Schema.String;
|
|
39
|
-
readonly description: Schema.
|
|
41
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
40
42
|
readonly start_time: typeof Schema.String;
|
|
41
|
-
readonly end_time: Schema.
|
|
42
|
-
readonly location: Schema.
|
|
43
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
44
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
43
45
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
44
|
-
readonly
|
|
46
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
45
47
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
46
|
-
readonly end_date: Schema.
|
|
48
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
47
49
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
48
50
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
49
51
|
readonly insert: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -67,15 +69,15 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
67
69
|
} & {
|
|
68
70
|
readonly status: "active" | "cancelled";
|
|
69
71
|
} & {
|
|
70
|
-
readonly
|
|
72
|
+
readonly description: import("effect/Option").Option<string>;
|
|
71
73
|
} & {
|
|
72
|
-
readonly
|
|
74
|
+
readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
73
75
|
} & {
|
|
74
|
-
readonly end_time: string
|
|
76
|
+
readonly end_time: import("effect/Option").Option<string>;
|
|
75
77
|
} & {
|
|
76
|
-
readonly location: string
|
|
78
|
+
readonly location: import("effect/Option").Option<string>;
|
|
77
79
|
} & {
|
|
78
|
-
readonly end_date: Date
|
|
80
|
+
readonly end_date: import("effect/Option").Option<Date>;
|
|
79
81
|
} & {
|
|
80
82
|
readonly title: string;
|
|
81
83
|
} & {
|
|
@@ -83,22 +85,22 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
83
85
|
} & {
|
|
84
86
|
readonly frequency: "weekly" | "biweekly";
|
|
85
87
|
} & {
|
|
86
|
-
readonly
|
|
88
|
+
readonly days_of_week: readonly (number & import("effect/Brand").Brand<"DayOfWeek">)[];
|
|
87
89
|
} & {
|
|
88
90
|
readonly start_date: Date;
|
|
89
91
|
}, Schema.Struct.Encoded<import("@effect/experimental/VariantSchema").ExtractFields<"select", {
|
|
90
92
|
readonly id: Model.Generated<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
91
93
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
92
|
-
readonly training_type_id: Schema.
|
|
94
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
93
95
|
readonly title: typeof Schema.String;
|
|
94
|
-
readonly description: Schema.
|
|
96
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
95
97
|
readonly start_time: typeof Schema.String;
|
|
96
|
-
readonly end_time: Schema.
|
|
97
|
-
readonly location: Schema.
|
|
98
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
99
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
98
100
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
99
|
-
readonly
|
|
101
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
100
102
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
101
|
-
readonly end_date: Schema.
|
|
103
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
102
104
|
readonly status: import("@effect/experimental/VariantSchema").Field<{
|
|
103
105
|
readonly select: Schema.Literal<["active", "cancelled"]>;
|
|
104
106
|
readonly insert: Schema.Literal<["active", "cancelled"]>;
|
|
@@ -122,15 +124,15 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
122
124
|
} & {
|
|
123
125
|
readonly status: "active" | "cancelled";
|
|
124
126
|
} & {
|
|
125
|
-
readonly
|
|
127
|
+
readonly description: import("effect/Option").Option<string>;
|
|
126
128
|
} & {
|
|
127
|
-
readonly
|
|
129
|
+
readonly training_type_id: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
128
130
|
} & {
|
|
129
|
-
readonly end_time: string
|
|
131
|
+
readonly end_time: import("effect/Option").Option<string>;
|
|
130
132
|
} & {
|
|
131
|
-
readonly location: string
|
|
133
|
+
readonly location: import("effect/Option").Option<string>;
|
|
132
134
|
} & {
|
|
133
|
-
readonly end_date: Date
|
|
135
|
+
readonly end_date: import("effect/Option").Option<Date>;
|
|
134
136
|
} & {
|
|
135
137
|
readonly title: string;
|
|
136
138
|
} & {
|
|
@@ -138,23 +140,23 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
138
140
|
} & {
|
|
139
141
|
readonly frequency: "weekly" | "biweekly";
|
|
140
142
|
} & {
|
|
141
|
-
readonly
|
|
143
|
+
readonly days_of_week: readonly (number & import("effect/Brand").Brand<"DayOfWeek">)[];
|
|
142
144
|
} & {
|
|
143
145
|
readonly start_date: Date;
|
|
144
146
|
}> & {
|
|
145
147
|
readonly select: Schema.Struct<{
|
|
146
148
|
readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
|
|
147
149
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
148
|
-
readonly training_type_id: Schema.
|
|
150
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
149
151
|
readonly title: typeof Schema.String;
|
|
150
|
-
readonly description: Schema.
|
|
152
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
151
153
|
readonly start_time: typeof Schema.String;
|
|
152
|
-
readonly end_time: Schema.
|
|
153
|
-
readonly location: Schema.
|
|
154
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
155
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
154
156
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
155
|
-
readonly
|
|
157
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
156
158
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
157
|
-
readonly end_date: Schema.
|
|
159
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
158
160
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
159
161
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
160
162
|
readonly created_at: Model.DateTimeFromDate;
|
|
@@ -162,16 +164,16 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
162
164
|
}>;
|
|
163
165
|
readonly insert: Schema.Struct<{
|
|
164
166
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
165
|
-
readonly training_type_id: Schema.
|
|
167
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
166
168
|
readonly title: typeof Schema.String;
|
|
167
|
-
readonly description: Schema.
|
|
169
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
168
170
|
readonly start_time: typeof Schema.String;
|
|
169
|
-
readonly end_time: Schema.
|
|
170
|
-
readonly location: Schema.
|
|
171
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
172
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
171
173
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
172
|
-
readonly
|
|
174
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
173
175
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
174
|
-
readonly end_date: Schema.
|
|
176
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
175
177
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
176
178
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
177
179
|
readonly created_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
@@ -180,32 +182,32 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
180
182
|
readonly update: Schema.Struct<{
|
|
181
183
|
readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
|
|
182
184
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
183
|
-
readonly training_type_id: Schema.
|
|
185
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
184
186
|
readonly title: typeof Schema.String;
|
|
185
|
-
readonly description: Schema.
|
|
187
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
186
188
|
readonly start_time: typeof Schema.String;
|
|
187
|
-
readonly end_time: Schema.
|
|
188
|
-
readonly location: Schema.
|
|
189
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
190
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
189
191
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
190
|
-
readonly
|
|
192
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
191
193
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
192
|
-
readonly end_date: Schema.
|
|
194
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
193
195
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
194
196
|
readonly updated_at: import("@effect/experimental/VariantSchema").Overrideable<import("effect/DateTime").Utc, Date, never>;
|
|
195
197
|
}>;
|
|
196
198
|
readonly json: Schema.Struct<{
|
|
197
199
|
readonly id: Schema.brand<typeof Schema.String, "EventSeriesId">;
|
|
198
200
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
199
|
-
readonly training_type_id: Schema.
|
|
201
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
200
202
|
readonly title: typeof Schema.String;
|
|
201
|
-
readonly description: Schema.
|
|
203
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
202
204
|
readonly start_time: typeof Schema.String;
|
|
203
|
-
readonly end_time: Schema.
|
|
204
|
-
readonly location: Schema.
|
|
205
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
206
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
205
207
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
206
|
-
readonly
|
|
208
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
207
209
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
208
|
-
readonly end_date: Schema.
|
|
210
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
209
211
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
210
212
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
211
213
|
readonly created_at: typeof Schema.DateTimeUtc;
|
|
@@ -213,31 +215,31 @@ declare const EventSeries_base: import("@effect/experimental/VariantSchema").Cla
|
|
|
213
215
|
}>;
|
|
214
216
|
readonly jsonCreate: Schema.Struct<{
|
|
215
217
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
216
|
-
readonly training_type_id: Schema.
|
|
218
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
217
219
|
readonly title: typeof Schema.String;
|
|
218
|
-
readonly description: Schema.
|
|
220
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
219
221
|
readonly start_time: typeof Schema.String;
|
|
220
|
-
readonly end_time: Schema.
|
|
221
|
-
readonly location: Schema.
|
|
222
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
223
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
222
224
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
223
|
-
readonly
|
|
225
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
224
226
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
225
|
-
readonly end_date: Schema.
|
|
227
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
226
228
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
227
229
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
228
230
|
}>;
|
|
229
231
|
readonly jsonUpdate: Schema.Struct<{
|
|
230
232
|
readonly team_id: Schema.brand<typeof Schema.String, "TeamId">;
|
|
231
|
-
readonly training_type_id: Schema.
|
|
233
|
+
readonly training_type_id: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
232
234
|
readonly title: typeof Schema.String;
|
|
233
|
-
readonly description: Schema.
|
|
235
|
+
readonly description: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
234
236
|
readonly start_time: typeof Schema.String;
|
|
235
|
-
readonly end_time: Schema.
|
|
236
|
-
readonly location: Schema.
|
|
237
|
+
readonly end_time: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
238
|
+
readonly location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
237
239
|
readonly frequency: Schema.Literal<["weekly", "biweekly"]>;
|
|
238
|
-
readonly
|
|
240
|
+
readonly days_of_week: Schema.filter<Schema.filter<Schema.Array$<Schema.brand<Schema.filter<typeof Schema.Int>, "DayOfWeek">>>>;
|
|
239
241
|
readonly start_date: typeof Schema.DateFromSelf;
|
|
240
|
-
readonly end_date: Schema.
|
|
242
|
+
readonly end_date: Schema.OptionFromNullOr<typeof Schema.DateFromSelf>;
|
|
241
243
|
readonly status: Schema.Literal<["active", "cancelled"]>;
|
|
242
244
|
readonly created_by: Schema.brand<typeof Schema.String, "TeamMemberId">;
|
|
243
245
|
}>;
|
|
@@ -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;AAKhC,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,iBAAiB,yCAAwC,CAAC;AACvE,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE9D,qBAAa,WAAY,SAAQ,gBAiB/B;CAAG"}
|
|
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;AAKhC,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,gBAiB/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<{
|