@sideline/domain 0.9.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 +8 -8
- package/dist/cjs/api/EventRsvpApi.js.map +1 -1
- package/dist/cjs/api/EventSeriesApi.js +27 -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 +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 +13 -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 +5 -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 +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 +14 -12
- package/dist/cjs/rpc/event/EventRpcEvents.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcGroup.js +15 -7
- package/dist/cjs/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcModels.js +39 -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 +69 -69
- package/dist/dts/api/EventApi.d.ts.map +1 -1
- package/dist/dts/api/EventRsvpApi.d.ts +24 -24
- package/dist/dts/api/EventSeriesApi.d.ts +72 -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 +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 +36 -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 +55 -55
- package/dist/dts/models/EventRsvp.d.ts +11 -11
- package/dist/dts/models/EventSeries.d.ts +55 -55
- 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 +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 +15 -11
- 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 +13 -9
- package/dist/dts/rpc/event/EventRpcGroup.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcModels.d.ts +108 -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 +25 -23
- package/dist/esm/api/EventApi.js.map +1 -1
- package/dist/esm/api/EventRsvpApi.js +8 -8
- package/dist/esm/api/EventRsvpApi.js.map +1 -1
- package/dist/esm/api/EventSeriesApi.js +26 -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 +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 +13 -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 +5 -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 +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 +13 -12
- package/dist/esm/rpc/event/EventRpcEvents.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcGroup.js +16 -8
- package/dist/esm/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcModels.js +34 -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 +27 -23
- package/src/api/EventRsvpApi.ts +8 -8
- package/src/api/EventSeriesApi.ts +28 -24
- 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 +13 -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 +5 -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 +1 -1
- package/src/models/User.ts +5 -4
- package/src/rpc/event/EventRpcEvents.ts +13 -12
- package/src/rpc/event/EventRpcGroup.ts +18 -7
- package/src/rpc/event/EventRpcModels.ts +39 -15
- package/src/rpc/guild/GuildRpcGroup.ts +3 -3
|
@@ -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<{
|
|
@@ -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 {
|