fix(workspaces): support workspace logos as base64 strings (#2556)

* fix(workspaces): support workspace logos as base64 strings

* fix(workspaces): fix those testsss

* fix(workspaces): migration! and more test fixes
This commit is contained in:
Chuck Driesler
2024-08-02 12:04:20 +01:00
committed by GitHub
parent f5b262f4ea
commit c97ccb48a1
20 changed files with 115 additions and 75 deletions
@@ -30,7 +30,7 @@ const config: SpeckleModuleMocksConfig = FF_WORKSPACES_MODULE_ENABLED
throw new Error('Fake workspace create error')
}
return getMockRef('Workspace', { values: omit(args.input, ['logoUrl']) })
return getMockRef('Workspace', { values: omit(args.input, ['logo']) })
},
delete: () => {
const val = faker.datatype.boolean()
@@ -50,7 +50,7 @@ const config: SpeckleModuleMocksConfig = FF_WORKSPACES_MODULE_ENABLED
type: 'Workspace',
id: args.input.id
},
omit(args.input, ['logoUrl', 'id'])
omit(args.input, ['logo', 'id'])
)
return getMockRef('Workspace', { id: args.input.id })