Skip to content

Commit

Permalink
feat(api): refactor get step schema (#6651)
Browse files Browse the repository at this point in the history
  • Loading branch information
djabarovgeorge authored Oct 13, 2024
1 parent 67d05da commit af41e92
Show file tree
Hide file tree
Showing 15 changed files with 620 additions and 378 deletions.
3 changes: 2 additions & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
"shortid": "^2.2.16",
"slugify": "^1.4.6",
"swagger-ui-express": "^4.4.0",
"twilio": "^4.14.1",
"twilio": "^4.14.1",
"json-schema-to-ts": "^3.0.0",
"uuid": "^8.3.2"
},
"devDependencies": {
Expand Down
3 changes: 0 additions & 3 deletions apps/api/src/app/step-schemas/dtos/schema-type.dto.ts

This file was deleted.

6 changes: 6 additions & 0 deletions apps/api/src/app/step-schemas/dtos/step-schema.dto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { JSONSchema } from 'json-schema-to-ts';

export type StepSchemaDto = {
controls: JSONSchema;
variables: JSONSchema;
};
127 changes: 0 additions & 127 deletions apps/api/src/app/step-schemas/e2e/get-default-schema.e2e.ts

This file was deleted.

Loading

0 comments on commit af41e92

Please sign in to comment.