Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update graasp packages (minor) #637

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/fixtures/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const DEFAULT_FOLDER_ITEM: FolderItemType = FolderItemFactory({
path: 'ecafbd2a_5688_11eb_ae93_0242ac130002',
createdAt: '2023-02-27T18:20:09.732Z',
updatedAt: '2023-02-28T18:20:09.732Z',
extra: { [ItemType.FOLDER]: { childrenOrder: [] } },
extra: { [ItemType.FOLDER]: {} },
creator: CURRENT_USER,
type: ItemType.FOLDER,
});
Expand Down
2 changes: 2 additions & 0 deletions cypress/fixtures/members.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export const COMPLETE_MEMBERS: {
extra: {
lang: 'fr',
},
isValidated: true,
enableSaveActions: true,
},
BOB: {
Expand All @@ -71,6 +72,7 @@ export const COMPLETE_MEMBERS: {
updatedAt: '2021-04-13 14:56:34.749946',
type: MemberType.Individual,
extra: { lang: 'en' },
isValidated: true,
enableSaveActions: true,
thumbnail:
'https://upload.wikimedia.org/wikipedia/commons/thumb/3/30/Pedro_Luro_edit.jpg/210px-Pedro_Luro_edit.jpg',
Expand Down
12 changes: 6 additions & 6 deletions cypress/support/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ const {
buildGetItemPublishedInformationRoute,
buildGetItemRoute,
buildGetItemTagsRoute,
buildGetMember,
buildGetMembersByIdRoute,
buildGetMemberRoute,
buildGetCurrentMemberRoute,
ITEMS_ROUTE,
GET_CURRENT_MEMBER_ROUTE,
SIGN_IN_ROUTE,
SIGN_OUT_ROUTE,
buildGetMembersRoute,
buildGetCategoriesRoute,
SEARCH_PUBLISHED_ITEMS_ROUTE,
} = API_ROUTES;
Expand Down Expand Up @@ -100,7 +100,7 @@ export const mockGetCurrentMember = (
cy.intercept(
{
method: DEFAULT_GET.method,
url: `${API_HOST}/${GET_CURRENT_MEMBER_ROUTE}`,
url: `${API_HOST}/${buildGetCurrentMemberRoute()}`,
},
({ reply }) => {
if (shouldThrowError) {
Expand Down Expand Up @@ -290,7 +290,7 @@ export const mockGetMember = ({
cy.intercept(
{
method: DEFAULT_GET.method,
url: new RegExp(`${API_HOST}/${buildGetMember(ID_FORMAT)}$`),
url: new RegExp(`${API_HOST}/${buildGetMemberRoute(ID_FORMAT)}*`),
},
({ url, reply }) => {
if (!currentMember) {
Expand Down Expand Up @@ -325,7 +325,7 @@ export const mockGetMembers = ({
cy.intercept(
{
method: DEFAULT_GET.method,
url: `${API_HOST}/${buildGetMembersRoute([''])}*`,
url: `${API_HOST}/${buildGetMembersByIdRoute([''])}*`,
},
({ url, reply }) => {
if (!currentMember) {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"@emotion/react": "11.11.4",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.11.5",
"@graasp/query-client": "3.13.3",
"@graasp/sdk": "4.14.1",
"@graasp/translations": "1.30.3",
"@graasp/ui": "4.19.3",
"@graasp/query-client": "3.15.2",
"@graasp/sdk": "4.17.0",
"@graasp/translations": "1.32.0",
"@graasp/ui": "4.21.0",
"@mui/icons-material": "5.15.21",
"@mui/lab": "5.0.0-alpha.170",
"@mui/material": "5.15.21",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const PLACEHOLDER_COLLECTION: DiscriminatedItem = {
lang: '',
creator: null,
type: ItemType.FOLDER,
extra: { [ItemType.FOLDER]: { childrenOrder: [] } },
extra: { [ItemType.FOLDER]: {} },
};

export const PLACEHOLDER_COLLECTIONS = Array.from(
Expand Down
Loading