@sideline/domain 0.10.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/EventApi.js +15 -2
- package/dist/cjs/api/EventApi.js.map +1 -1
- package/dist/cjs/api/EventRsvpApi.js +3 -1
- package/dist/cjs/api/EventRsvpApi.js.map +1 -1
- package/dist/cjs/api/EventSeriesApi.js +19 -2
- package/dist/cjs/api/EventSeriesApi.js.map +1 -1
- package/dist/cjs/api/RoleApi.js +9 -3
- package/dist/cjs/api/RoleApi.js.map +1 -1
- package/dist/cjs/api/Roster.js +9 -3
- package/dist/cjs/api/Roster.js.map +1 -1
- package/dist/cjs/api/TrainingTypeApi.js +14 -4
- package/dist/cjs/api/TrainingTypeApi.js.map +1 -1
- package/dist/cjs/models/Event.js +3 -0
- package/dist/cjs/models/Event.js.map +1 -1
- package/dist/cjs/models/EventSeries.js +3 -0
- package/dist/cjs/models/EventSeries.js.map +1 -1
- package/dist/cjs/models/TrainingType.js +2 -1
- package/dist/cjs/models/TrainingType.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcGroup.js +1 -1
- package/dist/cjs/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/cjs/rpc/event/EventRpcModels.js +3 -1
- package/dist/cjs/rpc/event/EventRpcModels.js.map +1 -1
- package/dist/dts/api/EventApi.d.ts +40 -0
- package/dist/dts/api/EventApi.d.ts.map +1 -1
- package/dist/dts/api/EventRsvpApi.d.ts +1 -1
- package/dist/dts/api/EventSeriesApi.d.ts +56 -0
- package/dist/dts/api/EventSeriesApi.d.ts.map +1 -1
- package/dist/dts/api/RoleApi.d.ts +18 -1
- package/dist/dts/api/RoleApi.d.ts.map +1 -1
- package/dist/dts/api/Roster.d.ts +18 -1
- package/dist/dts/api/Roster.d.ts.map +1 -1
- package/dist/dts/api/TrainingTypeApi.d.ts +48 -16
- package/dist/dts/api/TrainingTypeApi.d.ts.map +1 -1
- package/dist/dts/models/Event.d.ts +26 -0
- package/dist/dts/models/Event.d.ts.map +1 -1
- package/dist/dts/models/EventSeries.d.ts +26 -0
- package/dist/dts/models/EventSeries.d.ts.map +1 -1
- package/dist/dts/models/TrainingType.d.ts +24 -11
- package/dist/dts/models/TrainingType.d.ts.map +1 -1
- package/dist/dts/rpc/SyncRpcs.d.ts +1 -1
- package/dist/dts/rpc/event/EventRpcGroup.d.ts +2 -2
- package/dist/dts/rpc/event/EventRpcGroup.d.ts.map +1 -1
- package/dist/dts/rpc/event/EventRpcModels.d.ts +5 -0
- package/dist/dts/rpc/event/EventRpcModels.d.ts.map +1 -1
- package/dist/esm/api/EventApi.js +15 -2
- package/dist/esm/api/EventApi.js.map +1 -1
- package/dist/esm/api/EventRsvpApi.js +3 -1
- package/dist/esm/api/EventRsvpApi.js.map +1 -1
- package/dist/esm/api/EventSeriesApi.js +19 -2
- package/dist/esm/api/EventSeriesApi.js.map +1 -1
- package/dist/esm/api/RoleApi.js +7 -2
- package/dist/esm/api/RoleApi.js.map +1 -1
- package/dist/esm/api/Roster.js +7 -2
- package/dist/esm/api/Roster.js.map +1 -1
- package/dist/esm/api/TrainingTypeApi.js +14 -4
- package/dist/esm/api/TrainingTypeApi.js.map +1 -1
- package/dist/esm/models/Event.js +3 -0
- package/dist/esm/models/Event.js.map +1 -1
- package/dist/esm/models/EventSeries.js +3 -0
- package/dist/esm/models/EventSeries.js.map +1 -1
- package/dist/esm/models/TrainingType.js +2 -1
- package/dist/esm/models/TrainingType.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcGroup.js +2 -2
- package/dist/esm/rpc/event/EventRpcGroup.js.map +1 -1
- package/dist/esm/rpc/event/EventRpcModels.js +1 -0
- package/dist/esm/rpc/event/EventRpcModels.js.map +1 -1
- package/package.json +2 -2
- package/src/api/EventApi.ts +9 -0
- package/src/api/EventRsvpApi.ts +1 -1
- package/src/api/EventSeriesApi.ts +13 -0
- package/src/api/RoleApi.ts +7 -1
- package/src/api/Roster.ts +7 -1
- package/src/api/TrainingTypeApi.ts +10 -4
- package/src/models/Event.ts +3 -0
- package/src/models/EventSeries.ts +3 -0
- package/src/models/TrainingType.ts +2 -1
- package/src/rpc/event/EventRpcGroup.ts +7 -1
- package/src/rpc/event/EventRpcModels.ts +5 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventRpcGroup.js","names":["_rpc","require","_effect","_index","_EventRpcEvents","_EventRpcModels","EventRpcGroup","exports","RpcGroup","make","Rpc","payload","limit","Schema","Number","success","Array","UnprocessedEventSyncEvent","id","String","error","event_id","Event","EventId","discord_channel_id","Discord","Snowflake","discord_message_id","OptionFromNullOr","EventDiscordMessage","team_id","Team","TeamId","discord_user_id","response","EventRsvp","RsvpResponse","message","RsvpCountsResult","Union","RsvpMemberNotFound","RsvpDeadlinePassed","RsvpEventNotFound","EventEmbedInfo","ChannelEventEntry","offset","RsvpAttendeesResult","RsvpReminderSummary","guild_id","GuildEventListResult","GuildNotFound","event_type","EventType","title","start_at","end_at","location","description","CreateEventResult","CreateEventNotMember","CreateEventForbidden","CreateEventInvalidDate","prefix"],"sources":["../../../../src/rpc/event/EventRpcGroup.ts"],"sourcesContent":[null],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;
|
|
1
|
+
{"version":3,"file":"EventRpcGroup.js","names":["_rpc","require","_effect","_index","_EventRpcEvents","_EventRpcModels","EventRpcGroup","exports","RpcGroup","make","Rpc","payload","limit","Schema","Number","success","Array","UnprocessedEventSyncEvent","id","String","error","event_id","Event","EventId","discord_channel_id","Discord","Snowflake","discord_message_id","OptionFromNullOr","EventDiscordMessage","team_id","Team","TeamId","discord_user_id","response","EventRsvp","RsvpResponse","message","RsvpCountsResult","Union","RsvpMemberNotFound","RsvpDeadlinePassed","RsvpEventNotFound","RsvpNotGroupMember","EventEmbedInfo","ChannelEventEntry","offset","RsvpAttendeesResult","RsvpReminderSummary","guild_id","GuildEventListResult","GuildNotFound","event_type","EventType","title","start_at","end_at","location","description","CreateEventResult","CreateEventNotMember","CreateEventForbidden","CreateEventInvalidDate","prefix"],"sources":["../../../../src/rpc/event/EventRpcGroup.ts"],"sourcesContent":[null],"mappings":";;;;;;AAAA,IAAAA,IAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AAmBO,MAAMK,aAAa,GAAAC,OAAA,CAAAD,aAAA,gBAAGE,aAAQ,CAACC,IAAI,CACxCC,QAAG,CAACD,IAAI,CAAC,sBAAsB,EAAE;EAC/BE,OAAO,EAAE;IAAEC,KAAK,EAAEC,cAAM,CAACC;EAAM,CAAE;EACjCC,OAAO,EAAEF,cAAM,CAACG,KAAK,CAACC,yCAAyB;CAChD,CAAC,EACFP,QAAG,CAACD,IAAI,CAAC,oBAAoB,EAAE;EAC7BE,OAAO,EAAE;IAAEO,EAAE,EAAEL,cAAM,CAACM;EAAM;CAC7B,CAAC,EACFT,QAAG,CAACD,IAAI,CAAC,iBAAiB,EAAE;EAC1BE,OAAO,EAAE;IAAEO,EAAE,EAAEL,cAAM,CAACM,MAAM;IAAEC,KAAK,EAAEP,cAAM,CAACM;EAAM;CACnD,CAAC,EACFT,QAAG,CAACD,IAAI,CAAC,sBAAsB,EAAE;EAC/BE,OAAO,EAAE;IACPU,QAAQ,EAAEC,YAAK,CAACC,OAAO;IACvBC,kBAAkB,EAAEC,cAAO,CAACC,SAAS;IACrCC,kBAAkB,EAAEF,cAAO,CAACC;;CAE/B,CAAC,EACFhB,QAAG,CAACD,IAAI,CAAC,qBAAqB,EAAE;EAC9BE,OAAO,EAAE;IAAEU,QAAQ,EAAEC,YAAK,CAACC;EAAO,CAAE;EAC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C,QAAG,CAACD,IAAI,CAAC,wBAAwB,EAAE;EACjCE,OAAO,EAAE;IAAEU,QAAQ,EAAEC,YAAK,CAACC;EAAO,CAAE;EACpCR,OAAO,EAAEiC;CACV,CAAC,EACFtC,QAAG,CAACD,IAAI,CAAC,wBAAwB,EAAE;EACjCE,OAAO,EAAE;IACPsC,QAAQ,EAAExB,cAAO,CAACC,SAAS;IAC3BoB,MAAM,EAAEjC,cAAM,CAACC,MAAM;IACrBF,KAAK,EAAEC,cAAM,CAACC;GACf;EACDC,OAAO,EAAEmC,oCAAoB;EAC7B9B,KAAK,EAAE+B;CACR,CAAC,EACFzC,QAAG,CAACD,IAAI,CAAC,aAAa,EAAE;EACtBE,OAAO,EAAE;IACPsC,QAAQ,EAAExB,cAAO,CAACC,SAAS;IAC3BO,eAAe,EAAER,cAAO,CAACC,SAAS;IAClC0B,UAAU,EAAE9B,YAAK,CAAC+B,SAAS;IAC3BC,KAAK,EAAEzC,cAAM,CAACM,MAAM;IACpBoC,QAAQ,EAAE1C,cAAM,CAACM,MAAM;IACvBqC,MAAM,EAAE3C,cAAM,CAACe,gBAAgB,CAACf,cAAM,CAACM,MAAM,CAAC;IAC9CsC,QAAQ,EAAE5C,cAAM,CAACe,gBAAgB,CAACf,cAAM,CAACM,MAAM,CAAC;IAChDuC,WAAW,EAAE7C,cAAM,CAACe,gBAAgB,CAACf,cAAM,CAACM,MAAM;GACnD;EACDJ,OAAO,EAAE4C,iCAAiB;EAC1BvC,KAAK,EAAEP,cAAM,CAAC0B,KAAK,CAACqB,oCAAoB,EAAEC,oCAAoB,EAAEC,sCAAsB;CACvF,CAAC,CACH,CAACC,MAAM,CAAC,QAAQ,CAAC","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.RsvpReminderSummary = exports.RsvpMemberNotFound = exports.RsvpEventNotFound = exports.RsvpDeadlinePassed = exports.RsvpCountsResult = exports.RsvpAttendeesResult = exports.RsvpAttendeeEntry = exports.NonResponderRpcEntry = exports.GuildNotFound = exports.GuildEventListResult = exports.GuildEventListEntry = exports.EventEmbedInfo = exports.EventDiscordMessage = exports.CreateEventResult = exports.CreateEventNotMember = exports.CreateEventInvalidDate = exports.CreateEventForbidden = exports.ChannelEventEntry = void 0;
|
|
6
|
+
exports.RsvpReminderSummary = exports.RsvpNotGroupMember = exports.RsvpMemberNotFound = exports.RsvpEventNotFound = exports.RsvpDeadlinePassed = exports.RsvpCountsResult = exports.RsvpAttendeesResult = exports.RsvpAttendeeEntry = exports.NonResponderRpcEntry = exports.GuildNotFound = exports.GuildEventListResult = exports.GuildEventListEntry = exports.EventEmbedInfo = exports.EventDiscordMessage = exports.CreateEventResult = exports.CreateEventNotMember = exports.CreateEventInvalidDate = exports.CreateEventForbidden = exports.ChannelEventEntry = void 0;
|
|
7
7
|
var Schemas = _interopRequireWildcard(require("@sideline/effect-lib/Schemas"));
|
|
8
8
|
var _effect = require("effect");
|
|
9
9
|
var _Discord = require("../../models/Discord.js");
|
|
@@ -48,6 +48,8 @@ class RsvpDeadlinePassed extends /*#__PURE__*/_effect.Schema.TaggedError()('Rsvp
|
|
|
48
48
|
exports.RsvpDeadlinePassed = RsvpDeadlinePassed;
|
|
49
49
|
class RsvpEventNotFound extends /*#__PURE__*/_effect.Schema.TaggedError()('RsvpEventNotFound', {}) {}
|
|
50
50
|
exports.RsvpEventNotFound = RsvpEventNotFound;
|
|
51
|
+
class RsvpNotGroupMember extends /*#__PURE__*/_effect.Schema.TaggedError()('RsvpNotGroupMember', {}) {}
|
|
52
|
+
exports.RsvpNotGroupMember = RsvpNotGroupMember;
|
|
51
53
|
class CreateEventNotMember extends /*#__PURE__*/_effect.Schema.TaggedError()('CreateEventNotMember', {}) {}
|
|
52
54
|
exports.CreateEventNotMember = CreateEventNotMember;
|
|
53
55
|
class CreateEventForbidden extends /*#__PURE__*/_effect.Schema.TaggedError()('CreateEventForbidden', {}) {}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventRpcModels.js","names":["Schemas","_interopRequireWildcard","require","_effect","_Discord","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","EventDiscordMessage","Schema","Class","discord_channel_id","Snowflake","discord_message_id","exports","RsvpCountsResult","yesCount","Number","noCount","maybeCount","canRsvp","Boolean","EventEmbedInfo","title","String","description","OptionFromNullOr","start_at","DateTimeFromIsoString","end_at","location","event_type","ChannelEventEntry","event_id","team_id","status","RsvpMemberNotFound","TaggedError","RsvpDeadlinePassed","RsvpEventNotFound","CreateEventNotMember","CreateEventForbidden","CreateEventInvalidDate","CreateEventResult","GuildEventListEntry","yes_count","no_count","maybe_count","GuildEventListResult","events","Array","total","GuildNotFound","RsvpAttendeeEntry","discord_id","name","response","Literal","message","RsvpAttendeesResult","attendees","NonResponderRpcEntry","username","RsvpReminderSummary","nonResponders"],"sources":["../../../../src/rpc/event/EventRpcModels.ts"],"sourcesContent":[null],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAAgD,SAAAD,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAA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B,OAAA,CAAAyB,iBAAA,GAAAA,iBAAA;AAEK,MAAOC,
|
|
1
|
+
{"version":3,"file":"EventRpcModels.js","names":["Schemas","_interopRequireWildcard","require","_effect","_Discord","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","EventDiscordMessage","Schema","Class","discord_channel_id","Snowflake","discord_message_id","exports","RsvpCountsResult","yesCount","Number","noCount","maybeCount","canRsvp","Boolean","EventEmbedInfo","title","String","description","OptionFromNullOr","start_at","DateTimeFromIsoString","end_at","location","event_type","ChannelEventEntry","event_id","team_id","status","RsvpMemberNotFound","TaggedError","RsvpDeadlinePassed","RsvpEventNotFound","RsvpNotGroupMember","CreateEventNotMember","CreateEventForbidden","CreateEventInvalidDate","CreateEventResult","GuildEventListEntry","yes_count","no_count","maybe_count","GuildEventListResult","events","Array","total","GuildNotFound","RsvpAttendeeEntry","discord_id","name","response","Literal","message","RsvpAttendeesResult","attendees","NonResponderRpcEntry","username","RsvpReminderSummary","nonResponders"],"sources":["../../../../src/rpc/event/EventRpcModels.ts"],"sourcesContent":[null],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AAAgD,SAAAD,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GA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oBAAqB,sBAAQrD,cAAM,CAACC,KAAK,CACpD,sBAAsB,CACvB,CAAC;EACA6C,UAAU,eAAE9C,cAAM,CAACiB,gBAAgB,CAACd,kBAAS,CAAC;EAC9C4C,IAAI,eAAE/C,cAAM,CAACiB,gBAAgB,CAACjB,cAAM,CAACe,MAAM,CAAC;EAC5CuC,QAAQ,eAAEtD,cAAM,CAACiB,gBAAgB,CAACjB,cAAM,CAACe,MAAM;CAChD,CAAC;AAAAV,OAAA,CAAAgD,oBAAA,GAAAA,oBAAA;AAEI,MAAOE,mBAAoB,sBAAQvD,cAAM,CAACC,KAAK,CAAsB,qBAAqB,CAAC,CAAC;EAChGM,QAAQ,EAAEP,cAAM,CAACQ,MAAM;EACvBC,OAAO,EAAET,cAAM,CAACQ,MAAM;EACtBE,UAAU,EAAEV,cAAM,CAACQ,MAAM;EACzBgD,aAAa,eAAExD,cAAM,CAAC0C,KAAK,CAACW,oBAAoB;CACjD,CAAC;AAAAhD,OAAA,CAAAkD,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -64,6 +64,10 @@ declare const EventDetail_base: Schema.Class<EventDetail, {
|
|
|
64
64
|
seriesId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
65
65
|
seriesModified: typeof Schema.Boolean;
|
|
66
66
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
67
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
68
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
69
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
70
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
67
71
|
}, Schema.Struct.Encoded<{
|
|
68
72
|
eventId: Schema.brand<typeof Schema.String, "EventId">;
|
|
69
73
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
@@ -82,6 +86,10 @@ declare const EventDetail_base: Schema.Class<EventDetail, {
|
|
|
82
86
|
seriesId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "EventSeriesId">>;
|
|
83
87
|
seriesModified: typeof Schema.Boolean;
|
|
84
88
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
89
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
90
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
91
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
92
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
85
93
|
}>, never, {
|
|
86
94
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
87
95
|
} & {
|
|
@@ -116,6 +124,14 @@ declare const EventDetail_base: Schema.Class<EventDetail, {
|
|
|
116
124
|
readonly createdByName: import("effect/Option").Option<string>;
|
|
117
125
|
} & {
|
|
118
126
|
readonly discordChannelId: import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>;
|
|
127
|
+
} & {
|
|
128
|
+
readonly ownerGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
129
|
+
} & {
|
|
130
|
+
readonly ownerGroupName: import("effect/Option").Option<string>;
|
|
131
|
+
} & {
|
|
132
|
+
readonly memberGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
133
|
+
} & {
|
|
134
|
+
readonly memberGroupName: import("effect/Option").Option<string>;
|
|
119
135
|
}, {}, {}>;
|
|
120
136
|
export declare class EventDetail extends EventDetail_base {
|
|
121
137
|
}
|
|
@@ -141,6 +157,8 @@ declare const CreateEventRequest_base: Schema.Class<CreateEventRequest, {
|
|
|
141
157
|
endAt: Schema.OptionFromNullOr<Schema.transform<typeof Schema.String, typeof Schema.DateTimeUtcFromSelf>>;
|
|
142
158
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
143
159
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
160
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
161
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
144
162
|
}, Schema.Struct.Encoded<{
|
|
145
163
|
title: typeof Schema.NonEmptyString;
|
|
146
164
|
eventType: Schema.Literal<["training", "match", "tournament", "meeting", "social", "other"]>;
|
|
@@ -150,6 +168,8 @@ declare const CreateEventRequest_base: Schema.Class<CreateEventRequest, {
|
|
|
150
168
|
endAt: Schema.OptionFromNullOr<Schema.transform<typeof Schema.String, typeof Schema.DateTimeUtcFromSelf>>;
|
|
151
169
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
152
170
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
171
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
172
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
153
173
|
}>, never, {
|
|
154
174
|
readonly description: import("effect/Option").Option<string>;
|
|
155
175
|
} & {
|
|
@@ -166,6 +186,10 @@ declare const CreateEventRequest_base: Schema.Class<CreateEventRequest, {
|
|
|
166
186
|
readonly trainingTypeId: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
167
187
|
} & {
|
|
168
188
|
readonly discordChannelId: import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>;
|
|
189
|
+
} & {
|
|
190
|
+
readonly ownerGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
191
|
+
} & {
|
|
192
|
+
readonly memberGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
169
193
|
}, {}, {}>;
|
|
170
194
|
export declare class CreateEventRequest extends CreateEventRequest_base {
|
|
171
195
|
}
|
|
@@ -194,6 +218,12 @@ declare const UpdateEventRequest_base: Schema.Class<UpdateEventRequest, {
|
|
|
194
218
|
discordChannelId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>, {
|
|
195
219
|
as: "Option";
|
|
196
220
|
}>;
|
|
221
|
+
ownerGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
222
|
+
as: "Option";
|
|
223
|
+
}>;
|
|
224
|
+
memberGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
225
|
+
as: "Option";
|
|
226
|
+
}>;
|
|
197
227
|
}, Schema.Struct.Encoded<{
|
|
198
228
|
title: Schema.optionalWith<typeof Schema.NonEmptyString, {
|
|
199
229
|
as: "Option";
|
|
@@ -219,6 +249,12 @@ declare const UpdateEventRequest_base: Schema.Class<UpdateEventRequest, {
|
|
|
219
249
|
discordChannelId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>, {
|
|
220
250
|
as: "Option";
|
|
221
251
|
}>;
|
|
252
|
+
ownerGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
253
|
+
as: "Option";
|
|
254
|
+
}>;
|
|
255
|
+
memberGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
256
|
+
as: "Option";
|
|
257
|
+
}>;
|
|
222
258
|
}>, never, {
|
|
223
259
|
readonly description: import("effect/Option").Option<import("effect/Option").Option<string>>;
|
|
224
260
|
} & {
|
|
@@ -235,6 +271,10 @@ declare const UpdateEventRequest_base: Schema.Class<UpdateEventRequest, {
|
|
|
235
271
|
readonly trainingTypeId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>>;
|
|
236
272
|
} & {
|
|
237
273
|
readonly discordChannelId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>>;
|
|
274
|
+
} & {
|
|
275
|
+
readonly ownerGroupId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>>;
|
|
276
|
+
} & {
|
|
277
|
+
readonly memberGroupId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>>;
|
|
238
278
|
}, {}, {}>;
|
|
239
279
|
export declare class UpdateEventRequest extends UpdateEventRequest_base {
|
|
240
280
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventApi.d.ts","sourceRoot":"","sources":["../../../src/api/EventApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"EventApi.d.ts","sourceRoot":"","sources":["../../../src/api/EventApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQ/C,qBAAa,SAAU,SAAQ,cAW7B;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,WAAY,SAAQ,gBAsB/B;CAAG;;;;;;;;;;;;AAEL,qBAAa,iBAAkB,SAAQ,sBAGrC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,kBAAmB,SAAQ,uBAWtC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,kBAAmB,SAAQ,uBAatC;CAAG;;;;AAEL,qBAAa,aAAc,SAAQ,kBAIlC;CAAG;;;;AAEJ,qBAAa,SAAU,SAAQ,cAI9B;CAAG;;;;AAEJ,qBAAa,cAAe,SAAQ,mBAInC;CAAG;;;;;;;;;;;;;;;AAEJ,qBAAa,aAAc,SAAQ,kBA0ChC;CAAG"}
|
|
@@ -123,7 +123,7 @@ declare const EventRsvpApiGroup_base: HttpApiGroup.HttpApiGroup<"eventRsvp", Htt
|
|
|
123
123
|
}, never, never, never, EventRsvpDetail, import("../api/Auth.js").Unauthorized | EventNotFound | Forbidden, AuthMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"submitRsvp", "PUT", {
|
|
124
124
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
125
125
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
126
|
-
}, never, SubmitRsvpRequest, never,
|
|
126
|
+
}, never, SubmitRsvpRequest, never, void, import("../api/Auth.js").Unauthorized | EventNotFound | Forbidden | RsvpDeadlinePassed, AuthMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"getNonResponders", "GET", {
|
|
127
127
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
128
128
|
readonly eventId: string & import("effect/Brand").Brand<"EventId">;
|
|
129
129
|
}, never, never, never, NonRespondersResponse, import("../api/Auth.js").Unauthorized | EventNotFound | Forbidden, AuthMiddleware, never>, never, never, false>;
|
|
@@ -17,6 +17,10 @@ declare const EventSeriesInfo_base: Schema.Class<EventSeriesInfo, {
|
|
|
17
17
|
endTime: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
18
18
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
19
19
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
20
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
21
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
22
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
23
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
20
24
|
}, Schema.Struct.Encoded<{
|
|
21
25
|
seriesId: Schema.brand<typeof Schema.String, "EventSeriesId">;
|
|
22
26
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
@@ -32,6 +36,10 @@ declare const EventSeriesInfo_base: Schema.Class<EventSeriesInfo, {
|
|
|
32
36
|
endTime: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
33
37
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
34
38
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
39
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
40
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
41
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
42
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
35
43
|
}>, never, {
|
|
36
44
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
37
45
|
} & {
|
|
@@ -50,6 +58,14 @@ declare const EventSeriesInfo_base: Schema.Class<EventSeriesInfo, {
|
|
|
50
58
|
readonly trainingTypeId: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
51
59
|
} & {
|
|
52
60
|
readonly discordChannelId: import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>;
|
|
61
|
+
} & {
|
|
62
|
+
readonly ownerGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
63
|
+
} & {
|
|
64
|
+
readonly ownerGroupName: import("effect/Option").Option<string>;
|
|
65
|
+
} & {
|
|
66
|
+
readonly memberGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
67
|
+
} & {
|
|
68
|
+
readonly memberGroupName: import("effect/Option").Option<string>;
|
|
53
69
|
} & {
|
|
54
70
|
readonly daysOfWeek: readonly (number & import("effect/Brand").Brand<"DayOfWeek">)[];
|
|
55
71
|
} & {
|
|
@@ -79,6 +95,10 @@ declare const EventSeriesDetail_base: Schema.Class<EventSeriesDetail, {
|
|
|
79
95
|
endTime: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
80
96
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
81
97
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
98
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
99
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
100
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
101
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
82
102
|
canEdit: typeof Schema.Boolean;
|
|
83
103
|
canCancel: typeof Schema.Boolean;
|
|
84
104
|
}, Schema.Struct.Encoded<{
|
|
@@ -97,6 +117,10 @@ declare const EventSeriesDetail_base: Schema.Class<EventSeriesDetail, {
|
|
|
97
117
|
endTime: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
98
118
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
99
119
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
120
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
121
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
122
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
123
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
100
124
|
canEdit: typeof Schema.Boolean;
|
|
101
125
|
canCancel: typeof Schema.Boolean;
|
|
102
126
|
}>, never, {
|
|
@@ -123,6 +147,14 @@ declare const EventSeriesDetail_base: Schema.Class<EventSeriesDetail, {
|
|
|
123
147
|
readonly trainingTypeId: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
124
148
|
} & {
|
|
125
149
|
readonly discordChannelId: import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>;
|
|
150
|
+
} & {
|
|
151
|
+
readonly ownerGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
152
|
+
} & {
|
|
153
|
+
readonly ownerGroupName: import("effect/Option").Option<string>;
|
|
154
|
+
} & {
|
|
155
|
+
readonly memberGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
156
|
+
} & {
|
|
157
|
+
readonly memberGroupName: import("effect/Option").Option<string>;
|
|
126
158
|
} & {
|
|
127
159
|
readonly daysOfWeek: readonly (number & import("effect/Brand").Brand<"DayOfWeek">)[];
|
|
128
160
|
} & {
|
|
@@ -148,6 +180,8 @@ declare const CreateEventSeriesRequest_base: Schema.Class<CreateEventSeriesReque
|
|
|
148
180
|
endTime: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
149
181
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
150
182
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
183
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
184
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
151
185
|
}, Schema.Struct.Encoded<{
|
|
152
186
|
title: typeof Schema.NonEmptyString;
|
|
153
187
|
trainingTypeId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "TrainingTypeId">>;
|
|
@@ -160,6 +194,8 @@ declare const CreateEventSeriesRequest_base: Schema.Class<CreateEventSeriesReque
|
|
|
160
194
|
endTime: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
161
195
|
location: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
162
196
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
197
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
198
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
163
199
|
}>, never, {
|
|
164
200
|
readonly description: import("effect/Option").Option<string>;
|
|
165
201
|
} & {
|
|
@@ -172,6 +208,10 @@ declare const CreateEventSeriesRequest_base: Schema.Class<CreateEventSeriesReque
|
|
|
172
208
|
readonly trainingTypeId: import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>;
|
|
173
209
|
} & {
|
|
174
210
|
readonly discordChannelId: import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>;
|
|
211
|
+
} & {
|
|
212
|
+
readonly ownerGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
213
|
+
} & {
|
|
214
|
+
readonly memberGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
175
215
|
} & {
|
|
176
216
|
readonly daysOfWeek: readonly (number & import("effect/Brand").Brand<"DayOfWeek">)[];
|
|
177
217
|
} & {
|
|
@@ -213,6 +253,12 @@ declare const UpdateEventSeriesRequest_base: Schema.Class<UpdateEventSeriesReque
|
|
|
213
253
|
discordChannelId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>, {
|
|
214
254
|
as: "Option";
|
|
215
255
|
}>;
|
|
256
|
+
ownerGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
257
|
+
as: "Option";
|
|
258
|
+
}>;
|
|
259
|
+
memberGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
260
|
+
as: "Option";
|
|
261
|
+
}>;
|
|
216
262
|
}, Schema.Struct.Encoded<{
|
|
217
263
|
title: Schema.optionalWith<typeof Schema.NonEmptyString, {
|
|
218
264
|
as: "Option";
|
|
@@ -241,6 +287,12 @@ declare const UpdateEventSeriesRequest_base: Schema.Class<UpdateEventSeriesReque
|
|
|
241
287
|
discordChannelId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>, {
|
|
242
288
|
as: "Option";
|
|
243
289
|
}>;
|
|
290
|
+
ownerGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
291
|
+
as: "Option";
|
|
292
|
+
}>;
|
|
293
|
+
memberGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
294
|
+
as: "Option";
|
|
295
|
+
}>;
|
|
244
296
|
}>, never, {
|
|
245
297
|
readonly description: import("effect/Option").Option<import("effect/Option").Option<string>>;
|
|
246
298
|
} & {
|
|
@@ -251,6 +303,10 @@ declare const UpdateEventSeriesRequest_base: Schema.Class<UpdateEventSeriesReque
|
|
|
251
303
|
readonly trainingTypeId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"TrainingTypeId">>>;
|
|
252
304
|
} & {
|
|
253
305
|
readonly discordChannelId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>>;
|
|
306
|
+
} & {
|
|
307
|
+
readonly ownerGroupId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>>;
|
|
308
|
+
} & {
|
|
309
|
+
readonly memberGroupId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>>;
|
|
254
310
|
} & {
|
|
255
311
|
readonly daysOfWeek: import("effect/Option").Option<readonly (number & import("effect/Brand").Brand<"DayOfWeek">)[]>;
|
|
256
312
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventSeriesApi.d.ts","sourceRoot":"","sources":["../../../src/api/EventSeriesApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"EventSeriesApi.d.ts","sourceRoot":"","sources":["../../../src/api/EventSeriesApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAY9C,qBAAa,eAAgB,SAAQ,oBAmBnC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,iBAAkB,SAAQ,sBAsBrC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,wBAAyB,SAAQ,6BAgB5C;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,wBAAyB,SAAQ,6BAgB5C;CAAG;;;;AAEL,qBAAa,mBAAoB,SAAQ,wBAIxC;CAAG;;;;AAEJ,qBAAa,oBAAqB,SAAQ,yBAIzC;CAAG;;;;;;;;;;;;;;;AAEJ,qBAAa,mBAAoB,SAAQ,wBA0CtC;CAAG"}
|
|
@@ -26,18 +26,33 @@ declare const RoleInfo_base: Schema.Class<RoleInfo, {
|
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
export declare class RoleInfo extends RoleInfo_base {
|
|
28
28
|
}
|
|
29
|
+
declare const RoleListResponse_base: Schema.Class<RoleListResponse, {
|
|
30
|
+
canManage: typeof Schema.Boolean;
|
|
31
|
+
roles: Schema.Array$<typeof RoleInfo>;
|
|
32
|
+
}, Schema.Struct.Encoded<{
|
|
33
|
+
canManage: typeof Schema.Boolean;
|
|
34
|
+
roles: Schema.Array$<typeof RoleInfo>;
|
|
35
|
+
}>, never, {
|
|
36
|
+
readonly roles: readonly RoleInfo[];
|
|
37
|
+
} & {
|
|
38
|
+
readonly canManage: boolean;
|
|
39
|
+
}, {}, {}>;
|
|
40
|
+
export declare class RoleListResponse extends RoleListResponse_base {
|
|
41
|
+
}
|
|
29
42
|
declare const RoleDetail_base: Schema.Class<RoleDetail, {
|
|
30
43
|
roleId: Schema.brand<typeof Schema.String, "RoleId">;
|
|
31
44
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
32
45
|
name: typeof Schema.String;
|
|
33
46
|
isBuiltIn: typeof Schema.Boolean;
|
|
34
47
|
permissions: Schema.Array$<Schema.Literal<["team:manage", "team:invite", "roster:view", "roster:manage", "member:view", "member:edit", "member:remove", "role:view", "role:manage", "training-type:create", "training-type:delete", "event:create", "event:edit", "event:cancel"]>>;
|
|
48
|
+
canManage: typeof Schema.Boolean;
|
|
35
49
|
}, Schema.Struct.Encoded<{
|
|
36
50
|
roleId: Schema.brand<typeof Schema.String, "RoleId">;
|
|
37
51
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
38
52
|
name: typeof Schema.String;
|
|
39
53
|
isBuiltIn: typeof Schema.Boolean;
|
|
40
54
|
permissions: Schema.Array$<Schema.Literal<["team:manage", "team:invite", "roster:view", "roster:manage", "member:view", "member:edit", "member:remove", "role:view", "role:manage", "training-type:create", "training-type:delete", "event:create", "event:edit", "event:cancel"]>>;
|
|
55
|
+
canManage: typeof Schema.Boolean;
|
|
41
56
|
}>, never, {
|
|
42
57
|
readonly name: string;
|
|
43
58
|
} & {
|
|
@@ -48,6 +63,8 @@ declare const RoleDetail_base: Schema.Class<RoleDetail, {
|
|
|
48
63
|
readonly roleId: string & import("effect/Brand").Brand<"RoleId">;
|
|
49
64
|
} & {
|
|
50
65
|
readonly isBuiltIn: boolean;
|
|
66
|
+
} & {
|
|
67
|
+
readonly canManage: boolean;
|
|
51
68
|
}, {}, {}>;
|
|
52
69
|
export declare class RoleDetail extends RoleDetail_base {
|
|
53
70
|
}
|
|
@@ -118,7 +135,7 @@ export declare class RoleNameAlreadyTaken extends RoleNameAlreadyTaken_base {
|
|
|
118
135
|
}
|
|
119
136
|
declare const RoleApiGroup_base: HttpApiGroup.HttpApiGroup<"role", HttpApiEndpoint.HttpApiEndpoint<"listRoles", "GET", {
|
|
120
137
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
121
|
-
}, never, never, never,
|
|
138
|
+
}, never, never, never, RoleListResponse, import("../api/Auth.js").Unauthorized | Forbidden, AuthMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"createRole", "POST", {
|
|
122
139
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
123
140
|
}, never, CreateRoleRequest, never, RoleDetail, import("../api/Auth.js").Unauthorized | Forbidden | RoleNameAlreadyTaken, AuthMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"getRole", "GET", {
|
|
124
141
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoleApi.d.ts","sourceRoot":"","sources":["../../../src/api/RoleApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAK/C,qBAAa,QAAS,SAAQ,aAM5B;CAAG
|
|
1
|
+
{"version":3,"file":"RoleApi.d.ts","sourceRoot":"","sources":["../../../src/api/RoleApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAK/C,qBAAa,QAAS,SAAQ,aAM5B;CAAG;;;;;;;;;;;;AAEL,qBAAa,gBAAiB,SAAQ,qBAGpC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,UAAW,SAAQ,eAO9B;CAAG;;;;;;;;;;;;AAEL,qBAAa,iBAAkB,SAAQ,sBAGrC;CAAG;;;;;;;;;;;;AAEL,qBAAa,iBAAkB,SAAQ,sBAGrC;CAAG;;;;AAEL,qBAAa,YAAa,SAAQ,iBAIjC;CAAG;;;;AAEJ,qBAAa,SAAU,SAAQ,cAI9B;CAAG;;;;AAEJ,qBAAa,mBAAoB,SAAQ,wBAIxC;CAAG;;;;;;;;AAEJ,qBAAa,iBAAkB,SAAQ,sBAErC;CAAG;;;;AAEL,qBAAa,cAAe,SAAQ,mBAInC;CAAG;;;;AAEJ,qBAAa,SAAU,SAAQ,cAI9B;CAAG;;;;AAEJ,qBAAa,oBAAqB,SAAQ,yBAIzC;CAAG;;;;;;;;;;;;;;;;;;;;;;AAEJ,qBAAa,YAAa,SAAQ,iBAgE/B;CAAG"}
|
package/dist/dts/api/Roster.d.ts
CHANGED
|
@@ -115,6 +115,19 @@ declare const RosterInfo_base: Schema.Class<RosterInfo, {
|
|
|
115
115
|
}, {}, {}>;
|
|
116
116
|
export declare class RosterInfo extends RosterInfo_base {
|
|
117
117
|
}
|
|
118
|
+
declare const RosterListResponse_base: Schema.Class<RosterListResponse, {
|
|
119
|
+
canManage: typeof Schema.Boolean;
|
|
120
|
+
rosters: Schema.Array$<typeof RosterInfo>;
|
|
121
|
+
}, Schema.Struct.Encoded<{
|
|
122
|
+
canManage: typeof Schema.Boolean;
|
|
123
|
+
rosters: Schema.Array$<typeof RosterInfo>;
|
|
124
|
+
}>, never, {
|
|
125
|
+
readonly canManage: boolean;
|
|
126
|
+
} & {
|
|
127
|
+
readonly rosters: readonly RosterInfo[];
|
|
128
|
+
}, {}, {}>;
|
|
129
|
+
export declare class RosterListResponse extends RosterListResponse_base {
|
|
130
|
+
}
|
|
118
131
|
declare const RosterDetail_base: Schema.Class<RosterDetail, {
|
|
119
132
|
rosterId: Schema.brand<typeof Schema.String, "RosterId">;
|
|
120
133
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
@@ -122,6 +135,7 @@ declare const RosterDetail_base: Schema.Class<RosterDetail, {
|
|
|
122
135
|
active: typeof Schema.Boolean;
|
|
123
136
|
createdAt: typeof Schema.String;
|
|
124
137
|
members: Schema.Array$<typeof RosterPlayer>;
|
|
138
|
+
canManage: typeof Schema.Boolean;
|
|
125
139
|
}, Schema.Struct.Encoded<{
|
|
126
140
|
rosterId: Schema.brand<typeof Schema.String, "RosterId">;
|
|
127
141
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
@@ -129,6 +143,7 @@ declare const RosterDetail_base: Schema.Class<RosterDetail, {
|
|
|
129
143
|
active: typeof Schema.Boolean;
|
|
130
144
|
createdAt: typeof Schema.String;
|
|
131
145
|
members: Schema.Array$<typeof RosterPlayer>;
|
|
146
|
+
canManage: typeof Schema.Boolean;
|
|
132
147
|
}>, never, {
|
|
133
148
|
readonly name: string;
|
|
134
149
|
} & {
|
|
@@ -139,6 +154,8 @@ declare const RosterDetail_base: Schema.Class<RosterDetail, {
|
|
|
139
154
|
readonly members: readonly RosterPlayer[];
|
|
140
155
|
} & {
|
|
141
156
|
readonly createdAt: string;
|
|
157
|
+
} & {
|
|
158
|
+
readonly canManage: boolean;
|
|
142
159
|
} & {
|
|
143
160
|
readonly rosterId: string & import("effect/Brand").Brand<"RosterId">;
|
|
144
161
|
}, {}, {}>;
|
|
@@ -188,7 +205,7 @@ declare const RosterApiGroup_base: HttpApiGroup.HttpApiGroup<"roster", HttpApiEn
|
|
|
188
205
|
readonly memberId: string & import("effect/Brand").Brand<"TeamMemberId">;
|
|
189
206
|
}, never, never, never, void, import("../api/Auth.js").Unauthorized | PlayerNotFound | Forbidden, AuthMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"listRosters", "GET", {
|
|
190
207
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
191
|
-
}, never, never, never,
|
|
208
|
+
}, never, never, never, RosterListResponse, import("../api/Auth.js").Unauthorized | Forbidden, AuthMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"createRoster", "POST", {
|
|
192
209
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
193
210
|
}, never, CreateRosterRequest, never, RosterInfo, import("../api/Auth.js").Unauthorized | Forbidden, AuthMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"getRoster", "GET", {
|
|
194
211
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|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eAO9B;CAAG;;;;;;;;;;;;AAEL,qBAAa,kBAAmB,SAAQ,uBAGtC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,YAAa,SAAQ,iBAQhC;CAAG;;;;;;;;AAEL,qBAAa,mBAAoB,SAAQ,wBAEvC;CAAG;;;;;;;;;;;;AAEL,qBAAa,mBAAoB,SAAQ,wBAGvC;CAAG;;;;;;;;AAEL,qBAAa,sBAAuB,SAAQ,2BAI1C;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,cAAe,SAAQ,mBA2FjC;CAAG"}
|
|
@@ -5,20 +5,24 @@ declare const TrainingTypeInfo_base: Schema.Class<TrainingTypeInfo, {
|
|
|
5
5
|
trainingTypeId: Schema.brand<typeof Schema.String, "TrainingTypeId">;
|
|
6
6
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
7
7
|
name: typeof Schema.String;
|
|
8
|
-
|
|
8
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
9
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
9
10
|
}, Schema.Struct.Encoded<{
|
|
10
11
|
trainingTypeId: Schema.brand<typeof Schema.String, "TrainingTypeId">;
|
|
11
12
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
12
13
|
name: typeof Schema.String;
|
|
13
|
-
|
|
14
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
15
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
14
16
|
}>, never, {
|
|
15
17
|
readonly name: string;
|
|
16
18
|
} & {
|
|
17
19
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
18
|
-
} & {
|
|
19
|
-
readonly groupName: import("effect/Option").Option<string>;
|
|
20
20
|
} & {
|
|
21
21
|
readonly trainingTypeId: string & import("effect/Brand").Brand<"TrainingTypeId">;
|
|
22
|
+
} & {
|
|
23
|
+
readonly ownerGroupName: import("effect/Option").Option<string>;
|
|
24
|
+
} & {
|
|
25
|
+
readonly memberGroupName: import("effect/Option").Option<string>;
|
|
22
26
|
}, {}, {}>;
|
|
23
27
|
export declare class TrainingTypeInfo extends TrainingTypeInfo_base {
|
|
24
28
|
}
|
|
@@ -26,30 +30,38 @@ declare const TrainingTypeDetail_base: Schema.Class<TrainingTypeDetail, {
|
|
|
26
30
|
trainingTypeId: Schema.brand<typeof Schema.String, "TrainingTypeId">;
|
|
27
31
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
28
32
|
name: typeof Schema.String;
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
34
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
35
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
36
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
31
37
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
32
38
|
canAdmin: typeof Schema.Boolean;
|
|
33
39
|
}, Schema.Struct.Encoded<{
|
|
34
40
|
trainingTypeId: Schema.brand<typeof Schema.String, "TrainingTypeId">;
|
|
35
41
|
teamId: Schema.brand<typeof Schema.String, "TeamId">;
|
|
36
42
|
name: typeof Schema.String;
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
44
|
+
ownerGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
45
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
46
|
+
memberGroupName: Schema.OptionFromNullOr<typeof Schema.String>;
|
|
39
47
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
40
48
|
canAdmin: typeof Schema.Boolean;
|
|
41
49
|
}>, never, {
|
|
42
50
|
readonly name: string;
|
|
43
51
|
} & {
|
|
44
52
|
readonly teamId: string & import("effect/Brand").Brand<"TeamId">;
|
|
45
|
-
} & {
|
|
46
|
-
readonly groupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
47
|
-
} & {
|
|
48
|
-
readonly groupName: import("effect/Option").Option<string>;
|
|
49
53
|
} & {
|
|
50
54
|
readonly trainingTypeId: string & import("effect/Brand").Brand<"TrainingTypeId">;
|
|
51
55
|
} & {
|
|
52
56
|
readonly discordChannelId: import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>;
|
|
57
|
+
} & {
|
|
58
|
+
readonly ownerGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
59
|
+
} & {
|
|
60
|
+
readonly ownerGroupName: import("effect/Option").Option<string>;
|
|
61
|
+
} & {
|
|
62
|
+
readonly memberGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
63
|
+
} & {
|
|
64
|
+
readonly memberGroupName: import("effect/Option").Option<string>;
|
|
53
65
|
} & {
|
|
54
66
|
readonly canAdmin: boolean;
|
|
55
67
|
}, {}, {}>;
|
|
@@ -70,28 +82,44 @@ export declare class TrainingTypeListResponse extends TrainingTypeListResponse_b
|
|
|
70
82
|
}
|
|
71
83
|
declare const CreateTrainingTypeRequest_base: Schema.Class<CreateTrainingTypeRequest, {
|
|
72
84
|
name: typeof Schema.NonEmptyString;
|
|
73
|
-
|
|
85
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
86
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
74
87
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
75
88
|
}, Schema.Struct.Encoded<{
|
|
76
89
|
name: typeof Schema.NonEmptyString;
|
|
77
|
-
|
|
90
|
+
ownerGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
91
|
+
memberGroupId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>;
|
|
78
92
|
discordChannelId: Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>;
|
|
79
93
|
}>, never, {
|
|
80
94
|
readonly name: string;
|
|
81
|
-
} & {
|
|
82
|
-
readonly groupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
83
95
|
} & {
|
|
84
96
|
readonly discordChannelId: import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>;
|
|
97
|
+
} & {
|
|
98
|
+
readonly ownerGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
99
|
+
} & {
|
|
100
|
+
readonly memberGroupId: import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>;
|
|
85
101
|
}, {}, {}>;
|
|
86
102
|
export declare class CreateTrainingTypeRequest extends CreateTrainingTypeRequest_base {
|
|
87
103
|
}
|
|
88
104
|
declare const UpdateTrainingTypeRequest_base: Schema.Class<UpdateTrainingTypeRequest, {
|
|
89
105
|
name: typeof Schema.NonEmptyString;
|
|
106
|
+
ownerGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
107
|
+
as: "Option";
|
|
108
|
+
}>;
|
|
109
|
+
memberGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
110
|
+
as: "Option";
|
|
111
|
+
}>;
|
|
90
112
|
discordChannelId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>, {
|
|
91
113
|
as: "Option";
|
|
92
114
|
}>;
|
|
93
115
|
}, Schema.Struct.Encoded<{
|
|
94
116
|
name: typeof Schema.NonEmptyString;
|
|
117
|
+
ownerGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
118
|
+
as: "Option";
|
|
119
|
+
}>;
|
|
120
|
+
memberGroupId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "GroupId">>, {
|
|
121
|
+
as: "Option";
|
|
122
|
+
}>;
|
|
95
123
|
discordChannelId: Schema.optionalWith<Schema.OptionFromNullOr<Schema.brand<typeof Schema.String, "Snowflake">>, {
|
|
96
124
|
as: "Option";
|
|
97
125
|
}>;
|
|
@@ -99,6 +127,10 @@ declare const UpdateTrainingTypeRequest_base: Schema.Class<UpdateTrainingTypeReq
|
|
|
99
127
|
readonly name: string;
|
|
100
128
|
} & {
|
|
101
129
|
readonly discordChannelId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"Snowflake">>>;
|
|
130
|
+
} & {
|
|
131
|
+
readonly ownerGroupId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>>;
|
|
132
|
+
} & {
|
|
133
|
+
readonly memberGroupId: import("effect/Option").Option<import("effect/Option").Option<string & import("effect/Brand").Brand<"GroupId">>>;
|
|
102
134
|
}, {}, {}>;
|
|
103
135
|
export declare class UpdateTrainingTypeRequest extends UpdateTrainingTypeRequest_base {
|
|
104
136
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrainingTypeApi.d.ts","sourceRoot":"","sources":["../../../src/api/TrainingTypeApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"TrainingTypeApi.d.ts","sourceRoot":"","sources":["../../../src/api/TrainingTypeApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAiB,MAAM,kBAAkB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAM/C,qBAAa,gBAAiB,SAAQ,qBAMpC;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,kBAAmB,SAAQ,uBAUtC;CAAG;;;;;;;;;;;;AAEL,qBAAa,wBAAyB,SAAQ,6BAK5C;CAAG;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,yBAA0B,SAAQ,8BAO7C;CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEL,qBAAa,yBAA0B,SAAQ,8BAO7C;CAAG;;;;AAEL,qBAAa,oBAAqB,SAAQ,yBAIzC;CAAG;;;;AAEJ,qBAAa,SAAU,SAAQ,cAI9B;CAAG;;;;AAEJ,qBAAa,4BAA6B,SAAQ,iCAIjD;CAAG;;;;;;;;;;;;;;;AAEJ,qBAAa,oBAAqB,SAAQ,yBA0CvC;CAAG"}
|