From 7bf041be75df1be6aa39410ff4e88602ce9b6243 Mon Sep 17 00:00:00 2001 From: George Bell <47749730+GeorgeBellTMH@users.noreply.github.com> Date: Tue, 23 May 2023 15:01:21 -0400 Subject: [PATCH] Added icons --- amplify/backend/api/jcmobile/schema.graphql | 2 + assets/20x20.png | Bin 0 -> 77 bytes components/Header/Header.tsx | 11 +- components/ProfileImage/JCImage.tsx | 89 ++ components/ProfileImage/useJCImage.ts | 49 + components/ResourceViewer/ResourceImage.tsx | 3 +- screens/Admin/AdminMenuScreen.tsx | 35 +- src/API-customqueries.ts | 1288 ++++++++++--------- src/API.ts | 190 +++ src/graphql-custom/queries.ts | 14 + src/graphql/mutations.ts | 63 + src/graphql/queries.ts | 35 + src/graphql/schema.json | 292 +++-- src/graphql/subscriptions.ts | 63 + src/version.js | 2 +- 15 files changed, 1435 insertions(+), 701 deletions(-) create mode 100644 assets/20x20.png create mode 100644 components/ProfileImage/JCImage.tsx create mode 100644 components/ProfileImage/useJCImage.ts diff --git a/amplify/backend/api/jcmobile/schema.graphql b/amplify/backend/api/jcmobile/schema.graphql index 2b2a859e..574f7d02 100644 --- a/amplify/backend/api/jcmobile/schema.graphql +++ b/amplify/backend/api/jcmobile/schema.graphql @@ -1415,6 +1415,7 @@ type Menu name:String action:String params:String + icon:Image readGroups:[UserGroupType] subItems: [SubMenu] @connection(name:"subMenuMenu",keyField: "menuID",sortField:"order") @@ -1434,6 +1435,7 @@ type SubMenu menu:Menu @connection(name:"subMenuMenu",keyField:"menuID") name:String action:String + icon:Image params:String readGroups:[UserGroupType] } diff --git a/assets/20x20.png b/assets/20x20.png new file mode 100644 index 0000000000000000000000000000000000000000..f5e95666f1f51df0823de9edce5e6447fc5978c2 GIT binary patch literal 77 zcmeAS@N?(olHy`uVBq!ia0vp^A|TAc0wmQNuC{?Vo-U3d6}OU86od@=v}8gpRtc~$ Ys9a+Zy>IoI4=B&z>FVdQ&MBb@04vH6{{R30 literal 0 HcmV?d00001 diff --git a/components/Header/Header.tsx b/components/Header/Header.tsx index 96d44bf6..d6e4ef14 100644 --- a/components/Header/Header.tsx +++ b/components/Header/Header.tsx @@ -12,12 +12,13 @@ import { StyleSheet, Text, TouchableOpacity, - useWindowDimensions, View, + useWindowDimensions, } from "react-native" import { ListMenusQuery } from "src/API-customqueries" import SearchInactiveIcon from "../../assets/Facelift/svg/Search-2.svg" import { Data } from "../../components/Data/Data" +import JCImage, { JCImageQuality, JCImageStyle } from "../../components/ProfileImage/JCImage" import { constants } from "../../src/constants" import { JCCognitoUser } from "../../src/types" import SearchBar from "../Forms/SearchBar/SearchBar" @@ -278,6 +279,14 @@ export default function HeaderJC(props: Props) { openScreen(subItem.action ?? "", subItem.params) }} > + + + {subItem.name} diff --git a/components/ProfileImage/JCImage.tsx b/components/ProfileImage/JCImage.tsx new file mode 100644 index 00000000..d6b4ad54 --- /dev/null +++ b/components/ProfileImage/JCImage.tsx @@ -0,0 +1,89 @@ +import React, { useEffect, useRef } from "react" +import { + Animated, + Image, + ImageSourcePropType, + ImageStyle, + StyleSheet, + View, + ViewStyle, +} from "react-native" +import { ImageInput } from "src/API" +import DefaultImage from "../../assets/20x20.png" +import useJCImage from "./useJCImage" + +export enum JCImageQuality { + small = "small", + medium = "medium", + large = "large", +} +export enum JCImageStyle { + IconSmall = "IconSmall", +} +type JCImageType = "icon" | "resource" +export type JCImageProps = { + containerStyle?: ViewStyle + imageStyle?: ImageStyle + style: JCImageStyle + quality: JCImageQuality + type: JCImageType + image: ImageInput | null | undefined + linkToProfile?: boolean + showNameInToolTip?: boolean +} + +export const ProfileImageStyles = StyleSheet.create({ + Bordered: { + borderColor: "#E4E1E1", + borderWidth: 0, + // for some reason, borderWidth:1 breaks the image spacing on Chrome browser randomly + // not sure what's going on here + }, + ImageContainer: { + backgroundColor: "#fff", + }, + IconSmall: { + height: 20, + width: 20, + }, +}) +export default function JCImage(props: JCImageProps) { + const { url, isLoading = true } = useJCImage(props) + const fadeAnim = useRef(new Animated.Value(0)).current + const fadeAnim2 = useRef(new Animated.Value(1)).current + const fade = () => { + Animated.timing(fadeAnim, { + toValue: 1, + duration: 1000, + useNativeDriver: true, + }).start() + Animated.timing(fadeAnim2, { + toValue: 0, + duration: 1000, + useNativeDriver: true, + }).start() + } + useEffect(() => { + if (url && !isLoading) fade() + }, [url, isLoading]) + return ( + + + + + {!isLoading && url ? ( + + + + ) : null} + + ) +} diff --git a/components/ProfileImage/useJCImage.ts b/components/ProfileImage/useJCImage.ts new file mode 100644 index 00000000..3ba66736 --- /dev/null +++ b/components/ProfileImage/useJCImage.ts @@ -0,0 +1,49 @@ +import { Storage } from "aws-amplify" +import { useEffect, useState } from "react" +import { JCImageProps } from "./JCImage" + +export default function useJCImage(props: JCImageProps) { + const [url, setUrl] = useState("") + const [isLoading, setIsLoading] = useState(true) + useEffect(() => { + const loadImageFromStorage = async () => { + let imgUrl: string | null | undefined + switch (props.quality) { + case "large": + imgUrl = props.image?.filenameLarge + break + case "medium": + imgUrl = props.image?.filenameMedium + break + case "small": + imgUrl = props.image?.filenameSmall + break + default: + imgUrl = props.image?.filenameMedium + break + } + try { + setIsLoading(true) + if (imgUrl) { + // Storage.get() not throwing error when file does not exist + // Current implementation shows default image while loading + // Errored requests that don't throw an error will maintain loading state, + const pfImage = await Storage.get(imgUrl, { + level: "protected", + contentType: "image/png", + identityId: props.image?.userId ?? "", + }) + setIsLoading(false) + setUrl(pfImage) + } else { + console.log("No Image URL Found.") + } + } catch (err) { + console.log({ err }) + setUrl("") + } + } + if (props.image) loadImageFromStorage() + }, [props.quality, props.image]) + return { url: url, isLoading } +} diff --git a/components/ResourceViewer/ResourceImage.tsx b/components/ResourceViewer/ResourceImage.tsx index 4504b721..ed52f78a 100644 --- a/components/ResourceViewer/ResourceImage.tsx +++ b/components/ResourceViewer/ResourceImage.tsx @@ -10,6 +10,7 @@ interface Props { fileName: string currentImage: ImageInput | null | undefined onUpdate(image: ImageInput): void + style?: ButtonTypes } interface State extends JCState { uploading: boolean @@ -46,7 +47,7 @@ class ResourceImage extends JCComponent { ) : ( <> { null }} diff --git a/screens/Admin/AdminMenuScreen.tsx b/screens/Admin/AdminMenuScreen.tsx index 745fc888..e98e4d6c 100644 --- a/screens/Admin/AdminMenuScreen.tsx +++ b/screens/Admin/AdminMenuScreen.tsx @@ -9,7 +9,9 @@ import { Data } from "../../components/Data/Data" import JCButton, { ButtonTypes } from "../../components/Forms/JCButton" import JCModal from "../../components/Forms/JCModal" import Header from "../../components/Header/Header" -import { ListSubMenusQuery, UserGroupType } from "../../src/API" +import JCImage, { JCImageQuality, JCImageStyle } from "../../components/ProfileImage/JCImage" +import ResourceImage from "../../components/ResourceViewer/ResourceImage" +import { ImageInput, ListSubMenusQuery, UserGroupType } from "../../src/API" import { UserContext } from "../HomeScreen/UserContext" interface Props { navigation: StackNavigationProp @@ -31,6 +33,7 @@ export default function AdminScreen(props: Props) { const [menuName, setMenuName] = useState() const [menuProps, setMenuProps] = useState() const [subMenuName, setSubMenuName] = useState() + const [subMenuImage, setSubMenuImage] = useState() const [menuAction, setMenuAction] = useState() const [subMenuAction, setSubMenuAction] = useState() const [subMenuProps, setSubMenuProps] = useState() @@ -103,6 +106,7 @@ export default function AdminScreen(props: Props) { const z = await Data.updateSubMenu({ id: showEditSubMenuItem, name: subMenuName, + icon: subMenuImage, action: subMenuAction, params: subMenuProps, readGroups: groupData, @@ -112,6 +116,7 @@ export default function AdminScreen(props: Props) { setSubMenuAction("") setSubMenuProps("") setGroupData([]) + setSubMenuImage({}) await setInitialData() closeAddSubMenuItem() } @@ -127,6 +132,7 @@ export default function AdminScreen(props: Props) { params: subMenuProps, readGroups: groupData, menuID: showAddSubMenuItem, + icon: subMenuImage, order: menus.filter((f) => f.id == showAddSubMenuItem)[0].subItems?.items.length, }) console.log(z) @@ -134,6 +140,7 @@ export default function AdminScreen(props: Props) { setSubMenuAction("") setSubMenuProps("") setGroupData([]) + setSubMenuImage({}) await setInitialData() closeAddSubMenuItem() } catch (e) { @@ -287,6 +294,14 @@ export default function AdminScreen(props: Props) { value={subMenuProps} style={styles.adminCRMModalInviteEmail} > + { + setSubMenuImage(image) + }} + style={ButtonTypes.AdminOutline} + fileName={"menus/upload/icon-test-"} + currentImage={subMenuImage} + > Visible to: {groupData ? groupData.map((item: any, index: number) => { @@ -370,6 +385,7 @@ export default function AdminScreen(props: Props) { setShowAddSubMenuItem(null) setShowEditSubMenuItem(null) setSubMenuName("") + setSubMenuImage({}) setSubMenuAction("") setSubMenuProps("") setGroupData([]) @@ -386,6 +402,7 @@ export default function AdminScreen(props: Props) { const editSubMenuItem = (item: any) => { setShowEditSubMenuItem(item.id) setSubMenuName(item.name) + setSubMenuImage(item.icon) setSubMenuAction(item.action) setSubMenuProps(item.params) setGroupData(item.readGroups) @@ -525,6 +542,14 @@ export default function AdminScreen(props: Props) {
+ + + {item.name}
    + + + {item2.name} | null - or?: Array | null - not?: ModelMenuFilterInput | null -} - -export type ModelIDFilterInput = { - ne?: string | null - eq?: string | null - le?: string | null - lt?: string | null - ge?: string | null - gt?: string | null - contains?: string | null - notContains?: string | null - between?: Array | null - beginsWith?: string | null -} - -export type ModelIntFilterInput = { - ne?: number | null - eq?: number | null - le?: number | null - lt?: number | null - ge?: number | null - gt?: number | null - between?: Array | null -} - -export type ModelStringFilterInput = { - ne?: string | null - eq?: string | null - le?: string | null - lt?: string | null - ge?: string | null - gt?: string | null - contains?: string | null - notContains?: string | null - between?: Array | null - beginsWith?: string | null -} - -export type ModelUserGroupTypeListFilterInput = { - eq?: Array | null - ne?: Array | null - contains?: UserGroupType | null - notContains?: UserGroupType | null -} - -export enum UserGroupType { - verifiedUsers = "verifiedUsers", - admin = "admin", - courseAdmin = "courseAdmin", - courseCoach = "courseCoach", - courseUser = "courseUser", - friends = "friends", - partners = "partners", - subscriptionPartners = "subscriptionPartners", - subscriptionkyearlyyears = "subscriptionkyearlyyears", - subscriptionkykids = "subscriptionkykids", - subscriptionkyyouth = "subscriptionkyyouth", - subscriptionValid = "subscriptionValid", - userpool = "userpool", - legacyUserGroup1 = "legacyUserGroup1", - productMarkBaker = "productMarkBaker", - courseGroup1 = "courseGroup1", - courseGroup2 = "courseGroup2", - courseGroup3 = "courseGroup3", - courseGroup4 = "courseGroup4", - courseGroup5 = "courseGroup5", - courseGroup6 = "courseGroup6", - courseGroup7 = "courseGroup7", - courseGroup8 = "courseGroup8", - courseGroup9 = "courseGroup9", -} - -export type ModelMenuConnection = { - __typename: "ModelMenuConnection" - items: Array - nextToken?: string | null -} - -export type Menu = { - __typename: "Menu" - id: string - order?: number | null - name?: string | null - action?: string | null - params?: string | null - readGroups?: Array | null - subItems?: ModelSubMenuConnection | null - createdAt: string - updatedAt: string -} - -export type ModelSubMenuConnection = { - __typename: "ModelSubMenuConnection" - items: Array - nextToken?: string | null -} - -export type SubMenu = { - __typename: "SubMenu" - id: string - menuID?: string | null - order?: number | null - menu?: Menu | null - name?: string | null - action?: string | null - params?: string | null - readGroups?: Array | null - createdAt: string - updatedAt: string -} - -export type SearchableUserFilterInput = { +export type SearchableResourceEpisodeFilterInput = { id?: SearchableIDFilterInput | null - given_name?: SearchableStringFilterInput | null - family_name?: SearchableStringFilterInput | null - email?: SearchableStringFilterInput | null - phone?: SearchableStringFilterInput | null owner?: SearchableStringFilterInput | null - mainUserGroup?: SearchableStringFilterInput | null - stripeCustomerID?: SearchableStringFilterInput | null - stripeSubscriptionID?: SearchableStringFilterInput | null - profileState?: SearchableStringFilterInput | null - aboutMeShort?: SearchableStringFilterInput | null - aboutMeLong?: SearchableStringFilterInput | null - interests?: SearchableStringFilterInput | null - currentRole?: SearchableStringFilterInput | null - currentScope?: SearchableStringFilterInput | null - personality?: SearchableStringFilterInput | null - orgName?: SearchableStringFilterInput | null - orgType?: SearchableStringFilterInput | null - orgSize?: SearchableStringFilterInput | null - denomination?: SearchableStringFilterInput | null - pplServed?: SearchableStringFilterInput | null - sundayAttendance?: SearchableStringFilterInput | null - numberVolunteers?: SearchableStringFilterInput | null - orgDescription?: SearchableStringFilterInput | null - joined?: SearchableStringFilterInput | null - isArchived?: SearchableStringFilterInput | null - primaryOrganization?: SearchableStringFilterInput | null - and?: Array | null - or?: Array | null - not?: SearchableUserFilterInput | null + episodeNumber?: SearchableIntFilterInput | null + type?: SearchableStringFilterInput | null + title?: SearchableStringFilterInput | null + description?: SearchableStringFilterInput | null + whoIsThisFor?: SearchableStringFilterInput | null + episodeID?: SearchableIDFilterInput | null + tags?: SearchableStringFilterInput | null + and?: Array | null + or?: Array | null + not?: SearchableResourceEpisodeFilterInput | null } export type SearchableIDFilterInput = { @@ -190,39 +51,31 @@ export type SearchableStringFilterInput = { range?: Array | null } -export type SearchableUserSortInput = { - field?: SearchableUserSortableFields | null +export type SearchableIntFilterInput = { + ne?: number | null + gt?: number | null + lt?: number | null + gte?: number | null + lte?: number | null + eq?: number | null + range?: Array | null +} + +export type SearchableResourceEpisodeSortInput = { + field?: SearchableResourceEpisodeSortableFields | null direction?: SearchableSortDirection | null } -export enum SearchableUserSortableFields { +export enum SearchableResourceEpisodeSortableFields { id = "id", - given_name = "given_name", - family_name = "family_name", - email = "email", - phone = "phone", owner = "owner", - mainUserGroup = "mainUserGroup", - stripeCustomerID = "stripeCustomerID", - stripeSubscriptionID = "stripeSubscriptionID", - profileState = "profileState", - aboutMeShort = "aboutMeShort", - aboutMeLong = "aboutMeLong", - interests = "interests", - currentRole = "currentRole", - currentScope = "currentScope", - personality = "personality", - orgName = "orgName", - orgType = "orgType", - orgSize = "orgSize", - denomination = "denomination", - pplServed = "pplServed", - sundayAttendance = "sundayAttendance", - numberVolunteers = "numberVolunteers", - orgDescription = "orgDescription", - joined = "joined", - isArchived = "isArchived", - primaryOrganization = "primaryOrganization", + episodeNumber = "episodeNumber", + type = "type", + title = "title", + description = "description", + whoIsThisFor = "whoIsThisFor", + episodeID = "episodeID", + tags = "tags", } export enum SearchableSortDirection { @@ -230,36 +83,176 @@ export enum SearchableSortDirection { desc = "desc", } -export type SearchableUserConnection = { - __typename: "SearchableUserConnection" - items: Array +export type SearchableResourceEpisodeConnection = { + __typename: "SearchableResourceEpisodeConnection" + items: Array nextToken?: string | null total?: number | null } -export type User = { - __typename: "User" +export type ResourceEpisode = { + __typename: "ResourceEpisode" id: string - given_name: string - family_name: string - email?: string | null - phone?: string | null owner?: string | null - mainUserGroup?: string | null - stripeCustomerID?: string | null - stripeSubscriptionID?: string | null - hasPaidState?: PaidState | null + episodeNumber?: number | null + type?: string | null + title?: string | null + description?: string | null + imageFile?: Image | null + whoIsThisFor?: string | null + details?: Array | null + episodeID: string + parentSeries: ResourceSeries + tags?: Array | null + createdAt: string + updatedAt: string +} + +export type Image = { + __typename: "Image" + userId?: string | null + filenameSmall?: string | null + filenameMedium?: string | null + filenameLarge?: string | null + filenameUpload?: string | null +} + +export type ResourceDetail = { + __typename: "ResourceDetail" + type?: ResourceDetailType | null + name?: string | null + text?: string | null + value?: string | null + image?: Image | null +} + +export enum ResourceDetailType { + DefaultYoutube = "DefaultYoutube", + Image = "Image", + Button = "Button", + Link = "Link", +} + +export type ResourceSeries = { + __typename: "ResourceSeries" + id: string + owner?: string | null + type?: string | null + title?: string | null + order?: number | null + description?: string | null + whoIsThisFor?: string | null + imageFile?: Image | null + category?: Array | null + status?: string | null + details?: Array | null + episodes?: ModelResourceEpisodeConnection | null + seriesID: string + parentResource: Resource + tags?: Array | null + createdAt: string + updatedAt: string +} + +export type ModelResourceEpisodeConnection = { + __typename: "ModelResourceEpisodeConnection" + items: Array + nextToken?: string | null +} + +export type Resource = { + __typename: "Resource" + id: string + owner?: string | null + type?: string | null + order?: string | null + title?: string | null + subtitle?: string | null + image?: Image | null + description?: string | null + whoIsThisFor?: string | null + extendedDescription?: string | null + readGroups?: Array | null + details?: Array | null + series?: ModelResourceSeriesConnection | null + resourceID: string + resourceRoot: ResourceRoot + createdAt: string + updatedAt: string +} + +export enum UserGroupType { + verifiedUsers = "verifiedUsers", + admin = "admin", + courseAdmin = "courseAdmin", + courseCoach = "courseCoach", + courseUser = "courseUser", + friends = "friends", + partners = "partners", + subscriptionPartners = "subscriptionPartners", + subscriptionkyearlyyears = "subscriptionkyearlyyears", + subscriptionkykids = "subscriptionkykids", + subscriptionkyyouth = "subscriptionkyyouth", + subscriptionValid = "subscriptionValid", + userpool = "userpool", + legacyUserGroup1 = "legacyUserGroup1", + productMarkBaker = "productMarkBaker", + courseGroup1 = "courseGroup1", + courseGroup2 = "courseGroup2", + courseGroup3 = "courseGroup3", + courseGroup4 = "courseGroup4", + courseGroup5 = "courseGroup5", + courseGroup6 = "courseGroup6", + courseGroup7 = "courseGroup7", + courseGroup8 = "courseGroup8", + courseGroup9 = "courseGroup9", +} + +export type ModelResourceSeriesConnection = { + __typename: "ModelResourceSeriesConnection" + items: Array + nextToken?: string | null +} + +export type ResourceRoot = { + __typename: "ResourceRoot" + id: string + type?: string | null + groupId?: string | null + organizationId: string + owner?: string | null + resources?: ModelResourceConnection | null + organization?: Organization | null + menuItems?: ModelResourceMenuItemConnection | null + createdAt: string + updatedAt: string +} + +export type ModelResourceConnection = { + __typename: "ModelResourceConnection" + items: Array + nextToken?: string | null +} + +export type Organization = { + __typename: "Organization" + id: string + orgName: string + adminEmail?: string | null + phone?: string | null + admins: Array + superAdmin: string + hasPaidState?: string | null profileState?: string | null - billingAddress?: Address | null + address?: string | null + city?: string | null + province?: string | null + postalCode?: string | null + country?: string | null location?: LatLong | null profileImage?: Image | null aboutMeShort?: string | null aboutMeLong?: string | null - interests?: Array | null - currentRole?: string | null - currentScope?: string | null - personality?: string | null - orgName?: string | null orgType?: string | null orgSize?: string | null denomination?: string | null @@ -268,41 +261,16 @@ export type User = { numberVolunteers?: string | null orgDescription?: string | null joined?: string | null - isArchived?: string | null - primaryOrganization?: string | null - organizations?: ModelOrganizationMemberConnection | null - owns?: ModelGroupConnection | null - groups?: ModelGroupMemberConnection | null - messages?: ModelMessageConnection | null - directMessages?: ModelDirectMessageConnection | null - messageReplies?: ModelReplyConnection | null - coachingTriad?: ModelCourseTriadCoachesConnection | null - userTriad?: ModelCourseTriadUsersConnection | null - courseInstructing?: ModelCourseInstructorsConnection | null - courseBackOfficeStaff?: ModelCourseBackOfficeStaffConnection | null - payments?: ModelPaymentConnection | null - alertConfig?: AlertConfig | null + parentOrganizationId: string + parentOrganization?: Organization | null + subOrganizations?: ModelOrganizationConnection | null + members?: ModelOrganizationMemberConnection | null + ownsGroups?: ModelGroupConnection | null + resource?: ModelResourceRootConnection | null createdAt: string updatedAt: string } -export enum PaidState { - Unknown = "Unknown", - InProgress = "InProgress", - NeedsPayment = "NeedsPayment", - Success = "Success", -} - -export type Address = { - __typename: "Address" - city?: string | null - country?: string | null - line1?: string | null - line2?: string | null - postal_code?: string | null - state?: string | null -} - export type LatLong = { __typename: "LatLong" latitude?: string | null @@ -314,13 +282,10 @@ export type LatLong = { randomLongitude?: string | null } -export type Image = { - __typename: "Image" - userId?: string | null - filenameSmall?: string | null - filenameMedium?: string | null - filenameLarge?: string | null - filenameUpload?: string | null +export type ModelOrganizationConnection = { + __typename: "ModelOrganizationConnection" + items: Array + nextToken?: string | null } export type ModelOrganizationMemberConnection = { @@ -342,25 +307,29 @@ export type OrganizationMember = { user: User } -export type Organization = { - __typename: "Organization" +export type User = { + __typename: "User" id: string - orgName: string - adminEmail?: string | null + given_name: string + family_name: string + email?: string | null phone?: string | null - admins: Array - superAdmin: string - hasPaidState?: string | null + owner?: string | null + mainUserGroup?: string | null + stripeCustomerID?: string | null + stripeSubscriptionID?: string | null + hasPaidState?: PaidState | null profileState?: string | null - address?: string | null - city?: string | null - province?: string | null - postalCode?: string | null - country?: string | null + billingAddress?: Address | null location?: LatLong | null profileImage?: Image | null aboutMeShort?: string | null aboutMeLong?: string | null + interests?: Array | null + currentRole?: string | null + currentScope?: string | null + personality?: string | null + orgName?: string | null orgType?: string | null orgSize?: string | null denomination?: string | null @@ -369,20 +338,39 @@ export type Organization = { numberVolunteers?: string | null orgDescription?: string | null joined?: string | null - parentOrganizationId: string - parentOrganization?: Organization | null - subOrganizations?: ModelOrganizationConnection | null - members?: ModelOrganizationMemberConnection | null - ownsGroups?: ModelGroupConnection | null - resource?: ModelResourceRootConnection | null + isArchived?: string | null + primaryOrganization?: string | null + organizations?: ModelOrganizationMemberConnection | null + owns?: ModelGroupConnection | null + groups?: ModelGroupMemberConnection | null + messages?: ModelMessageConnection | null + directMessages?: ModelDirectMessageConnection | null + messageReplies?: ModelReplyConnection | null + coachingTriad?: ModelCourseTriadCoachesConnection | null + userTriad?: ModelCourseTriadUsersConnection | null + courseInstructing?: ModelCourseInstructorsConnection | null + courseBackOfficeStaff?: ModelCourseBackOfficeStaffConnection | null + payments?: ModelPaymentConnection | null + alertConfig?: AlertConfig | null createdAt: string updatedAt: string } -export type ModelOrganizationConnection = { - __typename: "ModelOrganizationConnection" - items: Array - nextToken?: string | null +export enum PaidState { + Unknown = "Unknown", + InProgress = "InProgress", + NeedsPayment = "NeedsPayment", + Success = "Success", +} + +export type Address = { + __typename: "Address" + city?: string | null + country?: string | null + line1?: string | null + line2?: string | null + postal_code?: string | null + state?: string | null } export type ModelGroupConnection = { @@ -455,246 +443,39 @@ export type Message = { attachmentOwner?: string | null roomId?: string | null userId?: string | null - postingAs?: string | null - owner?: string | null - room?: Group | null - replies?: ModelReplyConnection | null - createdAt: string - updatedAt: string - author?: User | null -} - -export type ModelReplyConnection = { - __typename: "ModelReplyConnection" - items: Array - nextToken?: string | null -} - -export type Reply = { - __typename: "Reply" - id: string - content: string - when: string - attachment?: string | null - attachmentName?: string | null - attachmentOwner?: string | null - userId: string - messageId: string - parentMessage?: Message | null - roomId?: string | null - parentReplyId: string - parentReply?: Reply | null - subReplies?: ModelReplyConnection | null - createdAt: string - updatedAt: string - author?: User | null -} - -export type ModelResourceRootConnection = { - __typename: "ModelResourceRootConnection" - items: Array - nextToken?: string | null -} - -export type ResourceRoot = { - __typename: "ResourceRoot" - id: string - type?: string | null - groupId?: string | null - organizationId: string - owner?: string | null - resources?: ModelResourceConnection | null - organization?: Organization | null - menuItems?: ModelResourceMenuItemConnection | null - createdAt: string - updatedAt: string -} - -export type ModelResourceConnection = { - __typename: "ModelResourceConnection" - items: Array - nextToken?: string | null -} - -export type Resource = { - __typename: "Resource" - id: string - owner?: string | null - type?: string | null - order?: string | null - title?: string | null - subtitle?: string | null - image?: Image | null - description?: string | null - whoIsThisFor?: string | null - extendedDescription?: string | null - readGroups?: Array | null - details?: Array | null - series?: ModelResourceSeriesConnection | null - resourceID: string - resourceRoot: ResourceRoot - createdAt: string - updatedAt: string -} - -export type ResourceDetail = { - __typename: "ResourceDetail" - type?: ResourceDetailType | null - name?: string | null - text?: string | null - value?: string | null - image?: Image | null -} - -export enum ResourceDetailType { - DefaultYoutube = "DefaultYoutube", - Image = "Image", - Button = "Button", - Link = "Link", -} - -export type ModelResourceSeriesConnection = { - __typename: "ModelResourceSeriesConnection" - items: Array - nextToken?: string | null -} - -export type ResourceSeries = { - __typename: "ResourceSeries" - id: string - owner?: string | null - type?: string | null - title?: string | null - order?: number | null - description?: string | null - whoIsThisFor?: string | null - imageFile?: Image | null - category?: Array | null - status?: string | null - details?: Array | null - episodes?: ModelResourceEpisodeConnection | null - seriesID: string - parentResource: Resource - tags?: Array | null - createdAt: string - updatedAt: string -} - -export type ModelResourceEpisodeConnection = { - __typename: "ModelResourceEpisodeConnection" - items: Array - nextToken?: string | null -} - -export type ResourceEpisode = { - __typename: "ResourceEpisode" - id: string - owner?: string | null - episodeNumber?: number | null - type?: string | null - title?: string | null - description?: string | null - imageFile?: Image | null - whoIsThisFor?: string | null - details?: Array | null - episodeID: string - parentSeries: ResourceSeries - tags?: Array | null - createdAt: string - updatedAt: string -} - -export type ModelResourceMenuItemConnection = { - __typename: "ModelResourceMenuItemConnection" - items: Array - nextToken?: string | null -} - -export type ResourceMenuItem = { - __typename: "ResourceMenuItem" - id: string - owner?: string | null - readGroups?: Array | null - type?: ResourceMenuItemType | null - menuTitle?: string | null - order?: string | null - depth?: string | null - pageItems?: Array | null - resourceRootID: string - resourceRoot: ResourceRoot - createdAt: string - updatedAt: string -} - -export enum ResourceMenuItemType { - resource = "resource", - menuItem = "menuItem", - break = "break", - schedule = "schedule", - curriculum = "curriculum", -} - -export type ResourcePageItem = { - __typename: "ResourcePageItem" - id?: string | null - type?: ResourcePageItemType | null - style?: ResourcePageItemStyle | null - size?: string | null - title1?: string | null - title2?: string | null - description1?: string | null - description2?: string | null - resourceID?: string | null - seriesID?: string | null - episodeID?: string | null - color?: string | null - image?: Image | null - url?: string | null - order?: number | null - pageItemsLeft?: Array | null - pageItemsRight?: Array | null -} - -export enum ResourcePageItemType { - Menu = "Menu", - Header = "Header", - RichText = "RichText", - List = "List", - Grid = "Grid", - Column = "Column", - Card = "Card", - DropDownPicker = "DropDownPicker", -} - -export enum ResourcePageItemStyle { - MenuTop = "MenuTop", - MenuLeft = "MenuLeft", - Column3070 = "Column3070", - Column7030 = "Column7030", - Column5050 = "Column5050", - CardManual = "CardManual", - CardAuto = "CardAuto", - CardLarge = "CardLarge", - RichTextH1 = "RichTextH1", - RichTextH2 = "RichTextH2", - RichTextH3 = "RichTextH3", - RichTextH4 = "RichTextH4", - RichTextH5 = "RichTextH5", - RichTextH6 = "RichTextH6", - RichTextH1Small = "RichTextH1Small", - RichTextH2Small = "RichTextH2Small", - RichTextH3Small = "RichTextH3Small", - RichTextH4Small = "RichTextH4Small", - RichTextH5Small = "RichTextH5Small", - RichTextH6Small = "RichTextH6Small", - RichTextBody1 = "RichTextBody1", - RichTextBody2 = "RichTextBody2", - RichTextBody3 = "RichTextBody3", - RichTextBody4 = "RichTextBody4", - GridManual = "GridManual", - GridAuto = "GridAuto", - ListManual = "ListManual", - ListAuto = "ListAuto", + postingAs?: string | null + owner?: string | null + room?: Group | null + replies?: ModelReplyConnection | null + createdAt: string + updatedAt: string + author?: User | null +} + +export type ModelReplyConnection = { + __typename: "ModelReplyConnection" + items: Array + nextToken?: string | null +} + +export type Reply = { + __typename: "Reply" + id: string + content: string + when: string + attachment?: string | null + attachmentName?: string | null + attachmentOwner?: string | null + userId: string + messageId: string + parentMessage?: Message | null + roomId?: string | null + parentReplyId: string + parentReply?: Reply | null + subReplies?: ModelReplyConnection | null + createdAt: string + updatedAt: string + author?: User | null } export type ModelDirectMessageConnection = { @@ -878,117 +659,387 @@ export type ModelCourseInstructorsConnection = { nextToken?: string | null } -export type CourseInstructors = { - __typename: "CourseInstructors" - id: string - courseInfoID?: string | null - courseInfo?: CourseInfo | null - userID?: string | null - createdAt: string - updatedAt: string - user?: User | null +export type CourseInstructors = { + __typename: "CourseInstructors" + id: string + courseInfoID?: string | null + courseInfo?: CourseInfo | null + userID?: string | null + createdAt: string + updatedAt: string + user?: User | null +} + +export type ModelCourseBackOfficeStaffConnection = { + __typename: "ModelCourseBackOfficeStaffConnection" + items: Array + nextToken?: string | null +} + +export type CourseBackOfficeStaff = { + __typename: "CourseBackOfficeStaff" + id: string + courseInfoID?: string | null + courseInfo?: CourseInfo | null + userID?: string | null + createdAt: string + updatedAt: string + user?: User | null +} + +export type ModelCourseTriadsConnection = { + __typename: "ModelCourseTriadsConnection" + items: Array + nextToken?: string | null +} + +export type ModelCourseTriadUsersConnection = { + __typename: "ModelCourseTriadUsersConnection" + items: Array + nextToken?: string | null +} + +export type CourseTriadUsers = { + __typename: "CourseTriadUsers" + id: string + triadID?: string | null + triad?: CourseTriads | null + userID?: string | null + createdAt: string + updatedAt: string + user?: User | null +} + +export type ModelPaymentConnection = { + __typename: "ModelPaymentConnection" + items: Array + nextToken?: string | null +} + +export type Payment = { + __typename: "Payment" + id: string + productID?: string | null + product?: Product | null + userID?: string | null + dateCompleted?: string | null + paymentType?: string | null + paymentInfo?: string | null + createdAt: string + updatedAt: string + user?: User | null +} + +export type Product = { + __typename: "Product" + id: string + price?: number | null + pricePer?: string | null + isDefault?: boolean | null + name?: string | null + confirmationMsg?: string | null + payments?: ModelPaymentConnection | null + isOrgTier?: string | null + isIndividualTier?: string | null + isLogin?: string | null + eula?: string | null + enabled?: string | null + isStripe?: string | null + isPaypal?: string | null + tiered?: Array | null + submitButtonText?: string | null + createdAt: string + updatedAt: string +} + +export type TieredProduct = { + __typename: "TieredProduct" + name?: string | null + stripePaymentID?: string | null + defaultAmount?: number | null + amountIsEditable?: string | null + isSubscription?: boolean | null +} + +export type AlertConfig = { + __typename: "AlertConfig" + emailDirectMessage?: string | null + emailGroupMessage?: string | null + emailEventMessage?: string | null + emailOrgMessage?: string | null + emailResourceMessage?: string | null + emailCourseMessage?: string | null + emailPromotions?: string | null +} + +export type ModelResourceRootConnection = { + __typename: "ModelResourceRootConnection" + items: Array + nextToken?: string | null +} + +export type ModelResourceMenuItemConnection = { + __typename: "ModelResourceMenuItemConnection" + items: Array + nextToken?: string | null +} + +export type ResourceMenuItem = { + __typename: "ResourceMenuItem" + id: string + owner?: string | null + readGroups?: Array | null + type?: ResourceMenuItemType | null + menuTitle?: string | null + order?: string | null + depth?: string | null + pageItems?: Array | null + resourceRootID: string + resourceRoot: ResourceRoot + createdAt: string + updatedAt: string +} + +export enum ResourceMenuItemType { + resource = "resource", + menuItem = "menuItem", + break = "break", + schedule = "schedule", + curriculum = "curriculum", +} + +export type ResourcePageItem = { + __typename: "ResourcePageItem" + id?: string | null + type?: ResourcePageItemType | null + style?: ResourcePageItemStyle | null + size?: string | null + title1?: string | null + title2?: string | null + description1?: string | null + description2?: string | null + resourceID?: string | null + seriesID?: string | null + episodeID?: string | null + color?: string | null + image?: Image | null + url?: string | null + order?: number | null + pageItemsLeft?: Array | null + pageItemsRight?: Array | null +} + +export enum ResourcePageItemType { + Menu = "Menu", + Header = "Header", + RichText = "RichText", + List = "List", + Grid = "Grid", + Column = "Column", + Card = "Card", + DropDownPicker = "DropDownPicker", +} + +export enum ResourcePageItemStyle { + MenuTop = "MenuTop", + MenuLeft = "MenuLeft", + Column3070 = "Column3070", + Column7030 = "Column7030", + Column5050 = "Column5050", + CardManual = "CardManual", + CardAuto = "CardAuto", + CardLarge = "CardLarge", + RichTextH1 = "RichTextH1", + RichTextH2 = "RichTextH2", + RichTextH3 = "RichTextH3", + RichTextH4 = "RichTextH4", + RichTextH5 = "RichTextH5", + RichTextH6 = "RichTextH6", + RichTextH1Small = "RichTextH1Small", + RichTextH2Small = "RichTextH2Small", + RichTextH3Small = "RichTextH3Small", + RichTextH4Small = "RichTextH4Small", + RichTextH5Small = "RichTextH5Small", + RichTextH6Small = "RichTextH6Small", + RichTextBody1 = "RichTextBody1", + RichTextBody2 = "RichTextBody2", + RichTextBody3 = "RichTextBody3", + RichTextBody4 = "RichTextBody4", + GridManual = "GridManual", + GridAuto = "GridAuto", + ListManual = "ListManual", + ListAuto = "ListAuto", +} + +export type ModelMenuFilterInput = { + id?: ModelIDFilterInput | null + order?: ModelIntFilterInput | null + name?: ModelStringFilterInput | null + action?: ModelStringFilterInput | null + params?: ModelStringFilterInput | null + readGroups?: ModelUserGroupTypeListFilterInput | null + and?: Array | null + or?: Array | null + not?: ModelMenuFilterInput | null +} + +export type ModelIDFilterInput = { + ne?: string | null + eq?: string | null + le?: string | null + lt?: string | null + ge?: string | null + gt?: string | null + contains?: string | null + notContains?: string | null + between?: Array | null + beginsWith?: string | null } -export type ModelCourseBackOfficeStaffConnection = { - __typename: "ModelCourseBackOfficeStaffConnection" - items: Array - nextToken?: string | null +export type ModelIntFilterInput = { + ne?: number | null + eq?: number | null + le?: number | null + lt?: number | null + ge?: number | null + gt?: number | null + between?: Array | null } -export type CourseBackOfficeStaff = { - __typename: "CourseBackOfficeStaff" - id: string - courseInfoID?: string | null - courseInfo?: CourseInfo | null - userID?: string | null - createdAt: string - updatedAt: string - user?: User | null +export type ModelStringFilterInput = { + ne?: string | null + eq?: string | null + le?: string | null + lt?: string | null + ge?: string | null + gt?: string | null + contains?: string | null + notContains?: string | null + between?: Array | null + beginsWith?: string | null } -export type ModelCourseTriadsConnection = { - __typename: "ModelCourseTriadsConnection" - items: Array - nextToken?: string | null +export type ModelUserGroupTypeListFilterInput = { + eq?: Array | null + ne?: Array | null + contains?: UserGroupType | null + notContains?: UserGroupType | null } -export type ModelCourseTriadUsersConnection = { - __typename: "ModelCourseTriadUsersConnection" - items: Array +export type ModelMenuConnection = { + __typename: "ModelMenuConnection" + items: Array nextToken?: string | null } -export type CourseTriadUsers = { - __typename: "CourseTriadUsers" +export type Menu = { + __typename: "Menu" id: string - triadID?: string | null - triad?: CourseTriads | null - userID?: string | null + order?: number | null + name?: string | null + action?: string | null + params?: string | null + icon?: Image | null + readGroups?: Array | null + subItems?: ModelSubMenuConnection | null createdAt: string updatedAt: string - user?: User | null } -export type ModelPaymentConnection = { - __typename: "ModelPaymentConnection" - items: Array +export type ModelSubMenuConnection = { + __typename: "ModelSubMenuConnection" + items: Array nextToken?: string | null } -export type Payment = { - __typename: "Payment" +export type SubMenu = { + __typename: "SubMenu" id: string - productID?: string | null - product?: Product | null - userID?: string | null - dateCompleted?: string | null - paymentType?: string | null - paymentInfo?: string | null + menuID?: string | null + order?: number | null + menu?: Menu | null + name?: string | null + action?: string | null + icon?: Image | null + params?: string | null + readGroups?: Array | null createdAt: string updatedAt: string - user?: User | null } -export type Product = { - __typename: "Product" - id: string - price?: number | null - pricePer?: string | null - isDefault?: boolean | null - name?: string | null - confirmationMsg?: string | null - payments?: ModelPaymentConnection | null - isOrgTier?: string | null - isIndividualTier?: string | null - isLogin?: string | null - eula?: string | null - enabled?: string | null - isStripe?: string | null - isPaypal?: string | null - tiered?: Array | null - submitButtonText?: string | null - createdAt: string - updatedAt: string +export type SearchableUserFilterInput = { + id?: SearchableIDFilterInput | null + given_name?: SearchableStringFilterInput | null + family_name?: SearchableStringFilterInput | null + email?: SearchableStringFilterInput | null + phone?: SearchableStringFilterInput | null + owner?: SearchableStringFilterInput | null + mainUserGroup?: SearchableStringFilterInput | null + stripeCustomerID?: SearchableStringFilterInput | null + stripeSubscriptionID?: SearchableStringFilterInput | null + profileState?: SearchableStringFilterInput | null + aboutMeShort?: SearchableStringFilterInput | null + aboutMeLong?: SearchableStringFilterInput | null + interests?: SearchableStringFilterInput | null + currentRole?: SearchableStringFilterInput | null + currentScope?: SearchableStringFilterInput | null + personality?: SearchableStringFilterInput | null + orgName?: SearchableStringFilterInput | null + orgType?: SearchableStringFilterInput | null + orgSize?: SearchableStringFilterInput | null + denomination?: SearchableStringFilterInput | null + pplServed?: SearchableStringFilterInput | null + sundayAttendance?: SearchableStringFilterInput | null + numberVolunteers?: SearchableStringFilterInput | null + orgDescription?: SearchableStringFilterInput | null + joined?: SearchableStringFilterInput | null + isArchived?: SearchableStringFilterInput | null + primaryOrganization?: SearchableStringFilterInput | null + and?: Array | null + or?: Array | null + not?: SearchableUserFilterInput | null } -export type TieredProduct = { - __typename: "TieredProduct" - name?: string | null - stripePaymentID?: string | null - defaultAmount?: number | null - amountIsEditable?: string | null - isSubscription?: boolean | null +export type SearchableUserSortInput = { + field?: SearchableUserSortableFields | null + direction?: SearchableSortDirection | null } -export type AlertConfig = { - __typename: "AlertConfig" - emailDirectMessage?: string | null - emailGroupMessage?: string | null - emailEventMessage?: string | null - emailOrgMessage?: string | null - emailResourceMessage?: string | null - emailCourseMessage?: string | null - emailPromotions?: string | null +export enum SearchableUserSortableFields { + id = "id", + given_name = "given_name", + family_name = "family_name", + email = "email", + phone = "phone", + owner = "owner", + mainUserGroup = "mainUserGroup", + stripeCustomerID = "stripeCustomerID", + stripeSubscriptionID = "stripeSubscriptionID", + profileState = "profileState", + aboutMeShort = "aboutMeShort", + aboutMeLong = "aboutMeLong", + interests = "interests", + currentRole = "currentRole", + currentScope = "currentScope", + personality = "personality", + orgName = "orgName", + orgType = "orgType", + orgSize = "orgSize", + denomination = "denomination", + pplServed = "pplServed", + sundayAttendance = "sundayAttendance", + numberVolunteers = "numberVolunteers", + orgDescription = "orgDescription", + joined = "joined", + isArchived = "isArchived", + primaryOrganization = "primaryOrganization", +} + +export type SearchableUserConnection = { + __typename: "SearchableUserConnection" + items: Array + nextToken?: string | null + total?: number | null } export type ModelOrganizationFilterInput = { @@ -1229,6 +1280,67 @@ export type ModelDirectMessageUserFilterInput = { not?: ModelDirectMessageUserFilterInput | null } +export type SearchResourceEpisodesQueryVariables = { + filter?: SearchableResourceEpisodeFilterInput | null + sort?: SearchableResourceEpisodeSortInput | null + limit?: number | null + nextToken?: string | null + from?: number | null +} + +export type SearchResourceEpisodesQuery = { + searchResourceEpisodes?: { + __typename: "SearchableResourceEpisodeConnection" + items: Array<{ + __typename: "ResourceEpisode" + id: string + owner?: string | null + episodeNumber?: number | null + type?: string | null + title?: string | null + description?: string | null + imageFile?: { + __typename: "Image" + userId?: string | null + filenameSmall?: string | null + filenameMedium?: string | null + filenameLarge?: string | null + filenameUpload?: string | null + } | null + whoIsThisFor?: string | null + details?: Array<{ + __typename: "ResourceDetail" + type?: ResourceDetailType | null + name?: string | null + text?: string | null + value?: string | null + } | null> | null + episodeID: string + parentSeries: { + __typename: "ResourceSeries" + id: string + owner?: string | null + type?: string | null + title?: string | null + order?: number | null + description?: string | null + whoIsThisFor?: string | null + category?: Array | null + status?: string | null + seriesID: string + tags?: Array | null + createdAt: string + updatedAt: string + } + tags?: Array | null + createdAt: string + updatedAt: string + } | null> + nextToken?: string | null + total?: number | null + } | null +} + export type ListMenusQueryVariables = { filter?: ModelMenuFilterInput | null limit?: number | null @@ -1246,6 +1358,14 @@ export type ListMenusQuery = { order?: number | null readGroups?: Array | null params?: string | null + icon?: { + __typename: "Image" + userId?: string | null + filenameSmall?: string | null + filenameMedium?: string | null + filenameLarge?: string | null + filenameUpload?: string | null + } | null subItems?: { __typename: "ModelSubMenuConnection" items: Array<{ @@ -1256,6 +1376,14 @@ export type ListMenusQuery = { params?: string | null name?: string | null action?: string | null + icon?: { + __typename: "Image" + userId?: string | null + filenameSmall?: string | null + filenameMedium?: string | null + filenameLarge?: string | null + filenameUpload?: string | null + } | null readGroups?: Array | null createdAt: string updatedAt: string diff --git a/src/API.ts b/src/API.ts index f5703d90..846d0554 100644 --- a/src/API.ts +++ b/src/API.ts @@ -2207,6 +2207,7 @@ export type CreateMenuInput = { name?: string | null, action?: string | null, params?: string | null, + icon?: ImageInput | null, readGroups?: Array< UserGroupType | null > | null, }; @@ -2217,6 +2218,7 @@ export type Menu = { name?: string | null, action?: string | null, params?: string | null, + icon?: Image | null, readGroups?: Array< UserGroupType | null > | null, subItems?: ModelSubMenuConnection | null, createdAt: string, @@ -2237,6 +2239,7 @@ export type SubMenu = { menu?: Menu | null, name?: string | null, action?: string | null, + icon?: Image | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -2249,6 +2252,7 @@ export type UpdateMenuInput = { name?: string | null, action?: string | null, params?: string | null, + icon?: ImageInput | null, readGroups?: Array< UserGroupType | null > | null, }; @@ -2262,6 +2266,7 @@ export type CreateSubMenuInput = { order?: number | null, name?: string | null, action?: string | null, + icon?: ImageInput | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, }; @@ -2272,6 +2277,7 @@ export type UpdateSubMenuInput = { order?: number | null, name?: string | null, action?: string | null, + icon?: ImageInput | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, }; @@ -17739,6 +17745,14 @@ export type CreateMenuMutation = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -17773,6 +17787,14 @@ export type UpdateMenuMutation = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -17807,6 +17829,14 @@ export type DeleteMenuMutation = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -17846,6 +17876,14 @@ export type CreateSubMenuMutation = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -17856,6 +17894,14 @@ export type CreateSubMenuMutation = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -17880,6 +17926,14 @@ export type UpdateSubMenuMutation = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -17890,6 +17944,14 @@ export type UpdateSubMenuMutation = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -17914,6 +17976,14 @@ export type DeleteSubMenuMutation = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -17924,6 +17994,14 @@ export type DeleteSubMenuMutation = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -22938,6 +23016,14 @@ export type GetMenuQuery = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -22976,6 +23062,14 @@ export type ListMenusQuery = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -23005,6 +23099,14 @@ export type GetSubMenuQuery = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -23015,6 +23117,14 @@ export type GetSubMenuQuery = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -23049,6 +23159,14 @@ export type ListSubMenusQuery = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -37590,6 +37708,14 @@ export type OnCreateMenuSubscription = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -37620,6 +37746,14 @@ export type OnUpdateMenuSubscription = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -37650,6 +37784,14 @@ export type OnDeleteMenuSubscription = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -37685,6 +37827,14 @@ export type OnCreateSubMenuSubscription = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -37695,6 +37845,14 @@ export type OnCreateSubMenuSubscription = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -37715,6 +37873,14 @@ export type OnUpdateSubMenuSubscription = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -37725,6 +37891,14 @@ export type OnUpdateSubMenuSubscription = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, @@ -37745,6 +37919,14 @@ export type OnDeleteSubMenuSubscription = { name?: string | null, action?: string | null, params?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, readGroups?: Array< UserGroupType | null > | null, subItems?: { __typename: "ModelSubMenuConnection", @@ -37755,6 +37937,14 @@ export type OnDeleteSubMenuSubscription = { } | null, name?: string | null, action?: string | null, + icon?: { + __typename: "Image", + userId?: string | null, + filenameSmall?: string | null, + filenameMedium?: string | null, + filenameLarge?: string | null, + filenameUpload?: string | null, + } | null, params?: string | null, readGroups?: Array< UserGroupType | null > | null, createdAt: string, diff --git a/src/graphql-custom/queries.ts b/src/graphql-custom/queries.ts index 740e0d88..721ccc4d 100644 --- a/src/graphql-custom/queries.ts +++ b/src/graphql-custom/queries.ts @@ -70,6 +70,13 @@ export const listMenus = /* GraphQL */ ` order readGroups params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } subItems { items { id @@ -78,6 +85,13 @@ export const listMenus = /* GraphQL */ ` params name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups createdAt updatedAt diff --git a/src/graphql/mutations.ts b/src/graphql/mutations.ts index 492f6e8b..5c3766f1 100644 --- a/src/graphql/mutations.ts +++ b/src/graphql/mutations.ts @@ -12528,6 +12528,13 @@ export const createMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { items { @@ -12556,6 +12563,13 @@ export const updateMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { items { @@ -12584,6 +12598,13 @@ export const deleteMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { items { @@ -12616,6 +12637,13 @@ export const createSubMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -12625,6 +12653,13 @@ export const createSubMenu = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt @@ -12644,6 +12679,13 @@ export const updateSubMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -12653,6 +12695,13 @@ export const updateSubMenu = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt @@ -12672,6 +12721,13 @@ export const deleteSubMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -12681,6 +12737,13 @@ export const deleteSubMenu = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt diff --git a/src/graphql/queries.ts b/src/graphql/queries.ts index fcc47182..5fb205d5 100644 --- a/src/graphql/queries.ts +++ b/src/graphql/queries.ts @@ -4229,6 +4229,13 @@ export const getMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { items { @@ -4258,6 +4265,13 @@ export const listMenus = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -4281,6 +4295,13 @@ export const getSubMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -4290,6 +4311,13 @@ export const getSubMenu = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt @@ -4316,6 +4344,13 @@ export const listSubMenus = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt diff --git a/src/graphql/schema.json b/src/graphql/schema.json index 73f58e84..00ed8471 100644 --- a/src/graphql/schema.json +++ b/src/graphql/schema.json @@ -18419,6 +18419,17 @@ }, "isDeprecated" : false, "deprecationReason" : null + }, { + "name" : "icon", + "description" : null, + "args" : [ ], + "type" : { + "kind" : "OBJECT", + "name" : "Image", + "ofType" : null + }, + "isDeprecated" : false, + "deprecationReason" : null }, { "name" : "readGroups", "description" : null, @@ -18629,6 +18640,17 @@ }, "isDeprecated" : false, "deprecationReason" : null + }, { + "name" : "icon", + "description" : null, + "args" : [ ], + "type" : { + "kind" : "OBJECT", + "name" : "Image", + "ofType" : null + }, + "isDeprecated" : false, + "deprecationReason" : null }, { "name" : "params", "description" : null, @@ -35012,6 +35034,15 @@ "ofType" : null }, "defaultValue" : null + }, { + "name" : "icon", + "description" : null, + "type" : { + "kind" : "INPUT_OBJECT", + "name" : "ImageInput", + "ofType" : null + }, + "defaultValue" : null }, { "name" : "readGroups", "description" : null, @@ -35083,6 +35114,15 @@ "ofType" : null }, "defaultValue" : null + }, { + "name" : "icon", + "description" : null, + "type" : { + "kind" : "INPUT_OBJECT", + "name" : "ImageInput", + "ofType" : null + }, + "defaultValue" : null }, { "name" : "readGroups", "description" : null, @@ -35172,6 +35212,15 @@ "ofType" : null }, "defaultValue" : null + }, { + "name" : "icon", + "description" : null, + "type" : { + "kind" : "INPUT_OBJECT", + "name" : "ImageInput", + "ofType" : null + }, + "defaultValue" : null }, { "name" : "params", "description" : null, @@ -35252,6 +35301,15 @@ "ofType" : null }, "defaultValue" : null + }, { + "name" : "icon", + "description" : null, + "type" : { + "kind" : "INPUT_OBJECT", + "name" : "ImageInput", + "ofType" : null + }, + "defaultValue" : null }, { "name" : "params", "description" : null, @@ -37225,6 +37283,48 @@ "interfaces" : null, "enumValues" : null, "possibleTypes" : null + }, { + "kind" : "OBJECT", + "name" : "StripeCard", + "description" : null, + "fields" : [ { + "name" : "installments", + "description" : null, + "args" : [ ], + "type" : { + "kind" : "SCALAR", + "name" : "String", + "ofType" : null + }, + "isDeprecated" : false, + "deprecationReason" : null + }, { + "name" : "network", + "description" : null, + "args" : [ ], + "type" : { + "kind" : "SCALAR", + "name" : "String", + "ofType" : null + }, + "isDeprecated" : false, + "deprecationReason" : null + }, { + "name" : "request_three_d_secure", + "description" : null, + "args" : [ ], + "type" : { + "kind" : "SCALAR", + "name" : "String", + "ofType" : null + }, + "isDeprecated" : false, + "deprecationReason" : null + } ], + "inputFields" : null, + "interfaces" : [ ], + "enumValues" : null, + "possibleTypes" : null }, { "kind" : "OBJECT", "name" : "StripePaymentOptions", @@ -37247,10 +37347,10 @@ "possibleTypes" : null }, { "kind" : "OBJECT", - "name" : "StripeCard", + "name" : "StripeCharges", "description" : null, "fields" : [ { - "name" : "installments", + "name" : "object", "description" : null, "args" : [ ], "type" : { @@ -37261,7 +37361,22 @@ "isDeprecated" : false, "deprecationReason" : null }, { - "name" : "network", + "name" : "data", + "description" : null, + "args" : [ ], + "type" : { + "kind" : "LIST", + "name" : null, + "ofType" : { + "kind" : "SCALAR", + "name" : "String", + "ofType" : null + } + }, + "isDeprecated" : false, + "deprecationReason" : null + }, { + "name" : "has_more", "description" : null, "args" : [ ], "type" : { @@ -37272,7 +37387,18 @@ "isDeprecated" : false, "deprecationReason" : null }, { - "name" : "request_three_d_secure", + "name" : "total_count", + "description" : null, + "args" : [ ], + "type" : { + "kind" : "SCALAR", + "name" : "String", + "ofType" : null + }, + "isDeprecated" : false, + "deprecationReason" : null + }, { + "name" : "url", "description" : null, "args" : [ ], "type" : { @@ -37363,74 +37489,6 @@ "interfaces" : null, "enumValues" : null, "possibleTypes" : null - }, { - "kind" : "OBJECT", - "name" : "StripeCharges", - "description" : null, - "fields" : [ { - "name" : "object", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "data", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "has_more", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "total_count", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - }, { - "name" : "url", - "description" : null, - "args" : [ ], - "type" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - }, - "isDeprecated" : false, - "deprecationReason" : null - } ], - "inputFields" : null, - "interfaces" : [ ], - "enumValues" : null, - "possibleTypes" : null }, { "kind" : "OBJECT", "name" : "__Schema", @@ -38215,12 +38273,12 @@ "onFragment" : false, "onField" : true }, { - "name" : "aws_subscribe", - "description" : "Tells the service which mutation triggers this subscription.", + "name" : "aws_publish", + "description" : "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.", "locations" : [ "FIELD_DEFINITION" ], "args" : [ { - "name" : "mutations", - "description" : "List of mutations which will trigger this subscription when they are called.", + "name" : "subscriptions", + "description" : "List of subscriptions which will be published to when this mutation is called.", "type" : { "kind" : "LIST", "name" : null, @@ -38235,6 +38293,22 @@ "onOperation" : false, "onFragment" : false, "onField" : false + }, { + "name" : "aws_iam", + "description" : "Tells the service this field/object has access authorized by sigv4 signing.", + "locations" : [ "OBJECT", "FIELD_DEFINITION" ], + "args" : [ ], + "onOperation" : false, + "onFragment" : false, + "onField" : false + }, { + "name" : "aws_lambda", + "description" : "Tells the service this field/object has access authorized by a Lambda Authorizer.", + "locations" : [ "OBJECT", "FIELD_DEFINITION" ], + "args" : [ ], + "onOperation" : false, + "onFragment" : false, + "onField" : false }, { "name" : "aws_cognito_user_pools", "description" : "Tells the service this field/object has access authorized by a Cognito User Pools token.", @@ -38257,20 +38331,12 @@ "onFragment" : false, "onField" : false }, { - "name" : "aws_lambda", - "description" : "Tells the service this field/object has access authorized by a Lambda Authorizer.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_publish", - "description" : "Tells the service which subscriptions will be published to when this mutation is called. This directive is deprecated use @aws_susbscribe directive instead.", + "name" : "aws_subscribe", + "description" : "Tells the service which mutation triggers this subscription.", "locations" : [ "FIELD_DEFINITION" ], "args" : [ { - "name" : "subscriptions", - "description" : "List of subscriptions which will be published to when this mutation is called.", + "name" : "mutations", + "description" : "List of mutations which will trigger this subscription when they are called.", "type" : { "kind" : "LIST", "name" : null, @@ -38286,16 +38352,29 @@ "onFragment" : false, "onField" : false }, { - "name" : "aws_oidc", - "description" : "Tells the service this field/object has access authorized by an OIDC token.", - "locations" : [ "OBJECT", "FIELD_DEFINITION" ], - "args" : [ ], + "name" : "aws_auth", + "description" : "Directs the schema to enforce authorization on a field", + "locations" : [ "FIELD_DEFINITION" ], + "args" : [ { + "name" : "cognito_groups", + "description" : "List of cognito user pool groups which have access on this field", + "type" : { + "kind" : "LIST", + "name" : null, + "ofType" : { + "kind" : "SCALAR", + "name" : "String", + "ofType" : null + } + }, + "defaultValue" : null + } ], "onOperation" : false, "onFragment" : false, "onField" : false }, { - "name" : "aws_iam", - "description" : "Tells the service this field/object has access authorized by sigv4 signing.", + "name" : "aws_api_key", + "description" : "Tells the service this field/object has access authorized by an API key.", "locations" : [ "OBJECT", "FIELD_DEFINITION" ], "args" : [ ], "onOperation" : false, @@ -38319,29 +38398,8 @@ "onFragment" : false, "onField" : false }, { - "name" : "aws_auth", - "description" : "Directs the schema to enforce authorization on a field", - "locations" : [ "FIELD_DEFINITION" ], - "args" : [ { - "name" : "cognito_groups", - "description" : "List of cognito user pool groups which have access on this field", - "type" : { - "kind" : "LIST", - "name" : null, - "ofType" : { - "kind" : "SCALAR", - "name" : "String", - "ofType" : null - } - }, - "defaultValue" : null - } ], - "onOperation" : false, - "onFragment" : false, - "onField" : false - }, { - "name" : "aws_api_key", - "description" : "Tells the service this field/object has access authorized by an API key.", + "name" : "aws_oidc", + "description" : "Tells the service this field/object has access authorized by an OIDC token.", "locations" : [ "OBJECT", "FIELD_DEFINITION" ], "args" : [ ], "onOperation" : false, diff --git a/src/graphql/subscriptions.ts b/src/graphql/subscriptions.ts index 9045a798..980d87af 100644 --- a/src/graphql/subscriptions.ts +++ b/src/graphql/subscriptions.ts @@ -11368,6 +11368,13 @@ export const onCreateMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { items { @@ -11396,6 +11403,13 @@ export const onUpdateMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { items { @@ -11424,6 +11438,13 @@ export const onDeleteMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { items { @@ -11456,6 +11477,13 @@ export const onCreateSubMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -11465,6 +11493,13 @@ export const onCreateSubMenu = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt @@ -11484,6 +11519,13 @@ export const onUpdateSubMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -11493,6 +11535,13 @@ export const onUpdateSubMenu = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt @@ -11512,6 +11561,13 @@ export const onDeleteSubMenu = /* GraphQL */ ` name action params + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } readGroups subItems { nextToken @@ -11521,6 +11577,13 @@ export const onDeleteSubMenu = /* GraphQL */ ` } name action + icon { + userId + filenameSmall + filenameMedium + filenameLarge + filenameUpload + } params readGroups createdAt diff --git a/src/version.js b/src/version.js index 542021c7..5e9acc9b 100644 --- a/src/version.js +++ b/src/version.js @@ -1 +1 @@ -export const version = { git: "e5261132f42bf783016add7cd451999f247296e4" } +export const version = { git: "05d8537eca8751d7c997ff741580056e1b28f687" }