File tree Expand file tree Collapse file tree
crates/assets/js/client/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,23 +142,6 @@ repos:
142142 types : [python]
143143 pass_filenames : false
144144
145- # ## Go client
146- - id : go_format
147- name : Go format
148- # gofmt always returns zero exit code :sigh:
149- entry : sh -c 'DIFF=$(gofmt -d -e client/go/trailbase/) && echo "${DIFF}" && test -z "${DIFF}"'
150- language : system
151- types : [go]
152- files : .*\.(go)$
153- pass_filenames : false
154-
155- - id : go_test
156- name : Go test
157- entry : sh -c 'cd client/go/trailbase && go test -v'
158- language : system
159- types : [go]
160- pass_filenames : false
161-
162145 # ## Swift client
163146 - id : swift_format
164147 name : Swift format
@@ -177,3 +160,20 @@ repos:
177160 language : system
178161 types : [swift]
179162 pass_filenames : false
163+
164+ # ## Go client
165+ - id : go_format
166+ name : Go format
167+ # gofmt always returns zero exit code :sigh:
168+ entry : sh -c 'DIFF=$(gofmt -d -e client/go/trailbase/) && echo "${DIFF}" && test -z "${DIFF}"'
169+ language : system
170+ types : [go]
171+ files : .*\.(go)$
172+ pass_filenames : false
173+
174+ - id : go_test
175+ name : Go test
176+ entry : sh -c 'cd client/go/trailbase && go test -v'
177+ language : system
178+ types : [go]
179+ pass_filenames : false
Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ export type Or = {
186186
187187export type FilterOrComposite = Filter | And | Or ;
188188
189+ // TODO: consider generating these types with ts-rs to reduce manual duplication.
189190export interface CreateOp {
190191 Create : {
191192 api_name : string ;
You can’t perform that action at this time.
0 commit comments