|
@@ -23,6 +23,7 @@ export interface Exists {
|
|
rating: (where?: RatingWhereInput) => Promise<boolean>;
|
|
rating: (where?: RatingWhereInput) => Promise<boolean>;
|
|
track: (where?: TrackWhereInput) => Promise<boolean>;
|
|
track: (where?: TrackWhereInput) => Promise<boolean>;
|
|
training: (where?: TrainingWhereInput) => Promise<boolean>;
|
|
training: (where?: TrainingWhereInput) => Promise<boolean>;
|
|
|
|
+ trainingType: (where?: TrainingTypeWhereInput) => Promise<boolean>;
|
|
user: (where?: UserWhereInput) => Promise<boolean>;
|
|
user: (where?: UserWhereInput) => Promise<boolean>;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -178,6 +179,27 @@ export interface Prisma {
|
|
first?: Int;
|
|
first?: Int;
|
|
last?: Int;
|
|
last?: Int;
|
|
}) => TrainingConnectionPromise;
|
|
}) => TrainingConnectionPromise;
|
|
|
|
+ trainingType: (
|
|
|
|
+ where: TrainingTypeWhereUniqueInput
|
|
|
|
+ ) => TrainingTypeNullablePromise;
|
|
|
|
+ trainingTypes: (args?: {
|
|
|
|
+ where?: TrainingTypeWhereInput;
|
|
|
|
+ orderBy?: TrainingTypeOrderByInput;
|
|
|
|
+ skip?: Int;
|
|
|
|
+ after?: String;
|
|
|
|
+ before?: String;
|
|
|
|
+ first?: Int;
|
|
|
|
+ last?: Int;
|
|
|
|
+ }) => FragmentableArray<TrainingType>;
|
|
|
|
+ trainingTypesConnection: (args?: {
|
|
|
|
+ where?: TrainingTypeWhereInput;
|
|
|
|
+ orderBy?: TrainingTypeOrderByInput;
|
|
|
|
+ skip?: Int;
|
|
|
|
+ after?: String;
|
|
|
|
+ before?: String;
|
|
|
|
+ first?: Int;
|
|
|
|
+ last?: Int;
|
|
|
|
+ }) => TrainingTypeConnectionPromise;
|
|
user: (where: UserWhereUniqueInput) => UserNullablePromise;
|
|
user: (where: UserWhereUniqueInput) => UserNullablePromise;
|
|
users: (args?: {
|
|
users: (args?: {
|
|
where?: UserWhereInput;
|
|
where?: UserWhereInput;
|
|
@@ -315,6 +337,26 @@ export interface Prisma {
|
|
}) => TrainingPromise;
|
|
}) => TrainingPromise;
|
|
deleteTraining: (where: TrainingWhereUniqueInput) => TrainingPromise;
|
|
deleteTraining: (where: TrainingWhereUniqueInput) => TrainingPromise;
|
|
deleteManyTrainings: (where?: TrainingWhereInput) => BatchPayloadPromise;
|
|
deleteManyTrainings: (where?: TrainingWhereInput) => BatchPayloadPromise;
|
|
|
|
+ createTrainingType: (data: TrainingTypeCreateInput) => TrainingTypePromise;
|
|
|
|
+ updateTrainingType: (args: {
|
|
|
|
+ data: TrainingTypeUpdateInput;
|
|
|
|
+ where: TrainingTypeWhereUniqueInput;
|
|
|
|
+ }) => TrainingTypePromise;
|
|
|
|
+ updateManyTrainingTypes: (args: {
|
|
|
|
+ data: TrainingTypeUpdateManyMutationInput;
|
|
|
|
+ where?: TrainingTypeWhereInput;
|
|
|
|
+ }) => BatchPayloadPromise;
|
|
|
|
+ upsertTrainingType: (args: {
|
|
|
|
+ where: TrainingTypeWhereUniqueInput;
|
|
|
|
+ create: TrainingTypeCreateInput;
|
|
|
|
+ update: TrainingTypeUpdateInput;
|
|
|
|
+ }) => TrainingTypePromise;
|
|
|
|
+ deleteTrainingType: (
|
|
|
|
+ where: TrainingTypeWhereUniqueInput
|
|
|
|
+ ) => TrainingTypePromise;
|
|
|
|
+ deleteManyTrainingTypes: (
|
|
|
|
+ where?: TrainingTypeWhereInput
|
|
|
|
+ ) => BatchPayloadPromise;
|
|
createUser: (data: UserCreateInput) => UserPromise;
|
|
createUser: (data: UserCreateInput) => UserPromise;
|
|
updateUser: (args: {
|
|
updateUser: (args: {
|
|
data: UserUpdateInput;
|
|
data: UserUpdateInput;
|
|
@@ -361,6 +403,9 @@ export interface Subscription {
|
|
training: (
|
|
training: (
|
|
where?: TrainingSubscriptionWhereInput
|
|
where?: TrainingSubscriptionWhereInput
|
|
) => TrainingSubscriptionPayloadSubscription;
|
|
) => TrainingSubscriptionPayloadSubscription;
|
|
|
|
+ trainingType: (
|
|
|
|
+ where?: TrainingTypeSubscriptionWhereInput
|
|
|
|
+ ) => TrainingTypeSubscriptionPayloadSubscription;
|
|
user: (
|
|
user: (
|
|
where?: UserSubscriptionWhereInput
|
|
where?: UserSubscriptionWhereInput
|
|
) => UserSubscriptionPayloadSubscription;
|
|
) => UserSubscriptionPayloadSubscription;
|
|
@@ -426,6 +471,8 @@ export type RatingOrderByInput =
|
|
| "createdAt_ASC"
|
|
| "createdAt_ASC"
|
|
| "createdAt_DESC";
|
|
| "createdAt_DESC";
|
|
|
|
|
|
|
|
+export type Permission = "ADMIN" | "INSTRUCTOR" | "USER";
|
|
|
|
+
|
|
export type FormatOrderByInput =
|
|
export type FormatOrderByInput =
|
|
| "id_ASC"
|
|
| "id_ASC"
|
|
| "id_DESC"
|
|
| "id_DESC"
|
|
@@ -441,8 +488,6 @@ export type UserOrderByInput =
|
|
| "email_DESC"
|
|
| "email_DESC"
|
|
| "name_ASC"
|
|
| "name_ASC"
|
|
| "name_DESC"
|
|
| "name_DESC"
|
|
- | "abbreviation_ASC"
|
|
|
|
- | "abbreviation_DESC"
|
|
|
|
| "password_ASC"
|
|
| "password_ASC"
|
|
| "password_DESC"
|
|
| "password_DESC"
|
|
| "createdAt_ASC"
|
|
| "createdAt_ASC"
|
|
@@ -456,7 +501,17 @@ export type TrainingOrderByInput =
|
|
| "createdAt_ASC"
|
|
| "createdAt_ASC"
|
|
| "createdAt_DESC"
|
|
| "createdAt_DESC"
|
|
| "trainingDate_ASC"
|
|
| "trainingDate_ASC"
|
|
- | "trainingDate_DESC";
|
|
|
|
|
|
+ | "trainingDate_DESC"
|
|
|
|
+ | "published_ASC"
|
|
|
|
+ | "published_DESC";
|
|
|
|
+
|
|
|
|
+export type TrainingTypeOrderByInput =
|
|
|
|
+ | "id_ASC"
|
|
|
|
+ | "id_DESC"
|
|
|
|
+ | "name_ASC"
|
|
|
|
+ | "name_DESC"
|
|
|
|
+ | "description_ASC"
|
|
|
|
+ | "description_DESC";
|
|
|
|
|
|
export type MutationType = "CREATED" | "UPDATED" | "DELETED";
|
|
export type MutationType = "CREATED" | "UPDATED" | "DELETED";
|
|
|
|
|
|
@@ -805,20 +860,6 @@ export interface UserWhereInput {
|
|
name_not_starts_with?: Maybe<String>;
|
|
name_not_starts_with?: Maybe<String>;
|
|
name_ends_with?: Maybe<String>;
|
|
name_ends_with?: Maybe<String>;
|
|
name_not_ends_with?: Maybe<String>;
|
|
name_not_ends_with?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
- abbreviation_not?: Maybe<String>;
|
|
|
|
- abbreviation_in?: Maybe<String[] | String>;
|
|
|
|
- abbreviation_not_in?: Maybe<String[] | String>;
|
|
|
|
- abbreviation_lt?: Maybe<String>;
|
|
|
|
- abbreviation_lte?: Maybe<String>;
|
|
|
|
- abbreviation_gt?: Maybe<String>;
|
|
|
|
- abbreviation_gte?: Maybe<String>;
|
|
|
|
- abbreviation_contains?: Maybe<String>;
|
|
|
|
- abbreviation_not_contains?: Maybe<String>;
|
|
|
|
- abbreviation_starts_with?: Maybe<String>;
|
|
|
|
- abbreviation_not_starts_with?: Maybe<String>;
|
|
|
|
- abbreviation_ends_with?: Maybe<String>;
|
|
|
|
- abbreviation_not_ends_with?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
password_not?: Maybe<String>;
|
|
password_not?: Maybe<String>;
|
|
password_in?: Maybe<String[] | String>;
|
|
password_in?: Maybe<String[] | String>;
|
|
@@ -952,6 +993,7 @@ export interface TrainingWhereInput {
|
|
title_not_starts_with?: Maybe<String>;
|
|
title_not_starts_with?: Maybe<String>;
|
|
title_ends_with?: Maybe<String>;
|
|
title_ends_with?: Maybe<String>;
|
|
title_not_ends_with?: Maybe<String>;
|
|
title_not_ends_with?: Maybe<String>;
|
|
|
|
+ type?: Maybe<TrainingTypeWhereInput>;
|
|
content_every?: Maybe<BlockWhereInput>;
|
|
content_every?: Maybe<BlockWhereInput>;
|
|
content_some?: Maybe<BlockWhereInput>;
|
|
content_some?: Maybe<BlockWhereInput>;
|
|
content_none?: Maybe<BlockWhereInput>;
|
|
content_none?: Maybe<BlockWhereInput>;
|
|
@@ -977,11 +1019,65 @@ export interface TrainingWhereInput {
|
|
ratings_every?: Maybe<RatingWhereInput>;
|
|
ratings_every?: Maybe<RatingWhereInput>;
|
|
ratings_some?: Maybe<RatingWhereInput>;
|
|
ratings_some?: Maybe<RatingWhereInput>;
|
|
ratings_none?: Maybe<RatingWhereInput>;
|
|
ratings_none?: Maybe<RatingWhereInput>;
|
|
|
|
+ published?: Maybe<Boolean>;
|
|
|
|
+ published_not?: Maybe<Boolean>;
|
|
AND?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
|
|
AND?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
|
|
OR?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
|
|
OR?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
|
|
NOT?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
|
|
NOT?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+export interface TrainingTypeWhereInput {
|
|
|
|
+ id?: Maybe<ID_Input>;
|
|
|
|
+ id_not?: Maybe<ID_Input>;
|
|
|
|
+ id_in?: Maybe<ID_Input[] | ID_Input>;
|
|
|
|
+ id_not_in?: Maybe<ID_Input[] | ID_Input>;
|
|
|
|
+ id_lt?: Maybe<ID_Input>;
|
|
|
|
+ id_lte?: Maybe<ID_Input>;
|
|
|
|
+ id_gt?: Maybe<ID_Input>;
|
|
|
|
+ id_gte?: Maybe<ID_Input>;
|
|
|
|
+ id_contains?: Maybe<ID_Input>;
|
|
|
|
+ id_not_contains?: Maybe<ID_Input>;
|
|
|
|
+ id_starts_with?: Maybe<ID_Input>;
|
|
|
|
+ id_not_starts_with?: Maybe<ID_Input>;
|
|
|
|
+ id_ends_with?: Maybe<ID_Input>;
|
|
|
|
+ id_not_ends_with?: Maybe<ID_Input>;
|
|
|
|
+ name?: Maybe<String>;
|
|
|
|
+ name_not?: Maybe<String>;
|
|
|
|
+ name_in?: Maybe<String[] | String>;
|
|
|
|
+ name_not_in?: Maybe<String[] | String>;
|
|
|
|
+ name_lt?: Maybe<String>;
|
|
|
|
+ name_lte?: Maybe<String>;
|
|
|
|
+ name_gt?: Maybe<String>;
|
|
|
|
+ name_gte?: Maybe<String>;
|
|
|
|
+ name_contains?: Maybe<String>;
|
|
|
|
+ name_not_contains?: Maybe<String>;
|
|
|
|
+ name_starts_with?: Maybe<String>;
|
|
|
|
+ name_not_starts_with?: Maybe<String>;
|
|
|
|
+ name_ends_with?: Maybe<String>;
|
|
|
|
+ name_not_ends_with?: Maybe<String>;
|
|
|
|
+ description?: Maybe<String>;
|
|
|
|
+ description_not?: Maybe<String>;
|
|
|
|
+ description_in?: Maybe<String[] | String>;
|
|
|
|
+ description_not_in?: Maybe<String[] | String>;
|
|
|
|
+ description_lt?: Maybe<String>;
|
|
|
|
+ description_lte?: Maybe<String>;
|
|
|
|
+ description_gt?: Maybe<String>;
|
|
|
|
+ description_gte?: Maybe<String>;
|
|
|
|
+ description_contains?: Maybe<String>;
|
|
|
|
+ description_not_contains?: Maybe<String>;
|
|
|
|
+ description_starts_with?: Maybe<String>;
|
|
|
|
+ description_not_starts_with?: Maybe<String>;
|
|
|
|
+ description_ends_with?: Maybe<String>;
|
|
|
|
+ description_not_ends_with?: Maybe<String>;
|
|
|
|
+ AND?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
|
|
|
|
+ OR?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
|
|
|
|
+ NOT?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export type TrainingTypeWhereUniqueInput = AtLeastOne<{
|
|
|
|
+ id: Maybe<ID_Input>;
|
|
|
|
+}>;
|
|
|
|
+
|
|
export type UserWhereUniqueInput = AtLeastOne<{
|
|
export type UserWhereUniqueInput = AtLeastOne<{
|
|
id: Maybe<ID_Input>;
|
|
id: Maybe<ID_Input>;
|
|
email?: Maybe<String>;
|
|
email?: Maybe<String>;
|
|
@@ -1327,9 +1423,10 @@ export interface UserCreateWithoutCommentsInput {
|
|
id?: Maybe<ID_Input>;
|
|
id?: Maybe<ID_Input>;
|
|
email: String;
|
|
email: String;
|
|
name: String;
|
|
name: String;
|
|
- abbreviation: String;
|
|
|
|
password: String;
|
|
password: String;
|
|
ratings?: Maybe<RatingCreateManyWithoutUserInput>;
|
|
ratings?: Maybe<RatingCreateManyWithoutUserInput>;
|
|
|
|
+ permissions?: Maybe<UserCreatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserCreateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface RatingCreateManyWithoutUserInput {
|
|
export interface RatingCreateManyWithoutUserInput {
|
|
@@ -1343,6 +1440,14 @@ export interface RatingCreateWithoutUserInput {
|
|
comment: String;
|
|
comment: String;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+export interface UserCreatepermissionsInput {
|
|
|
|
+ set?: Maybe<Permission[] | Permission>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface UserCreateinterestsInput {
|
|
|
|
+ set?: Maybe<String[] | String>;
|
|
|
|
+}
|
|
|
|
+
|
|
export interface CommentUpdateInput {
|
|
export interface CommentUpdateInput {
|
|
text?: Maybe<String>;
|
|
text?: Maybe<String>;
|
|
author?: Maybe<UserUpdateOneRequiredWithoutCommentsInput>;
|
|
author?: Maybe<UserUpdateOneRequiredWithoutCommentsInput>;
|
|
@@ -1358,9 +1463,10 @@ export interface UserUpdateOneRequiredWithoutCommentsInput {
|
|
export interface UserUpdateWithoutCommentsDataInput {
|
|
export interface UserUpdateWithoutCommentsDataInput {
|
|
email?: Maybe<String>;
|
|
email?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
|
|
ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
|
|
|
|
+ permissions?: Maybe<UserUpdatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserUpdateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface RatingUpdateManyWithoutUserInput {
|
|
export interface RatingUpdateManyWithoutUserInput {
|
|
@@ -1460,6 +1566,14 @@ export interface RatingUpdateManyDataInput {
|
|
comment?: Maybe<String>;
|
|
comment?: Maybe<String>;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+export interface UserUpdatepermissionsInput {
|
|
|
|
+ set?: Maybe<Permission[] | Permission>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface UserUpdateinterestsInput {
|
|
|
|
+ set?: Maybe<String[] | String>;
|
|
|
|
+}
|
|
|
|
+
|
|
export interface UserUpsertWithoutCommentsInput {
|
|
export interface UserUpsertWithoutCommentsInput {
|
|
update: UserUpdateWithoutCommentsDataInput;
|
|
update: UserUpdateWithoutCommentsDataInput;
|
|
create: UserCreateWithoutCommentsInput;
|
|
create: UserCreateWithoutCommentsInput;
|
|
@@ -1509,9 +1623,10 @@ export interface UserCreateWithoutRatingsInput {
|
|
id?: Maybe<ID_Input>;
|
|
id?: Maybe<ID_Input>;
|
|
email: String;
|
|
email: String;
|
|
name: String;
|
|
name: String;
|
|
- abbreviation: String;
|
|
|
|
password: String;
|
|
password: String;
|
|
comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
|
|
comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
|
|
|
|
+ permissions?: Maybe<UserCreatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserCreateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface CommentCreateManyWithoutAuthorInput {
|
|
export interface CommentCreateManyWithoutAuthorInput {
|
|
@@ -1542,9 +1657,10 @@ export interface UserUpdateOneRequiredWithoutRatingsInput {
|
|
export interface UserUpdateWithoutRatingsDataInput {
|
|
export interface UserUpdateWithoutRatingsDataInput {
|
|
email?: Maybe<String>;
|
|
email?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
|
|
comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
|
|
|
|
+ permissions?: Maybe<UserUpdatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserUpdateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface CommentUpdateManyWithoutAuthorInput {
|
|
export interface CommentUpdateManyWithoutAuthorInput {
|
|
@@ -1663,10 +1779,23 @@ export interface TrackUpdateManyMutationInput {
|
|
export interface TrainingCreateInput {
|
|
export interface TrainingCreateInput {
|
|
id?: Maybe<ID_Input>;
|
|
id?: Maybe<ID_Input>;
|
|
title: String;
|
|
title: String;
|
|
|
|
+ type: TrainingTypeCreateOneInput;
|
|
content?: Maybe<BlockCreateManyInput>;
|
|
content?: Maybe<BlockCreateManyInput>;
|
|
trainingDate: DateTimeInput;
|
|
trainingDate: DateTimeInput;
|
|
participants?: Maybe<UserCreateManyInput>;
|
|
participants?: Maybe<UserCreateManyInput>;
|
|
ratings?: Maybe<RatingCreateManyInput>;
|
|
ratings?: Maybe<RatingCreateManyInput>;
|
|
|
|
+ published: Boolean;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeCreateOneInput {
|
|
|
|
+ create?: Maybe<TrainingTypeCreateInput>;
|
|
|
|
+ connect?: Maybe<TrainingTypeWhereUniqueInput>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeCreateInput {
|
|
|
|
+ id?: Maybe<ID_Input>;
|
|
|
|
+ name: String;
|
|
|
|
+ description: String;
|
|
}
|
|
}
|
|
|
|
|
|
export interface BlockCreateManyInput {
|
|
export interface BlockCreateManyInput {
|
|
@@ -1683,10 +1812,11 @@ export interface UserCreateInput {
|
|
id?: Maybe<ID_Input>;
|
|
id?: Maybe<ID_Input>;
|
|
email: String;
|
|
email: String;
|
|
name: String;
|
|
name: String;
|
|
- abbreviation: String;
|
|
|
|
password: String;
|
|
password: String;
|
|
comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
|
|
comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
|
|
ratings?: Maybe<RatingCreateManyWithoutUserInput>;
|
|
ratings?: Maybe<RatingCreateManyWithoutUserInput>;
|
|
|
|
+ permissions?: Maybe<UserCreatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserCreateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface RatingCreateManyInput {
|
|
export interface RatingCreateManyInput {
|
|
@@ -1696,10 +1826,29 @@ export interface RatingCreateManyInput {
|
|
|
|
|
|
export interface TrainingUpdateInput {
|
|
export interface TrainingUpdateInput {
|
|
title?: Maybe<String>;
|
|
title?: Maybe<String>;
|
|
|
|
+ type?: Maybe<TrainingTypeUpdateOneRequiredInput>;
|
|
content?: Maybe<BlockUpdateManyInput>;
|
|
content?: Maybe<BlockUpdateManyInput>;
|
|
trainingDate?: Maybe<DateTimeInput>;
|
|
trainingDate?: Maybe<DateTimeInput>;
|
|
participants?: Maybe<UserUpdateManyInput>;
|
|
participants?: Maybe<UserUpdateManyInput>;
|
|
ratings?: Maybe<RatingUpdateManyInput>;
|
|
ratings?: Maybe<RatingUpdateManyInput>;
|
|
|
|
+ published?: Maybe<Boolean>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeUpdateOneRequiredInput {
|
|
|
|
+ create?: Maybe<TrainingTypeCreateInput>;
|
|
|
|
+ update?: Maybe<TrainingTypeUpdateDataInput>;
|
|
|
|
+ upsert?: Maybe<TrainingTypeUpsertNestedInput>;
|
|
|
|
+ connect?: Maybe<TrainingTypeWhereUniqueInput>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeUpdateDataInput {
|
|
|
|
+ name?: Maybe<String>;
|
|
|
|
+ description?: Maybe<String>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeUpsertNestedInput {
|
|
|
|
+ update: TrainingTypeUpdateDataInput;
|
|
|
|
+ create: TrainingTypeCreateInput;
|
|
}
|
|
}
|
|
|
|
|
|
export interface BlockUpdateManyInput {
|
|
export interface BlockUpdateManyInput {
|
|
@@ -1847,10 +1996,11 @@ export interface UserUpdateWithWhereUniqueNestedInput {
|
|
export interface UserUpdateDataInput {
|
|
export interface UserUpdateDataInput {
|
|
email?: Maybe<String>;
|
|
email?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
|
|
comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
|
|
ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
|
|
ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
|
|
|
|
+ permissions?: Maybe<UserUpdatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserUpdateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserUpsertWithWhereUniqueNestedInput {
|
|
export interface UserUpsertWithWhereUniqueNestedInput {
|
|
@@ -1902,20 +2052,6 @@ export interface UserScalarWhereInput {
|
|
name_not_starts_with?: Maybe<String>;
|
|
name_not_starts_with?: Maybe<String>;
|
|
name_ends_with?: Maybe<String>;
|
|
name_ends_with?: Maybe<String>;
|
|
name_not_ends_with?: Maybe<String>;
|
|
name_not_ends_with?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
- abbreviation_not?: Maybe<String>;
|
|
|
|
- abbreviation_in?: Maybe<String[] | String>;
|
|
|
|
- abbreviation_not_in?: Maybe<String[] | String>;
|
|
|
|
- abbreviation_lt?: Maybe<String>;
|
|
|
|
- abbreviation_lte?: Maybe<String>;
|
|
|
|
- abbreviation_gt?: Maybe<String>;
|
|
|
|
- abbreviation_gte?: Maybe<String>;
|
|
|
|
- abbreviation_contains?: Maybe<String>;
|
|
|
|
- abbreviation_not_contains?: Maybe<String>;
|
|
|
|
- abbreviation_starts_with?: Maybe<String>;
|
|
|
|
- abbreviation_not_starts_with?: Maybe<String>;
|
|
|
|
- abbreviation_ends_with?: Maybe<String>;
|
|
|
|
- abbreviation_not_ends_with?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
password_not?: Maybe<String>;
|
|
password_not?: Maybe<String>;
|
|
password_in?: Maybe<String[] | String>;
|
|
password_in?: Maybe<String[] | String>;
|
|
@@ -1951,8 +2087,9 @@ export interface UserUpdateManyWithWhereNestedInput {
|
|
export interface UserUpdateManyDataInput {
|
|
export interface UserUpdateManyDataInput {
|
|
email?: Maybe<String>;
|
|
email?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
|
|
+ permissions?: Maybe<UserUpdatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserUpdateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface RatingUpdateManyInput {
|
|
export interface RatingUpdateManyInput {
|
|
@@ -1996,22 +2133,35 @@ export interface RatingUpsertWithWhereUniqueNestedInput {
|
|
export interface TrainingUpdateManyMutationInput {
|
|
export interface TrainingUpdateManyMutationInput {
|
|
title?: Maybe<String>;
|
|
title?: Maybe<String>;
|
|
trainingDate?: Maybe<DateTimeInput>;
|
|
trainingDate?: Maybe<DateTimeInput>;
|
|
|
|
+ published?: Maybe<Boolean>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeUpdateInput {
|
|
|
|
+ name?: Maybe<String>;
|
|
|
|
+ description?: Maybe<String>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeUpdateManyMutationInput {
|
|
|
|
+ name?: Maybe<String>;
|
|
|
|
+ description?: Maybe<String>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserUpdateInput {
|
|
export interface UserUpdateInput {
|
|
email?: Maybe<String>;
|
|
email?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
|
|
comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
|
|
ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
|
|
ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
|
|
|
|
+ permissions?: Maybe<UserUpdatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserUpdateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserUpdateManyMutationInput {
|
|
export interface UserUpdateManyMutationInput {
|
|
email?: Maybe<String>;
|
|
email?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
name?: Maybe<String>;
|
|
- abbreviation?: Maybe<String>;
|
|
|
|
password?: Maybe<String>;
|
|
password?: Maybe<String>;
|
|
|
|
+ permissions?: Maybe<UserUpdatepermissionsInput>;
|
|
|
|
+ interests?: Maybe<UserUpdateinterestsInput>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface BlockSubscriptionWhereInput {
|
|
export interface BlockSubscriptionWhereInput {
|
|
@@ -2101,6 +2251,23 @@ export interface TrainingSubscriptionWhereInput {
|
|
>;
|
|
>;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+export interface TrainingTypeSubscriptionWhereInput {
|
|
|
|
+ mutation_in?: Maybe<MutationType[] | MutationType>;
|
|
|
|
+ updatedFields_contains?: Maybe<String>;
|
|
|
|
+ updatedFields_contains_every?: Maybe<String[] | String>;
|
|
|
|
+ updatedFields_contains_some?: Maybe<String[] | String>;
|
|
|
|
+ node?: Maybe<TrainingTypeWhereInput>;
|
|
|
|
+ AND?: Maybe<
|
|
|
|
+ TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
|
|
|
|
+ >;
|
|
|
|
+ OR?: Maybe<
|
|
|
|
+ TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
|
|
|
|
+ >;
|
|
|
|
+ NOT?: Maybe<
|
|
|
|
+ TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
|
|
|
|
+ >;
|
|
|
|
+}
|
|
|
|
+
|
|
export interface UserSubscriptionWhereInput {
|
|
export interface UserSubscriptionWhereInput {
|
|
mutation_in?: Maybe<MutationType[] | MutationType>;
|
|
mutation_in?: Maybe<MutationType[] | MutationType>;
|
|
updatedFields_contains?: Maybe<String>;
|
|
updatedFields_contains?: Maybe<String>;
|
|
@@ -2421,16 +2588,16 @@ export interface User {
|
|
id: ID_Output;
|
|
id: ID_Output;
|
|
email: String;
|
|
email: String;
|
|
name: String;
|
|
name: String;
|
|
- abbreviation: String;
|
|
|
|
password: String;
|
|
password: String;
|
|
createdAt: DateTimeOutput;
|
|
createdAt: DateTimeOutput;
|
|
|
|
+ permissions: Permission[];
|
|
|
|
+ interests: String[];
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserPromise extends Promise<User>, Fragmentable {
|
|
export interface UserPromise extends Promise<User>, Fragmentable {
|
|
id: () => Promise<ID_Output>;
|
|
id: () => Promise<ID_Output>;
|
|
email: () => Promise<String>;
|
|
email: () => Promise<String>;
|
|
name: () => Promise<String>;
|
|
name: () => Promise<String>;
|
|
- abbreviation: () => Promise<String>;
|
|
|
|
password: () => Promise<String>;
|
|
password: () => Promise<String>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
comments: <T = FragmentableArray<Comment>>(args?: {
|
|
comments: <T = FragmentableArray<Comment>>(args?: {
|
|
@@ -2451,6 +2618,8 @@ export interface UserPromise extends Promise<User>, Fragmentable {
|
|
first?: Int;
|
|
first?: Int;
|
|
last?: Int;
|
|
last?: Int;
|
|
}) => T;
|
|
}) => T;
|
|
|
|
+ permissions: () => Promise<Permission[]>;
|
|
|
|
+ interests: () => Promise<String[]>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserSubscription
|
|
export interface UserSubscription
|
|
@@ -2459,7 +2628,6 @@ export interface UserSubscription
|
|
id: () => Promise<AsyncIterator<ID_Output>>;
|
|
id: () => Promise<AsyncIterator<ID_Output>>;
|
|
email: () => Promise<AsyncIterator<String>>;
|
|
email: () => Promise<AsyncIterator<String>>;
|
|
name: () => Promise<AsyncIterator<String>>;
|
|
name: () => Promise<AsyncIterator<String>>;
|
|
- abbreviation: () => Promise<AsyncIterator<String>>;
|
|
|
|
password: () => Promise<AsyncIterator<String>>;
|
|
password: () => Promise<AsyncIterator<String>>;
|
|
createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
comments: <T = Promise<AsyncIterator<CommentSubscription>>>(args?: {
|
|
comments: <T = Promise<AsyncIterator<CommentSubscription>>>(args?: {
|
|
@@ -2480,6 +2648,8 @@ export interface UserSubscription
|
|
first?: Int;
|
|
first?: Int;
|
|
last?: Int;
|
|
last?: Int;
|
|
}) => T;
|
|
}) => T;
|
|
|
|
+ permissions: () => Promise<AsyncIterator<Permission[]>>;
|
|
|
|
+ interests: () => Promise<AsyncIterator<String[]>>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserNullablePromise
|
|
export interface UserNullablePromise
|
|
@@ -2488,7 +2658,6 @@ export interface UserNullablePromise
|
|
id: () => Promise<ID_Output>;
|
|
id: () => Promise<ID_Output>;
|
|
email: () => Promise<String>;
|
|
email: () => Promise<String>;
|
|
name: () => Promise<String>;
|
|
name: () => Promise<String>;
|
|
- abbreviation: () => Promise<String>;
|
|
|
|
password: () => Promise<String>;
|
|
password: () => Promise<String>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
comments: <T = FragmentableArray<Comment>>(args?: {
|
|
comments: <T = FragmentableArray<Comment>>(args?: {
|
|
@@ -2509,6 +2678,8 @@ export interface UserNullablePromise
|
|
first?: Int;
|
|
first?: Int;
|
|
last?: Int;
|
|
last?: Int;
|
|
}) => T;
|
|
}) => T;
|
|
|
|
+ permissions: () => Promise<Permission[]>;
|
|
|
|
+ interests: () => Promise<String[]>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface Rating {
|
|
export interface Rating {
|
|
@@ -2823,11 +2994,13 @@ export interface Training {
|
|
title: String;
|
|
title: String;
|
|
createdAt: DateTimeOutput;
|
|
createdAt: DateTimeOutput;
|
|
trainingDate: DateTimeOutput;
|
|
trainingDate: DateTimeOutput;
|
|
|
|
+ published: Boolean;
|
|
}
|
|
}
|
|
|
|
|
|
export interface TrainingPromise extends Promise<Training>, Fragmentable {
|
|
export interface TrainingPromise extends Promise<Training>, Fragmentable {
|
|
id: () => Promise<ID_Output>;
|
|
id: () => Promise<ID_Output>;
|
|
title: () => Promise<String>;
|
|
title: () => Promise<String>;
|
|
|
|
+ type: <T = TrainingTypePromise>() => T;
|
|
content: <T = FragmentableArray<Block>>(args?: {
|
|
content: <T = FragmentableArray<Block>>(args?: {
|
|
where?: BlockWhereInput;
|
|
where?: BlockWhereInput;
|
|
orderBy?: BlockOrderByInput;
|
|
orderBy?: BlockOrderByInput;
|
|
@@ -2857,6 +3030,7 @@ export interface TrainingPromise extends Promise<Training>, Fragmentable {
|
|
first?: Int;
|
|
first?: Int;
|
|
last?: Int;
|
|
last?: Int;
|
|
}) => T;
|
|
}) => T;
|
|
|
|
+ published: () => Promise<Boolean>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface TrainingSubscription
|
|
export interface TrainingSubscription
|
|
@@ -2864,6 +3038,7 @@ export interface TrainingSubscription
|
|
Fragmentable {
|
|
Fragmentable {
|
|
id: () => Promise<AsyncIterator<ID_Output>>;
|
|
id: () => Promise<AsyncIterator<ID_Output>>;
|
|
title: () => Promise<AsyncIterator<String>>;
|
|
title: () => Promise<AsyncIterator<String>>;
|
|
|
|
+ type: <T = TrainingTypeSubscription>() => T;
|
|
content: <T = Promise<AsyncIterator<BlockSubscription>>>(args?: {
|
|
content: <T = Promise<AsyncIterator<BlockSubscription>>>(args?: {
|
|
where?: BlockWhereInput;
|
|
where?: BlockWhereInput;
|
|
orderBy?: BlockOrderByInput;
|
|
orderBy?: BlockOrderByInput;
|
|
@@ -2893,6 +3068,7 @@ export interface TrainingSubscription
|
|
first?: Int;
|
|
first?: Int;
|
|
last?: Int;
|
|
last?: Int;
|
|
}) => T;
|
|
}) => T;
|
|
|
|
+ published: () => Promise<AsyncIterator<Boolean>>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface TrainingNullablePromise
|
|
export interface TrainingNullablePromise
|
|
@@ -2900,6 +3076,7 @@ export interface TrainingNullablePromise
|
|
Fragmentable {
|
|
Fragmentable {
|
|
id: () => Promise<ID_Output>;
|
|
id: () => Promise<ID_Output>;
|
|
title: () => Promise<String>;
|
|
title: () => Promise<String>;
|
|
|
|
+ type: <T = TrainingTypePromise>() => T;
|
|
content: <T = FragmentableArray<Block>>(args?: {
|
|
content: <T = FragmentableArray<Block>>(args?: {
|
|
where?: BlockWhereInput;
|
|
where?: BlockWhereInput;
|
|
orderBy?: BlockOrderByInput;
|
|
orderBy?: BlockOrderByInput;
|
|
@@ -2929,6 +3106,37 @@ export interface TrainingNullablePromise
|
|
first?: Int;
|
|
first?: Int;
|
|
last?: Int;
|
|
last?: Int;
|
|
}) => T;
|
|
}) => T;
|
|
|
|
+ published: () => Promise<Boolean>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingType {
|
|
|
|
+ id: ID_Output;
|
|
|
|
+ name: String;
|
|
|
|
+ description: String;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypePromise
|
|
|
|
+ extends Promise<TrainingType>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ id: () => Promise<ID_Output>;
|
|
|
|
+ name: () => Promise<String>;
|
|
|
|
+ description: () => Promise<String>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeSubscription
|
|
|
|
+ extends Promise<AsyncIterator<TrainingType>>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ id: () => Promise<AsyncIterator<ID_Output>>;
|
|
|
|
+ name: () => Promise<AsyncIterator<String>>;
|
|
|
|
+ description: () => Promise<AsyncIterator<String>>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeNullablePromise
|
|
|
|
+ extends Promise<TrainingType | null>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ id: () => Promise<ID_Output>;
|
|
|
|
+ name: () => Promise<String>;
|
|
|
|
+ description: () => Promise<String>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface TrainingConnection {
|
|
export interface TrainingConnection {
|
|
@@ -2987,6 +3195,62 @@ export interface AggregateTrainingSubscription
|
|
count: () => Promise<AsyncIterator<Int>>;
|
|
count: () => Promise<AsyncIterator<Int>>;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+export interface TrainingTypeConnection {
|
|
|
|
+ pageInfo: PageInfo;
|
|
|
|
+ edges: TrainingTypeEdge[];
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeConnectionPromise
|
|
|
|
+ extends Promise<TrainingTypeConnection>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ pageInfo: <T = PageInfoPromise>() => T;
|
|
|
|
+ edges: <T = FragmentableArray<TrainingTypeEdge>>() => T;
|
|
|
|
+ aggregate: <T = AggregateTrainingTypePromise>() => T;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeConnectionSubscription
|
|
|
|
+ extends Promise<AsyncIterator<TrainingTypeConnection>>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ pageInfo: <T = PageInfoSubscription>() => T;
|
|
|
|
+ edges: <T = Promise<AsyncIterator<TrainingTypeEdgeSubscription>>>() => T;
|
|
|
|
+ aggregate: <T = AggregateTrainingTypeSubscription>() => T;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeEdge {
|
|
|
|
+ node: TrainingType;
|
|
|
|
+ cursor: String;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeEdgePromise
|
|
|
|
+ extends Promise<TrainingTypeEdge>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ node: <T = TrainingTypePromise>() => T;
|
|
|
|
+ cursor: () => Promise<String>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeEdgeSubscription
|
|
|
|
+ extends Promise<AsyncIterator<TrainingTypeEdge>>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ node: <T = TrainingTypeSubscription>() => T;
|
|
|
|
+ cursor: () => Promise<AsyncIterator<String>>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface AggregateTrainingType {
|
|
|
|
+ count: Int;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface AggregateTrainingTypePromise
|
|
|
|
+ extends Promise<AggregateTrainingType>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ count: () => Promise<Int>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface AggregateTrainingTypeSubscription
|
|
|
|
+ extends Promise<AsyncIterator<AggregateTrainingType>>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ count: () => Promise<AsyncIterator<Int>>;
|
|
|
|
+}
|
|
|
|
+
|
|
export interface UserConnection {
|
|
export interface UserConnection {
|
|
pageInfo: PageInfo;
|
|
pageInfo: PageInfo;
|
|
edges: UserEdge[];
|
|
edges: UserEdge[];
|
|
@@ -3390,6 +3654,7 @@ export interface TrainingPreviousValues {
|
|
title: String;
|
|
title: String;
|
|
createdAt: DateTimeOutput;
|
|
createdAt: DateTimeOutput;
|
|
trainingDate: DateTimeOutput;
|
|
trainingDate: DateTimeOutput;
|
|
|
|
+ published: Boolean;
|
|
}
|
|
}
|
|
|
|
|
|
export interface TrainingPreviousValuesPromise
|
|
export interface TrainingPreviousValuesPromise
|
|
@@ -3399,6 +3664,7 @@ export interface TrainingPreviousValuesPromise
|
|
title: () => Promise<String>;
|
|
title: () => Promise<String>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
trainingDate: () => Promise<DateTimeOutput>;
|
|
trainingDate: () => Promise<DateTimeOutput>;
|
|
|
|
+ published: () => Promise<Boolean>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface TrainingPreviousValuesSubscription
|
|
export interface TrainingPreviousValuesSubscription
|
|
@@ -3408,6 +3674,54 @@ export interface TrainingPreviousValuesSubscription
|
|
title: () => Promise<AsyncIterator<String>>;
|
|
title: () => Promise<AsyncIterator<String>>;
|
|
createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
trainingDate: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
trainingDate: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
|
|
+ published: () => Promise<AsyncIterator<Boolean>>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeSubscriptionPayload {
|
|
|
|
+ mutation: MutationType;
|
|
|
|
+ node: TrainingType;
|
|
|
|
+ updatedFields: String[];
|
|
|
|
+ previousValues: TrainingTypePreviousValues;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeSubscriptionPayloadPromise
|
|
|
|
+ extends Promise<TrainingTypeSubscriptionPayload>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ mutation: () => Promise<MutationType>;
|
|
|
|
+ node: <T = TrainingTypePromise>() => T;
|
|
|
|
+ updatedFields: () => Promise<String[]>;
|
|
|
|
+ previousValues: <T = TrainingTypePreviousValuesPromise>() => T;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypeSubscriptionPayloadSubscription
|
|
|
|
+ extends Promise<AsyncIterator<TrainingTypeSubscriptionPayload>>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ mutation: () => Promise<AsyncIterator<MutationType>>;
|
|
|
|
+ node: <T = TrainingTypeSubscription>() => T;
|
|
|
|
+ updatedFields: () => Promise<AsyncIterator<String[]>>;
|
|
|
|
+ previousValues: <T = TrainingTypePreviousValuesSubscription>() => T;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypePreviousValues {
|
|
|
|
+ id: ID_Output;
|
|
|
|
+ name: String;
|
|
|
|
+ description: String;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypePreviousValuesPromise
|
|
|
|
+ extends Promise<TrainingTypePreviousValues>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ id: () => Promise<ID_Output>;
|
|
|
|
+ name: () => Promise<String>;
|
|
|
|
+ description: () => Promise<String>;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+export interface TrainingTypePreviousValuesSubscription
|
|
|
|
+ extends Promise<AsyncIterator<TrainingTypePreviousValues>>,
|
|
|
|
+ Fragmentable {
|
|
|
|
+ id: () => Promise<AsyncIterator<ID_Output>>;
|
|
|
|
+ name: () => Promise<AsyncIterator<String>>;
|
|
|
|
+ description: () => Promise<AsyncIterator<String>>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserSubscriptionPayload {
|
|
export interface UserSubscriptionPayload {
|
|
@@ -3439,9 +3753,10 @@ export interface UserPreviousValues {
|
|
id: ID_Output;
|
|
id: ID_Output;
|
|
email: String;
|
|
email: String;
|
|
name: String;
|
|
name: String;
|
|
- abbreviation: String;
|
|
|
|
password: String;
|
|
password: String;
|
|
createdAt: DateTimeOutput;
|
|
createdAt: DateTimeOutput;
|
|
|
|
+ permissions: Permission[];
|
|
|
|
+ interests: String[];
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserPreviousValuesPromise
|
|
export interface UserPreviousValuesPromise
|
|
@@ -3450,9 +3765,10 @@ export interface UserPreviousValuesPromise
|
|
id: () => Promise<ID_Output>;
|
|
id: () => Promise<ID_Output>;
|
|
email: () => Promise<String>;
|
|
email: () => Promise<String>;
|
|
name: () => Promise<String>;
|
|
name: () => Promise<String>;
|
|
- abbreviation: () => Promise<String>;
|
|
|
|
password: () => Promise<String>;
|
|
password: () => Promise<String>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
createdAt: () => Promise<DateTimeOutput>;
|
|
|
|
+ permissions: () => Promise<Permission[]>;
|
|
|
|
+ interests: () => Promise<String[]>;
|
|
}
|
|
}
|
|
|
|
|
|
export interface UserPreviousValuesSubscription
|
|
export interface UserPreviousValuesSubscription
|
|
@@ -3461,9 +3777,10 @@ export interface UserPreviousValuesSubscription
|
|
id: () => Promise<AsyncIterator<ID_Output>>;
|
|
id: () => Promise<AsyncIterator<ID_Output>>;
|
|
email: () => Promise<AsyncIterator<String>>;
|
|
email: () => Promise<AsyncIterator<String>>;
|
|
name: () => Promise<AsyncIterator<String>>;
|
|
name: () => Promise<AsyncIterator<String>>;
|
|
- abbreviation: () => Promise<AsyncIterator<String>>;
|
|
|
|
password: () => Promise<AsyncIterator<String>>;
|
|
password: () => Promise<AsyncIterator<String>>;
|
|
createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
|
|
|
|
+ permissions: () => Promise<AsyncIterator<Permission[]>>;
|
|
|
|
+ interests: () => Promise<AsyncIterator<String[]>>;
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -3508,10 +3825,18 @@ export const models: Model[] = [
|
|
name: "User",
|
|
name: "User",
|
|
embedded: false
|
|
embedded: false
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ name: "Permission",
|
|
|
|
+ embedded: false
|
|
|
|
+ },
|
|
{
|
|
{
|
|
name: "Training",
|
|
name: "Training",
|
|
embedded: false
|
|
embedded: false
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ name: "TrainingType",
|
|
|
|
+ embedded: false
|
|
|
|
+ },
|
|
{
|
|
{
|
|
name: "Block",
|
|
name: "Block",
|
|
embedded: false
|
|
embedded: false
|