File tree Expand file tree Collapse file tree 2 files changed +4
-20
lines changed
Expand file tree Collapse file tree 2 files changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -18,23 +18,12 @@ export type BlogPostConstructor = typeof BlogPost
1818// codegen:start {preset: model}
1919//
2020/* eslint-disable */
21- export interface BlogPost {
22- readonly body : LongString
23- readonly createdAt : Date
24- readonly id : BlogPostId
25- readonly title : ReasonableString
26- }
2721export namespace BlogPost {
2822 /**
2923 * @tsplus type BlogPost.Encoded
3024 */
31- export interface Encoded {
32- readonly body : string
33- readonly createdAt : string
34- readonly id : string
35- readonly title : string
36- }
37- export const Encoded : EncodedOps = { $ : { } }
25+ export interface Encoded extends EncodedFromApi < typeof BlogPost > { }
26+ export const Encoded : EncodedOps = { }
3827 /**
3928 * @tsplus type BlogPost.Encoded/Ops
4029 */
Original file line number Diff line number Diff line change @@ -15,17 +15,12 @@ export type GetPostsResponseConstructor = typeof GetPostsResponse
1515// codegen:start {preset: model}
1616//
1717/* eslint-disable */
18- export interface GetPostsResponse {
19- readonly items : readonly BlogPost [ ]
20- }
2118export namespace GetPostsResponse {
2219 /**
2320 * @tsplus type GetPostsResponse.Encoded
2421 */
25- export interface Encoded {
26- readonly items : readonly BlogPost . Encoded [ ]
27- }
28- export const Encoded : EncodedOps = { $ : { } }
22+ export interface Encoded extends EncodedFromApi < typeof GetPostsResponse > { }
23+ export const Encoded : EncodedOps = { }
2924 /**
3025 * @tsplus type GetPostsResponse.Encoded/Ops
3126 */
You can’t perform that action at this time.
0 commit comments