Sha256: d2c77c869265da5c99f988dd09921e9dc371a0bc911363d3bcf674bf3e3d2075
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 KB
Contents
declare namespace schema { interface Example { id: number; colString: string; colText: string; colInteger: number; colEnum: 'zero' | 'one' | 'two'; colBigint: number; colFloat: number; colDecimal: number; colJson?: Record<string, any> | null; colJsonb?: Record<string, any> | null; colBinary?: string | null; colBoolean?: boolean | null; colDate?: string | null; colDatetime?: string | null; colTimestamp?: string | null; colInet?: string | null; colCidr?: string | null; colMacaddr?: string | null; one?: One; two?: Two; fours?: Four[]; threes?: Three[]; fives?: Five[]; } interface Five { id: number; createdAt: string; updatedAt: string; examples?: Example[]; } interface Four { id: number; exampleId: number; threeId: number; createdAt: string; updatedAt: string; example?: Example; three?: Three; } interface One { id: number; exampleId: number; createdAt: string; updatedAt: string; example?: Example; two?: Two; } interface Three { id: number; createdAt: string; updatedAt: string; fours?: Four[]; examples?: Example[]; } interface Two { id: number; exampleId: number; createdAt: string; updatedAt: string; example?: Example; } }
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ts_schema-0.1.1 | test/dummy/app/assets/javascripts/schema.d.ts |
ts_schema-0.1.1 | test/dummy/app/frontend/types/schema.d.ts |