swoop-common 2.2.128 → 2.2.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,225 +1,225 @@
1
- .# Swoop Library
2
-
3
- This library is used for rendering **Swoop itinerary templates**.
4
- It provides tools for defining **custom field types**, registering **custom components**,
5
- rendering templates from a **MasterSchema**, and includes SDKs for all related services.
6
- It supports both input mode (for creating templates) and presentation mode (for rendering them for end users).
7
- The schema system is stage-aware, enabling precise control over what data is editable or displayed at which stage.
8
-
9
- > Note: This package is intended for internal use only.
10
-
11
- ---
12
-
13
- # Swoop Library
14
-
15
- ## Initialization
16
-
17
- Before using the Swoop Library, you must initialize it with service URLs:
18
-
19
- ```ts
20
- import { init } from "swoop-common";
21
-
22
- init({
23
- coreServiceUrl: "https://your.core.service",
24
- swoopServiceForwardUrl: "https://your.forward.service",
25
- });
26
- ```
27
-
28
- ## Service Interfaces
29
-
30
- The library provides three primary service interfaces to interact with backend systems:
31
-
32
- - **SwoopService** — Interfaces with the Swoop API.
33
- - **CoreService** — For core service.
34
-
35
- These interfaces offer convenient methods to work seamlessly with the underlying services required by the itinerary system.
36
-
37
- ## StyledFormView
38
-
39
- The `StyledFormView` component is the entry point for rendering a full itinerary template. It handles schema parsing and renderer injection based on mode and form stage.
40
-
41
- ```tsx
42
- import { StyledFormView } from "your-form-library";
43
-
44
- <StyledFormView
45
- initialData={/* object */}
46
- schema={/* MasterSchema */}
47
- onChange={(val) => console.log(val)}
48
- pool="FORM"
49
- readonly={false}
50
- stage="Inst"
51
- />;
52
- ```
53
-
54
- ### Props
55
-
56
- | Name | Type | Description |
57
- | ----------- | -------------------- | ------------------------------------------------------------------ |
58
- | initialData | `any` | Initial values for the template. Should not be updated frequently. |
59
- | schema | `MasterSchema` | Template definition object. |
60
- | onChange | `(val: any) => void` | Callback with updated data. |
61
- | pool | `ComponentPool` | `"FORM"` or `"PRESENTATION"` depending on context. |
62
- | readonly | `boolean` | Disables inputs if true (only relevant in FORM pool). |
63
- | stage | `Stage` | Controls which data segment is being rendered. |
64
-
65
- ### Stages
66
-
67
- The template system is divided into stages:
68
-
69
- - **Stage.Comp** – Data stored on the root component, often static (e.g. metadata, titles). Does not include any dynamic or time-based fields.
70
- - **Stage.Inst** – Instance-specific data (e.g. timings, localized notes). This is the most common stage for editable fields.
71
- - **Stage.User** – Data unique to individual users (e.g. room number).
72
-
73
- Each stage builds on the one before it. For example, `Stage.User` includes everything from `Stage.Comp` and `Stage.Inst`. Fields are editable based on the current stage. If a value is defined in two stages, the lower stage will take priority.
74
-
75
- ---
76
-
77
- ## Custom Components
78
-
79
- Custom components define how individual fields render. These can behave like typical form inputs or be used for display-only formatting in the `PRESENTATION` pool.
80
-
81
- ### Example
82
-
83
- ```tsx
84
- const FormExample: React.FC<Props> = ({
85
- text,
86
- onChange,
87
- getError,
88
- label,
89
- enabled,
90
- }) => {
91
- const [val, setVal] = useState(text);
92
- const error = getError ? getError("example")?.message : undefined;
93
- const onChangeDebounced = useMemo(() => debounce(onChange, 300), [onChange]);
94
-
95
- const update = (value: string) => {
96
- setVal(value);
97
- onChangeDebounced(value);
98
- };
99
-
100
- return (
101
- <Paper
102
- sx={{
103
- display: "flex",
104
- flexDirection: "column",
105
- gap: 1,
106
- p: 2,
107
- background: "#CBC3E3",
108
- mb: 1,
109
- }}
110
- >
111
- {!enabled && "THIS IS DISABLED"}
112
- <Typography variant="h6">{label}</Typography>
113
- <TextField
114
- label="Example label"
115
- value={val}
116
- onChange={(e) => update(e.target.value)}
117
- error={!!error}
118
- helperText={error}
119
- disabled={!enabled}
120
- />
121
- </Paper>
122
- );
123
- };
124
-
125
- const FormRendererExample: React.FC<ControlProps> = ({
126
- data,
127
- handleChange,
128
- path,
129
- label,
130
- enabled,
131
- }) => {
132
- const getError = useLocalErrors(path);
133
- return (
134
- <FormExample
135
- text={data as string}
136
- onChange={(val) => handleChange(path, val)}
137
- getError={getError}
138
- label={label}
139
- enabled={enabled}
140
- />
141
- );
142
- };
143
-
144
- registerComponent("example", FormRendererExample, ComponentPool.FORM);
145
- registerComponent("example", FormRendererExample, ComponentPool.PRESENTATION);
146
- ```
147
-
148
- > Important: You **cannot register two components with the same name within the same pool**. You _can_ register the same component name across different pools (e.g., `"example"` in both `"FORM"` and `"PRESENTATION"`).
149
-
150
- ### Presentation Pool
151
-
152
- The `PRESENTATION` pool is more than just read-only. It is designed for **customer-facing output**, rendering fields in a clean, non-form-like layout for readability and professionalism.
153
-
154
- ---
155
-
156
- ## Custom Types
157
-
158
- Custom field types define what kinds of fields can be used when **building a template**. These appear in the template builder UI as selectable field types and control how data is validated and configured.
159
-
160
- ### Syntax
161
-
162
- ```ts
163
- registerType(
164
- "typeId", // Unique type string
165
- "Display Name", // Name shown in template builder
166
- schema, // JSON Schema defining the data structure
167
- optionsSchema, // JSON Schema defining configuration data structure
168
- requiredOptions // boolean: must the options be filled?
169
- );
170
- ```
171
-
172
- ### Example
173
-
174
- ```ts
175
- registerType(
176
- "enum",
177
- "Dropdown",
178
- { type: "array" },
179
- {
180
- type: "object",
181
- title: "Dropdown Options",
182
- properties: {
183
- enumValues: {
184
- title: "Dropdown Values",
185
- type: "array",
186
- items: { type: "string" },
187
- },
188
- },
189
- },
190
- true
191
- );
192
- ```
193
-
194
- This type defines a dropdown field where the values are defined via the `enumValues` property in the template configuration.
195
-
196
- ### Custom Option Editors
197
-
198
- If you want to render a **custom options block** (i.e., how the field type's options are displayed in the template editor), you must do the following:
199
-
200
- 1. In the top-level `optionsSchema` of the type, define `"x-type": "yourTypeName"`
201
- 2. Create and register a custom component with the name `"yourTypeName"` in the `"FORM"` pool.
202
-
203
- This component will then be used to render the configuration UI for that field type.
204
-
205
- ---
206
-
207
- ## File Locations
208
-
209
- - **Custom components** must be placed in `src/renderers`. They may be nested within subfolders. All files inside `renderers/` will be automatically imported in the correct order.
210
- - **Custom types** must be added to `src/default_registration/fields_base.tsx`.
211
-
212
- No manual import wiring is required beyond placing the file in the correct folder.
213
-
214
- ---
215
-
216
- ## Publishing to NPM
217
-
218
- To publish a new version of the package:
219
-
220
- ```bash
221
- npm run build # Compile the package
222
- npm version patch # Bump the patch version (or use minor/major as needed)
223
- npm adduser # Log in to NPM (if not already)
224
- npm publish # Publish the package
225
- ```
1
+ .# Swoop Library
2
+
3
+ This library is used for rendering **Swoop itinerary templates**.
4
+ It provides tools for defining **custom field types**, registering **custom components**,
5
+ rendering templates from a **MasterSchema**, and includes SDKs for all related services.
6
+ It supports both input mode (for creating templates) and presentation mode (for rendering them for end users).
7
+ The schema system is stage-aware, enabling precise control over what data is editable or displayed at which stage.
8
+
9
+ > Note: This package is intended for internal use only.
10
+
11
+ ---
12
+
13
+ # Swoop Library
14
+
15
+ ## Initialization
16
+
17
+ Before using the Swoop Library, you must initialize it with service URLs:
18
+
19
+ ```ts
20
+ import { init } from "swoop-common";
21
+
22
+ init({
23
+ coreServiceUrl: "https://your.core.service",
24
+ swoopServiceForwardUrl: "https://your.forward.service",
25
+ });
26
+ ```
27
+
28
+ ## Service Interfaces
29
+
30
+ The library provides three primary service interfaces to interact with backend systems:
31
+
32
+ - **SwoopService** — Interfaces with the Swoop API.
33
+ - **CoreService** — For core service.
34
+
35
+ These interfaces offer convenient methods to work seamlessly with the underlying services required by the itinerary system.
36
+
37
+ ## StyledFormView
38
+
39
+ The `StyledFormView` component is the entry point for rendering a full itinerary template. It handles schema parsing and renderer injection based on mode and form stage.
40
+
41
+ ```tsx
42
+ import { StyledFormView } from "your-form-library";
43
+
44
+ <StyledFormView
45
+ initialData={/* object */}
46
+ schema={/* MasterSchema */}
47
+ onChange={(val) => console.log(val)}
48
+ pool="FORM"
49
+ readonly={false}
50
+ stage="Inst"
51
+ />;
52
+ ```
53
+
54
+ ### Props
55
+
56
+ | Name | Type | Description |
57
+ | ----------- | -------------------- | ------------------------------------------------------------------ |
58
+ | initialData | `any` | Initial values for the template. Should not be updated frequently. |
59
+ | schema | `MasterSchema` | Template definition object. |
60
+ | onChange | `(val: any) => void` | Callback with updated data. |
61
+ | pool | `ComponentPool` | `"FORM"` or `"PRESENTATION"` depending on context. |
62
+ | readonly | `boolean` | Disables inputs if true (only relevant in FORM pool). |
63
+ | stage | `Stage` | Controls which data segment is being rendered. |
64
+
65
+ ### Stages
66
+
67
+ The template system is divided into stages:
68
+
69
+ - **Stage.Comp** – Data stored on the root component, often static (e.g. metadata, titles). Does not include any dynamic or time-based fields.
70
+ - **Stage.Inst** – Instance-specific data (e.g. timings, localized notes). This is the most common stage for editable fields.
71
+ - **Stage.User** – Data unique to individual users (e.g. room number).
72
+
73
+ Each stage builds on the one before it. For example, `Stage.User` includes everything from `Stage.Comp` and `Stage.Inst`. Fields are editable based on the current stage. If a value is defined in two stages, the lower stage will take priority.
74
+
75
+ ---
76
+
77
+ ## Custom Components
78
+
79
+ Custom components define how individual fields render. These can behave like typical form inputs or be used for display-only formatting in the `PRESENTATION` pool.
80
+
81
+ ### Example
82
+
83
+ ```tsx
84
+ const FormExample: React.FC<Props> = ({
85
+ text,
86
+ onChange,
87
+ getError,
88
+ label,
89
+ enabled,
90
+ }) => {
91
+ const [val, setVal] = useState(text);
92
+ const error = getError ? getError("example")?.message : undefined;
93
+ const onChangeDebounced = useMemo(() => debounce(onChange, 300), [onChange]);
94
+
95
+ const update = (value: string) => {
96
+ setVal(value);
97
+ onChangeDebounced(value);
98
+ };
99
+
100
+ return (
101
+ <Paper
102
+ sx={{
103
+ display: "flex",
104
+ flexDirection: "column",
105
+ gap: 1,
106
+ p: 2,
107
+ background: "#CBC3E3",
108
+ mb: 1,
109
+ }}
110
+ >
111
+ {!enabled && "THIS IS DISABLED"}
112
+ <Typography variant="h6">{label}</Typography>
113
+ <TextField
114
+ label="Example label"
115
+ value={val}
116
+ onChange={(e) => update(e.target.value)}
117
+ error={!!error}
118
+ helperText={error}
119
+ disabled={!enabled}
120
+ />
121
+ </Paper>
122
+ );
123
+ };
124
+
125
+ const FormRendererExample: React.FC<ControlProps> = ({
126
+ data,
127
+ handleChange,
128
+ path,
129
+ label,
130
+ enabled,
131
+ }) => {
132
+ const getError = useLocalErrors(path);
133
+ return (
134
+ <FormExample
135
+ text={data as string}
136
+ onChange={(val) => handleChange(path, val)}
137
+ getError={getError}
138
+ label={label}
139
+ enabled={enabled}
140
+ />
141
+ );
142
+ };
143
+
144
+ registerComponent("example", FormRendererExample, ComponentPool.FORM);
145
+ registerComponent("example", FormRendererExample, ComponentPool.PRESENTATION);
146
+ ```
147
+
148
+ > Important: You **cannot register two components with the same name within the same pool**. You _can_ register the same component name across different pools (e.g., `"example"` in both `"FORM"` and `"PRESENTATION"`).
149
+
150
+ ### Presentation Pool
151
+
152
+ The `PRESENTATION` pool is more than just read-only. It is designed for **customer-facing output**, rendering fields in a clean, non-form-like layout for readability and professionalism.
153
+
154
+ ---
155
+
156
+ ## Custom Types
157
+
158
+ Custom field types define what kinds of fields can be used when **building a template**. These appear in the template builder UI as selectable field types and control how data is validated and configured.
159
+
160
+ ### Syntax
161
+
162
+ ```ts
163
+ registerType(
164
+ "typeId", // Unique type string
165
+ "Display Name", // Name shown in template builder
166
+ schema, // JSON Schema defining the data structure
167
+ optionsSchema, // JSON Schema defining configuration data structure
168
+ requiredOptions // boolean: must the options be filled?
169
+ );
170
+ ```
171
+
172
+ ### Example
173
+
174
+ ```ts
175
+ registerType(
176
+ "enum",
177
+ "Dropdown",
178
+ { type: "array" },
179
+ {
180
+ type: "object",
181
+ title: "Dropdown Options",
182
+ properties: {
183
+ enumValues: {
184
+ title: "Dropdown Values",
185
+ type: "array",
186
+ items: { type: "string" },
187
+ },
188
+ },
189
+ },
190
+ true
191
+ );
192
+ ```
193
+
194
+ This type defines a dropdown field where the values are defined via the `enumValues` property in the template configuration.
195
+
196
+ ### Custom Option Editors
197
+
198
+ If you want to render a **custom options block** (i.e., how the field type's options are displayed in the template editor), you must do the following:
199
+
200
+ 1. In the top-level `optionsSchema` of the type, define `"x-type": "yourTypeName"`
201
+ 2. Create and register a custom component with the name `"yourTypeName"` in the `"FORM"` pool.
202
+
203
+ This component will then be used to render the configuration UI for that field type.
204
+
205
+ ---
206
+
207
+ ## File Locations
208
+
209
+ - **Custom components** must be placed in `src/renderers`. They may be nested within subfolders. All files inside `renderers/` will be automatically imported in the correct order.
210
+ - **Custom types** must be added to `src/default_registration/fields_base.tsx`.
211
+
212
+ No manual import wiring is required beyond placing the file in the correct folder.
213
+
214
+ ---
215
+
216
+ ## Publishing to NPM
217
+
218
+ To publish a new version of the package:
219
+
220
+ ```bash
221
+ npm run build # Compile the package
222
+ npm version patch # Bump the patch version (or use minor/major as needed)
223
+ npm adduser # Log in to NPM (if not already)
224
+ npm publish # Publish the package
225
+ ```
@@ -278,10 +278,12 @@ export declare class SwoopService {
278
278
  * @param region antarctica, arctic, patagonia
279
279
  * @param search Search against title, alias, description, name, telephone, email
280
280
  * @param active Filter by active status (0,1)
281
+ * @param startDate Filter partners with departures from this date (YYYY-MM-DD)
282
+ * @param endDate Filter partners with departures until this date (YYYY-MM-DD)
281
283
  * @returns Partner Partner collection
282
284
  * @throws ApiError
283
285
  */
284
- partnersGetCollection(page?: number, itemsPerPage?: number, region?: string, search?: string, active?: string): CancelablePromise<Array<Partner>>;
286
+ partnersGetCollection(page?: number, itemsPerPage?: number, region?: string, search?: string, active?: string, startDate?: string, endDate?: string): CancelablePromise<Array<Partner>>;
285
287
  /**
286
288
  * Retrieves a Partner resource.
287
289
  * Retrieves a Partner resource.
@@ -348,10 +350,12 @@ export declare class SwoopService {
348
350
  * @param search Search against title
349
351
  * @param region antarctica, arctic, patagonia
350
352
  * @param publishstate unpublished, approval, published, rejected
353
+ * @param startDate Filter trips with departures from this date (YYYY-MM-DD)
354
+ * @param endDate Filter trips with departures until this date (YYYY-MM-DD)
351
355
  * @returns Trip Trip collection
352
356
  * @throws ApiError
353
357
  */
354
- tripsGetCollection(page?: number, itemsPerPage?: number, search?: string, region?: string, publishstate?: string): CancelablePromise<Array<Trip>>;
358
+ tripsGetCollection(page?: number, itemsPerPage?: number, search?: string, region?: string, publishstate?: string, startDate?: string, endDate?: string): CancelablePromise<Array<Trip>>;
355
359
  /**
356
360
  * Retrieves a Trip resource.
357
361
  * Retrieves a Trip resource.
@@ -430,10 +430,12 @@ export class SwoopService {
430
430
  * @param region antarctica, arctic, patagonia
431
431
  * @param search Search against title, alias, description, name, telephone, email
432
432
  * @param active Filter by active status (0,1)
433
+ * @param startDate Filter partners with departures from this date (YYYY-MM-DD)
434
+ * @param endDate Filter partners with departures until this date (YYYY-MM-DD)
433
435
  * @returns Partner Partner collection
434
436
  * @throws ApiError
435
437
  */
436
- partnersGetCollection(page = 1, itemsPerPage = 30, region, search, active) {
438
+ partnersGetCollection(page = 1, itemsPerPage = 30, region, search, active, startDate, endDate) {
437
439
  return __request(OpenAPI, {
438
440
  method: 'GET',
439
441
  url: '/api/partners',
@@ -443,6 +445,8 @@ export class SwoopService {
443
445
  'region': region,
444
446
  'search': search,
445
447
  'active': active,
448
+ 'startDate': startDate,
449
+ 'endDate': endDate,
446
450
  },
447
451
  });
448
452
  }
@@ -567,10 +571,12 @@ export class SwoopService {
567
571
  * @param search Search against title
568
572
  * @param region antarctica, arctic, patagonia
569
573
  * @param publishstate unpublished, approval, published, rejected
574
+ * @param startDate Filter trips with departures from this date (YYYY-MM-DD)
575
+ * @param endDate Filter trips with departures until this date (YYYY-MM-DD)
570
576
  * @returns Trip Trip collection
571
577
  * @throws ApiError
572
578
  */
573
- tripsGetCollection(page = 1, itemsPerPage = 30, search, region, publishstate) {
579
+ tripsGetCollection(page = 1, itemsPerPage = 30, search, region, publishstate, startDate, endDate) {
574
580
  return __request(OpenAPI, {
575
581
  method: 'GET',
576
582
  url: '/api/trips',
@@ -580,6 +586,8 @@ export class SwoopService {
580
586
  'search': search,
581
587
  'region': region,
582
588
  'publishstate': publishstate,
589
+ 'startDate': startDate,
590
+ 'endDate': endDate,
583
591
  },
584
592
  });
585
593
  }
package/package.json CHANGED
@@ -1,70 +1,70 @@
1
- {
2
- "name": "swoop-common",
3
- "version": "2.2.128",
4
- "main": "dist/api/index.js",
5
- "types": "dist/api/index.d.ts",
6
- "exports": {
7
- ".": {
8
- "import": "./dist/api/index.js",
9
- "require": "./dist/api/index.js",
10
- "types": "./dist/api/index.d.ts"
11
- },
12
- "./rendering": {
13
- "import": "./dist/rendering/index.js",
14
- "require": "./dist/rendering/index.js",
15
- "types": "./dist/rendering/index.d.ts"
16
- }
17
- },
18
- "./rendering": {
19
- "import": "./dist/rendering/index.js",
20
- "require": "./dist/rendering/index.js",
21
- "types": "./dist/rendering/index.d.ts"
22
- },
23
- "files": [
24
- "dist"
25
- ],
26
- "scripts": {
27
- "test": "echo \"Error: no test specified\" && exit 1",
28
- "build": "rimraf ./dist && tsc",
29
- "build-imports": "tsx ./src/rendering/prebuild/import.ts",
30
- "generate-swoop-specs": "tsx ./src/api/specsgen.ts",
31
- "build-core-sdk": "npx openapi-typescript-codegen --input ./openapi/core_service.yaml --output ./src/api/generated/core --client fetch",
32
- "build-swoop-sdk": "npm run generate-swoop-specs && npx openapi-typescript-codegen --input ./openapi/swoop_service.yaml --output ./src/api/generated/swoop --client fetch --postfixModels Swoop --request ./src/api/templates/request.ts",
33
- "prebuild": "npm run build-imports && npm run build-sdk",
34
- "build-sdk-exports": "tsx ./src/api/gen.ts",
35
- "build-sdk": "npm run build-core-sdk && npm run build-swoop-sdk && npm run build-sdk-exports"
36
- },
37
- "author": "",
38
- "license": "ISC",
39
- "description": "",
40
- "dependencies": {
41
- "@apidevtools/swagger-parser": "^12.0.0",
42
- "@emotion/react": "^11.14.0",
43
- "@emotion/styled": "^11.14.1",
44
- "@jsonforms/core": "^3.7.0",
45
- "@jsonforms/material-renderers": "^3.7.0",
46
- "@jsonforms/react": "^3.7.0",
47
- "@mui/icons-material": "^7.3.8",
48
- "@mui/material": "^7.3.8",
49
- "@mui/system": "^7.3.8",
50
- "ajv": "^8.17.1",
51
- "js-yaml": "^4.1.1",
52
- "lodash.merge": "^4.6.2",
53
- "openapi-ts": "^0.3.4",
54
- "react": "^19.0.0",
55
- "react-simple-wysiwyg": "^3.4.1",
56
- "rimraf": "^6.0.1"
57
- },
58
- "devDependencies": {
59
- "@apidevtools/swagger-cli": "^4.0.4",
60
- "@hey-api/openapi-ts": "^0.80.2",
61
- "@types/js-yaml": "^4.0.9",
62
- "@types/lodash.merge": "^4.6.9",
63
- "@types/node": "^24.0.14",
64
- "@types/react": "^19",
65
- "dotenv": "^17.3.1",
66
- "openapi-typescript-codegen": "^0.29.0",
67
- "tsx": "^4.20.3",
68
- "typescript": "^5.8.3"
69
- }
70
- }
1
+ {
2
+ "name": "swoop-common",
3
+ "version": "2.2.130",
4
+ "main": "dist/api/index.js",
5
+ "types": "dist/api/index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./dist/api/index.js",
9
+ "require": "./dist/api/index.js",
10
+ "types": "./dist/api/index.d.ts"
11
+ },
12
+ "./rendering": {
13
+ "import": "./dist/rendering/index.js",
14
+ "require": "./dist/rendering/index.js",
15
+ "types": "./dist/rendering/index.d.ts"
16
+ }
17
+ },
18
+ "./rendering": {
19
+ "import": "./dist/rendering/index.js",
20
+ "require": "./dist/rendering/index.js",
21
+ "types": "./dist/rendering/index.d.ts"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "scripts": {
27
+ "test": "echo \"Error: no test specified\" && exit 1",
28
+ "build": "rimraf ./dist && tsc",
29
+ "build-imports": "tsx ./src/rendering/prebuild/import.ts",
30
+ "generate-swoop-specs": "tsx ./src/api/specsgen.ts",
31
+ "build-core-sdk": "npx openapi-typescript-codegen --input ./openapi/core_service.yaml --output ./src/api/generated/core --client fetch",
32
+ "build-swoop-sdk": "npm run generate-swoop-specs && npx openapi-typescript-codegen --input ./openapi/swoop_service.yaml --output ./src/api/generated/swoop --client fetch --postfixModels Swoop --request ./src/api/templates/request.ts",
33
+ "prebuild": "npm run build-imports && npm run build-sdk",
34
+ "build-sdk-exports": "tsx ./src/api/gen.ts",
35
+ "build-sdk": "npm run build-core-sdk && npm run build-swoop-sdk && npm run build-sdk-exports"
36
+ },
37
+ "author": "",
38
+ "license": "ISC",
39
+ "description": "",
40
+ "dependencies": {
41
+ "@apidevtools/swagger-parser": "^12.0.0",
42
+ "@emotion/react": "^11.14.0",
43
+ "@emotion/styled": "^11.14.1",
44
+ "@jsonforms/core": "^3.7.0",
45
+ "@jsonforms/material-renderers": "^3.7.0",
46
+ "@jsonforms/react": "^3.7.0",
47
+ "@mui/icons-material": "^7.3.8",
48
+ "@mui/material": "^7.3.8",
49
+ "@mui/system": "^7.3.8",
50
+ "ajv": "^8.17.1",
51
+ "js-yaml": "^4.1.1",
52
+ "lodash.merge": "^4.6.2",
53
+ "openapi-ts": "^0.3.4",
54
+ "react": "^19.0.0",
55
+ "react-simple-wysiwyg": "^3.4.1",
56
+ "rimraf": "^6.0.1"
57
+ },
58
+ "devDependencies": {
59
+ "@apidevtools/swagger-cli": "^4.0.4",
60
+ "@hey-api/openapi-ts": "^0.80.2",
61
+ "@types/js-yaml": "^4.0.9",
62
+ "@types/lodash.merge": "^4.6.9",
63
+ "@types/node": "^24.0.14",
64
+ "@types/react": "^19",
65
+ "dotenv": "^17.3.1",
66
+ "openapi-typescript-codegen": "^0.29.0",
67
+ "tsx": "^4.20.3",
68
+ "typescript": "^5.8.3"
69
+ }
70
+ }