mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +00:00
* refactor: repository now follows a Monorepo structure Main project folders are now: - apps - packages Apps such as expo, nextjs live inside of the apps folder. Packages shared between the apps live in packages. I migrated to yarn v4 (from npm) as the general opinion is that yarn has better workspaces support. Also the web app uses it. * fix: enable corepack in CI And also switch to a newer node version in general * fix: collect coverage from right files * fix: make EAS happy * fix: typo
74 lines
2.3 KiB
TypeScript
74 lines
2.3 KiB
TypeScript
import type { ConfigFile } from '@rtk-query/codegen-openapi'
|
|
|
|
const config: ConfigFile = {
|
|
schemaFile: './src/store/gateway/api-schema/schema.json',
|
|
prettierConfigFile: './.prettierrc',
|
|
apiFile: './src/store/gateway/cgwClient.ts',
|
|
apiImport: 'cgwClient',
|
|
exportName: 'cgwApi',
|
|
hooks: true,
|
|
filterEndpoints: [/^(?!.*delegates).*/],
|
|
tag: true,
|
|
outputFiles: {
|
|
'./src/store/gateway/AUTO_GENERATED/about.ts': {
|
|
filterEndpoints: [/^about/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/accounts.ts': {
|
|
filterEndpoints: [/^accounts/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/auth.ts': {
|
|
filterEndpoints: [/^auth/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/balances.ts': {
|
|
filterEndpoints: [/^balances/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/chains.ts': {
|
|
filterEndpoints: [/^chains/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/collectibles.ts': {
|
|
filterEndpoints: [/^collectibles/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/community.ts': {
|
|
filterEndpoints: [/^community/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/contracts.ts': {
|
|
filterEndpoints: [/^contracts/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/data-decoded.ts': {
|
|
filterEndpoints: [/^dataDecoded/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/delegates.ts': {
|
|
filterEndpoints: [/^delegates(?!DeleteSafeDelegateV1)/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/estimations.ts': {
|
|
filterEndpoints: [/^estimations/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/messages.ts': {
|
|
filterEndpoints: [/^messages/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/notifications.ts': {
|
|
filterEndpoints: [/^notifications/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/owners.ts': {
|
|
filterEndpoints: [/^owners/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/relay.ts': {
|
|
filterEndpoints: [/^relay/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/safe-apps.ts': {
|
|
filterEndpoints: [/^safeApps/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/safes.ts': {
|
|
filterEndpoints: [/^safes/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/targeted-messages.ts': {
|
|
filterEndpoints: [/^targetedMessaging/],
|
|
},
|
|
'./src/store/gateway/AUTO_GENERATED/transactions.ts': {
|
|
filterEndpoints: [/^transactions/],
|
|
},
|
|
},
|
|
}
|
|
|
|
export default config
|