Files
supabase/packages/shared-data/index.ts
kemal.earth 6695a9eeb0 feat(shared-data): add error codes to shared data (#43458)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

This is something we've discussed for a while. A shared place for error
codes and their mappings, descriptors etc. Available for all projects in
the monorepo.
2026-03-09 17:42:38 +00:00

53 lines
1.3 KiB
TypeScript

import {
COMPUTE_BASELINE_IOPS,
COMPUTE_BASELINE_THROUGHPUT,
COMPUTE_DISK,
COMPUTE_MAX_IOPS,
COMPUTE_MAX_THROUGHPUT,
computeInstanceAddonVariantIdSchema,
} from './compute-disk-limits'
import config from './config'
import { ERROR_CODE_DOCS_URLS, ERROR_CODES, HTTP_ERROR_CODES } from './error-codes'
import type { ErrorCodeDefinition, ErrorCodeService } from './error-codes'
import extensions from './extensions.json'
import logConstants from './log-constants'
import { plans, PricingInformation } from './plans'
import { pricing } from './pricing'
import { PRODUCT_MODULES, products } from './products'
import questions from './questions'
import type { AWS_REGIONS_KEYS, CloudProvider, Region } from './regions'
import { AWS_REGIONS, FLY_REGIONS } from './regions'
import tweets, { topTweets } from './tweets'
export {
AWS_REGIONS,
COMPUTE_BASELINE_IOPS,
COMPUTE_BASELINE_THROUGHPUT,
COMPUTE_DISK,
COMPUTE_MAX_IOPS,
COMPUTE_MAX_THROUGHPUT,
computeInstanceAddonVariantIdSchema,
config,
ERROR_CODE_DOCS_URLS,
ERROR_CODES,
HTTP_ERROR_CODES,
extensions,
FLY_REGIONS,
logConstants,
plans,
pricing,
PRODUCT_MODULES,
products,
questions,
topTweets,
tweets,
}
export type {
AWS_REGIONS_KEYS,
CloudProvider,
ErrorCodeDefinition,
ErrorCodeService,
PricingInformation,
Region,
}