This commit is contained in:
geoffsee
2025-05-23 09:48:26 -04:00
commit 66d3c06230
84 changed files with 6529 additions and 0 deletions

13
packages/perigon/types.ts Normal file
View File

@@ -0,0 +1,13 @@
import type { FromSchema } from 'json-schema-to-ts';
import * as schemas from './schemas';
export type AllNewsMetadataParam = FromSchema<typeof schemas.AllNews.metadata>;
export type AllNewsResponse200 = FromSchema<typeof schemas.AllNews.response['200']>;
export type AllNewsResponse400 = FromSchema<typeof schemas.AllNews.response['400']>;
export type AllNewsResponse401 = FromSchema<typeof schemas.AllNews.response['401']>;
export type AllNewsResponse403 = FromSchema<typeof schemas.AllNews.response['403']>;
export type AllNewsResponse404 = FromSchema<typeof schemas.AllNews.response['404']>;
export type AllNewsResponse500 = FromSchema<typeof schemas.AllNews.response['500']>;
export type Stories1MetadataParam = FromSchema<typeof schemas.Stories1.metadata>;
export type Stories1Response200 = FromSchema<typeof schemas.Stories1.response['200']>;
export type Stories1Response400 = FromSchema<typeof schemas.Stories1.response['400']>;