mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* feat(spaces): add server-backed activity log behind SPACE_AUDIT_LOG flag - Activity page (workspace sidebar, ACTIVE members) + address book Activity tab now render the append-only CGW audit feed - pages-of-cursors with id-dedupe; every spaces mutation refetches all mounted pages via the shared RTK tag - contact events display the full contact address - filters: actor (from the log, incl. former members), date range, sort direction; regenerated store types for the spaceAudit endpoints - formatDate moved to spaces utils and rewritten with date-fns * fix(spaces): correct activity page dark mode (shadcn scope + themed date inputs) * fix(spaces): preserve spaceId when the feature-flag redirect fires * fix(spaces): address activity log review feedback * fix(spaces): drop address-book activity tab, say workspace in log copy * chore(store): update store schema * feat(spaces): replace private contacts with the local address book (#8097) * feat(spaces): replace private contacts with the local address book My contacts now lists only the browser's local address book. Proposing a contact sends { address, name, chainIds } in a single request and keeps the local entry, so rejected requests no longer lose contacts. Local rows gain edit/delete actions, names are validated against the workspace schema before submission, and pending requests that collide with an existing workspace entry are flagged to admins. * fix(spaces): drop the duplicate-row Remove button and align dialog network display The Already shared row kept two delete affordances (Remove + trash icon); the standard row actions cover removal. The request dialog now shows networks with the standard NetworkLogosList grouping (or 'All networks') instead of a vertical list. * chore(store): update schema
95 lines
3.0 KiB
TypeScript
95 lines
3.0 KiB
TypeScript
import type { ConfigFile } from '@rtk-query/codegen-openapi'
|
|
|
|
const config: ConfigFile = {
|
|
schemaFile: './api-schema/schema.json',
|
|
prettierConfigFile: '../../../.prettierrc',
|
|
apiFile: '../src/gateway/cgwClient.ts',
|
|
apiImport: 'cgwClient',
|
|
exportName: 'cgwApi',
|
|
hooks: { queries: true, lazyQueries: true, mutations: true },
|
|
filterEndpoints: [/^(?!.*delegates).*/],
|
|
tag: true,
|
|
outputFiles: {
|
|
'../src/gateway/AUTO_GENERATED/about.ts': {
|
|
filterEndpoints: [/^about/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/auth.ts': {
|
|
filterEndpoints: [/^(auth|oidcAuth)/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/balances.ts': {
|
|
filterEndpoints: [/^balances/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/chains.ts': {
|
|
filterEndpoints: [/^chains/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/collectibles.ts': {
|
|
filterEndpoints: [/^collectibles/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/community.ts': {
|
|
filterEndpoints: [/^community/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/contracts.ts': {
|
|
filterEndpoints: [/^contracts/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/data-decoded.ts': {
|
|
filterEndpoints: [/^dataDecoded/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/delegates.ts': {
|
|
filterEndpoints: [/^delegates(?!DeleteSafeDelegateV1)/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/estimations.ts': {
|
|
filterEndpoints: [/^estimations/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/csv-export.ts': {
|
|
filterEndpoints: [/^csvExport/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/messages.ts': {
|
|
filterEndpoints: [/^messages/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/notifications.ts': {
|
|
filterEndpoints: [/^notifications/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/owners.ts': {
|
|
filterEndpoints: [/^owners/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/relay.ts': {
|
|
filterEndpoints: [/^relay/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/safe-apps.ts': {
|
|
filterEndpoints: [/^safeApps/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/safes.ts': {
|
|
filterEndpoints: [/^safes/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/targeted-messages.ts': {
|
|
filterEndpoints: [/^targetedMessaging/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/transactions.ts': {
|
|
filterEndpoints: [/^transactions/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/users.ts': {
|
|
filterEndpoints: [/^users/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/spaces.ts': {
|
|
filterEndpoints: [/^(spaces|members|spaceSafes|spaceAudit|spaceCounterfactualSafes|addressBook|userAddressBook)/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/counterfactual-safes.ts': {
|
|
filterEndpoints: [/^counterfactualSafes/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/surveys.ts': {
|
|
filterEndpoints: [/^surveys/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/positions.ts': {
|
|
filterEndpoints: [/^positions/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/portfolios.ts': {
|
|
filterEndpoints: [/^portfolio/],
|
|
},
|
|
'../src/gateway/AUTO_GENERATED/safe-shield.ts': {
|
|
filterEndpoints: [/^safeShield/],
|
|
},
|
|
},
|
|
}
|
|
|
|
export default config
|