@jumoo/processing 17.4.3-prerelease.2 → 18.2.0

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.
Files changed (36) hide show
  1. package/dist/api/client/client.gen.js +104 -123
  2. package/dist/api/client/index.d.ts +2 -0
  3. package/dist/api/client/types.gen.d.ts +6 -3
  4. package/dist/api/client/utils.gen.d.ts +8 -4
  5. package/dist/api/client/utils.gen.js +3 -3
  6. package/dist/api/client.gen.d.ts +2 -2
  7. package/dist/api/client.gen.js +1 -2
  8. package/dist/api/core/auth.gen.d.ts +7 -0
  9. package/dist/api/core/params.gen.d.ts +2 -2
  10. package/dist/api/core/params.gen.js +23 -14
  11. package/dist/api/core/queryKeySerializer.gen.d.ts +1 -1
  12. package/dist/api/core/serverSentEvents.gen.d.ts +1 -1
  13. package/dist/api/core/serverSentEvents.gen.js +3 -4
  14. package/dist/api/core/types.gen.d.ts +5 -0
  15. package/dist/api/index.d.ts +2 -3
  16. package/dist/api/index.js +1 -2
  17. package/dist/api/sdk.gen.d.ts +23 -27
  18. package/dist/api/sdk.gen.js +82 -114
  19. package/dist/api/types.gen.d.ts +113 -124
  20. package/dist/index.js +9 -1
  21. package/dist/pipeline/components/pipeline-table.element.d.ts +2 -1
  22. package/dist/pipeline/components/pipeline-table.element.js +26 -24
  23. package/dist/pipeline/modal/errors/error-modal.element.js +1 -1
  24. package/dist/pipeline/modal/pipeline-modal.element.js +1 -1
  25. package/dist/pipeline/pipeline.context.d.ts +2 -2
  26. package/dist/pipeline/pipeline.context.js +1 -1
  27. package/dist/pipeline/pipeline.element.js +4 -4
  28. package/dist/pipeline/pipeline.repository.d.ts +8 -8
  29. package/dist/pipeline/pipeline.source.d.ts +72 -27
  30. package/dist/pipeline/pipeline.source.js +10 -10
  31. package/dist/pipeline/pipelines.context.d.ts +1 -1
  32. package/dist/pipeline/workspace/views/default-pipeline-view.js +1 -1
  33. package/dist/queue/queue.context.d.ts +1 -1
  34. package/dist/queue/queue.repository.d.ts +3 -3
  35. package/dist/queue/queue.repository.js +5 -5
  36. package/package.json +52 -58
@@ -76,7 +76,7 @@ let JumooProcessingErrorModal = class JumooProcessingErrorModal extends UmbModal
76
76
  <uui-button
77
77
  @click=${__classPrivateFieldGet(this, _JumooProcessingErrorModal_instances, "m", _JumooProcessingErrorModal_onClose)}
78
78
  color="default"
79
- look="default"
79
+ look="outline"
80
80
  .label=${this.localize.term('general_close')}></uui-button>
81
81
  </div>
82
82
  </umb-body-layout>`;
@@ -72,7 +72,7 @@ let uSyncProcessingModal = class uSyncProcessingModal extends UmbModalBaseElemen
72
72
  const closeButton = html `<uui-button
73
73
  @click=${__classPrivateFieldGet(this, _uSyncProcessingModal_instances, "m", _uSyncProcessingModal_onClose)}
74
74
  color="default"
75
- look="default"
75
+ look="outline"
76
76
  label=${this.closeLabel}></uui-button>`;
77
77
  return html `${closeButton} ${actionButton}`;
78
78
  }
@@ -18,8 +18,8 @@ export declare class PipelineContext extends UmbControllerBase {
18
18
  private isState;
19
19
  createPipeline(processor: string, strategy: string, options: ProcessingOptions | undefined): Promise<void>;
20
20
  loadPipeline(id: string): Promise<void>;
21
- getPipeline(id: string): Promise<import("@jumoo/processing").Pipeline>;
22
- fetchPipeline(id: string): Promise<import("@jumoo/processing").Pipeline>;
21
+ getPipeline(id: string): Promise<import("@jumoo/processing").Pipeline | undefined>;
22
+ fetchPipeline(id: string): Promise<import("@jumoo/processing").Pipeline | undefined>;
23
23
  process(): Promise<import("@jumoo/processing").Pipeline | undefined>;
24
24
  updateOptions(options: ProcessingOptions): Promise<void>;
25
25
  setOption(value: Record<string, unknown>): Promise<void>;
@@ -194,7 +194,7 @@ export class PipelineContext extends UmbControllerBase {
194
194
  __classPrivateFieldGet(this, _PipelineContext_trigger, "f").setValue(false);
195
195
  }
196
196
  async triggerClose() {
197
- if (__classPrivateFieldGet(this, _PipelineContext_state, "f").value?.progress.isLastAction === true ||
197
+ if (__classPrivateFieldGet(this, _PipelineContext_state, "f").value?.progress?.isLastAction === true ||
198
198
  __classPrivateFieldGet(this, _PipelineContext_state, "f").value?.backgroundState?.isBackgroundRequest !== true) {
199
199
  await this.clearPipeline();
200
200
  }
@@ -53,11 +53,11 @@ let JumooPipelineElement = class JumooPipelineElement extends UmbLitElement {
53
53
  composed: true,
54
54
  detail: {
55
55
  status: this.state?.status,
56
- isLastAction: this.state?.progress.isLastAction,
56
+ isLastAction: this.state?.progress?.isLastAction,
57
57
  },
58
58
  }));
59
59
  }
60
- if (this.state?.progress.isLastAction === true) {
60
+ if (this.state?.progress?.isLastAction === true) {
61
61
  this.onLastAction();
62
62
  }
63
63
  });
@@ -89,9 +89,9 @@ let JumooPipelineElement = class JumooPipelineElement extends UmbLitElement {
89
89
  let result;
90
90
  do {
91
91
  result = await this.context?.process();
92
- } while (result?.state.status == PipelineStatus.RUNNING);
92
+ } while (result?.state?.status == PipelineStatus.RUNNING);
93
93
  // either complete, or waiting for user.
94
- switch (result?.state.status) {
94
+ switch (result?.state?.status) {
95
95
  case PipelineStatus.COMPLETED:
96
96
  this.onComplete();
97
97
  break;
@@ -8,13 +8,13 @@ export declare class PipelineRepository extends UmbControllerBase {
8
8
  private readonly source;
9
9
  constructor(host: UmbControllerHost);
10
10
  clear(id: string): Promise<unknown>;
11
- process(id: string, clientId: string | null): Promise<import("@jumoo/processing").Pipeline>;
12
- reattach(id: string, clientId: string | null): Promise<import("@jumoo/processing").Pipeline>;
13
- update(id: string, body: any): Promise<import("@jumoo/processing").ProcessingOptionsResults>;
14
- getProcessors(): Promise<string[]>;
15
- Get(id: string): Promise<import("@jumoo/processing").Pipeline>;
16
- create(processor: string, strategy: string, options: ProcessingOptions | undefined): Promise<string>;
11
+ process(id: string, clientId: string | null): Promise<import("@jumoo/processing").Pipeline | undefined>;
12
+ reattach(id: string, clientId: string | null): Promise<import("@jumoo/processing").Pipeline | undefined>;
13
+ update(id: string, body: any): Promise<import("@jumoo/processing").ProcessingOptionsResults | undefined>;
14
+ getProcessors(): Promise<string[] | undefined>;
15
+ Get(id: string): Promise<import("@jumoo/processing").Pipeline | undefined>;
16
+ create(processor: string, strategy: string, options: ProcessingOptions | undefined): Promise<string | undefined>;
17
17
  complete(id: string): Promise<void>;
18
- getResults(id: string): Promise<import("@jumoo/processing").ProcessingResults>;
19
- listPipelines(status: PipelineStatus): Promise<import("@jumoo/processing").Pipeline[]>;
18
+ getResults(id: string): Promise<import("@jumoo/processing").ProcessingResults | undefined>;
19
+ listPipelines(status: PipelineStatus): Promise<import("@jumoo/processing").Pipeline[] | undefined>;
20
20
  }
@@ -3,10 +3,15 @@ import { PipelineStatus } from '../api';
3
3
  export declare class PipelineSource {
4
4
  private readonly host;
5
5
  constructor(host: UmbControllerHost);
6
- process(id: string, clientId: string | null): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
6
+ process(id: string, clientId: string | null): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
7
7
  data: import("..").Pipeline;
8
- request: Request;
9
- response: Response;
8
+ error: undefined;
9
+ } | {
10
+ data: undefined;
11
+ error: unknown;
12
+ }) & {
13
+ request?: Request;
14
+ response?: Response;
10
15
  }>>;
11
16
  /**
12
17
  * @description re-registers a client id against a pipeline already running in the
@@ -14,63 +19,103 @@ export declare class PipelineSource {
14
19
  * returns the full, current pipeline so the caller can resync rather than trust whatever it
15
20
  * last saw down the old, now-dead connection.
16
21
  */
17
- reattach(id: string, clientId: string | null): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
22
+ reattach(id: string, clientId: string | null): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
18
23
  data: import("..").Pipeline;
19
- request: Request;
20
- response: Response;
24
+ error: undefined;
25
+ } | {
26
+ data: undefined;
27
+ error: unknown;
28
+ }) & {
29
+ request?: Request;
30
+ response?: Response;
21
31
  }>>;
22
- update(id: string, body: any): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
32
+ update(id: string, body: any): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
23
33
  data: import("..").ProcessingOptionsResults;
24
- request: Request;
25
- response: Response;
34
+ error: undefined;
35
+ } | {
36
+ data: undefined;
37
+ error: unknown;
38
+ }) & {
39
+ request?: Request;
40
+ response?: Response;
26
41
  }>>;
27
- getProcessors(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
42
+ getProcessors(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
28
43
  data: string[];
29
- request: Request;
30
- response: Response;
44
+ error: undefined;
45
+ } | {
46
+ data: undefined;
47
+ error: unknown;
48
+ }) & {
49
+ request?: Request;
50
+ response?: Response;
31
51
  }>>;
32
52
  /**
33
53
  *
34
54
  * @param id guid id of the pipeline to retrieve
35
55
  * @returns pipeline
36
56
  */
37
- Get(id: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
57
+ Get(id: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
38
58
  data: import("..").Pipeline;
39
- request: Request;
40
- response: Response;
59
+ error: undefined;
60
+ } | {
61
+ data: undefined;
62
+ error: unknown;
63
+ }) & {
64
+ request?: Request;
65
+ response?: Response;
41
66
  }>>;
42
67
  /**
43
68
  *
44
69
  * @param strategy alias of the strategy to use for the pipeline
45
70
  * @returns
46
71
  */
47
- create(processor: string, strategy: string, options: any): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
72
+ create(processor: string, strategy: string, options: any): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
48
73
  data: string;
49
- request: Request;
50
- response: Response;
74
+ error: undefined;
75
+ } | {
76
+ data: undefined;
77
+ error: unknown;
78
+ }) & {
79
+ request?: Request;
80
+ response?: Response;
51
81
  }>>;
52
82
  /**
53
83
  *
54
84
  * @param id guid id of the pipeline to remove
55
85
  * @returns nothing.
56
86
  */
57
- clear(id: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
87
+ clear(id: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
58
88
  data: unknown;
59
- request: Request;
60
- response: Response;
89
+ error: undefined;
90
+ } | {
91
+ data: undefined;
92
+ error: unknown;
93
+ }) & {
94
+ request?: Request;
95
+ response?: Response;
61
96
  }>>;
62
97
  /**
63
98
  * @param id guid id of the pipeline to retrieve results for
64
99
  * @returns results (if there are any) for the pipeline
65
100
  */
66
- getResults(id: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
101
+ getResults(id: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
67
102
  data: import("..").ProcessingResults;
68
- request: Request;
69
- response: Response;
103
+ error: undefined;
104
+ } | {
105
+ data: undefined;
106
+ error: unknown;
107
+ }) & {
108
+ request?: Request;
109
+ response?: Response;
70
110
  }>>;
71
- listPiplelines(status: PipelineStatus): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
111
+ listPiplelines(status: PipelineStatus): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<({
72
112
  data: import("..").Pipeline[];
73
- request: Request;
74
- response: Response;
113
+ error: undefined;
114
+ } | {
115
+ data: undefined;
116
+ error: unknown;
117
+ }) & {
118
+ request?: Request;
119
+ response?: Response;
75
120
  }>>;
76
121
  }
@@ -1,11 +1,11 @@
1
1
  import { tryExecute } from '@umbraco-cms/backoffice/resources';
2
- import { PipelinesService } from '../api';
2
+ import { getProcessingGetPipelineById, getProcessingGetProcessors, getProcessingGetResultsById, getProcessingListPipelinesByStatus, postProcessingClearPipelineById, postProcessingCreatePipeline, postProcessingProcessPipelineById, postProcessingReattachPipelineById, postProcessingUpdatePipelineById, } from '../api';
3
3
  export class PipelineSource {
4
4
  constructor(host) {
5
5
  this.host = host;
6
6
  }
7
7
  async process(id, clientId) {
8
- const result = await tryExecute(this.host, PipelinesService.processPipeline({
8
+ const result = await tryExecute(this.host, postProcessingProcessPipelineById({
9
9
  path: { id: id },
10
10
  query: { clientId: clientId ?? undefined },
11
11
  }));
@@ -18,20 +18,20 @@ export class PipelineSource {
18
18
  * last saw down the old, now-dead connection.
19
19
  */
20
20
  async reattach(id, clientId) {
21
- const result = await tryExecute(this.host, PipelinesService.reattachPipeline({
21
+ const result = await tryExecute(this.host, postProcessingReattachPipelineById({
22
22
  path: { id: id },
23
23
  query: { clientId: clientId ?? undefined },
24
24
  }));
25
25
  return result;
26
26
  }
27
27
  async update(id, body) {
28
- return await tryExecute(this.host, PipelinesService.updatePipeline({
28
+ return await tryExecute(this.host, postProcessingUpdatePipelineById({
29
29
  path: { id: id },
30
30
  body: body,
31
31
  }));
32
32
  }
33
33
  async getProcessors() {
34
- return await tryExecute(this.host, PipelinesService.getProcessors());
34
+ return await tryExecute(this.host, getProcessingGetProcessors());
35
35
  }
36
36
  /**
37
37
  *
@@ -39,7 +39,7 @@ export class PipelineSource {
39
39
  * @returns pipeline
40
40
  */
41
41
  async Get(id) {
42
- return await tryExecute(this.host, PipelinesService.getPipeline({ path: { id: id } }));
42
+ return await tryExecute(this.host, getProcessingGetPipelineById({ path: { id: id } }));
43
43
  }
44
44
  /**
45
45
  *
@@ -47,7 +47,7 @@ export class PipelineSource {
47
47
  * @returns
48
48
  */
49
49
  async create(processor, strategy, options) {
50
- return await tryExecute(this.host, PipelinesService.createPipeline({
50
+ return await tryExecute(this.host, postProcessingCreatePipeline({
51
51
  body: {
52
52
  alias: processor,
53
53
  strategy: strategy,
@@ -62,18 +62,18 @@ export class PipelineSource {
62
62
  * @returns nothing.
63
63
  */
64
64
  async clear(id) {
65
- return await tryExecute(this.host, PipelinesService.clearPipeline({ path: { id: id } }));
65
+ return await tryExecute(this.host, postProcessingClearPipelineById({ path: { id: id } }));
66
66
  }
67
67
  /**
68
68
  * @param id guid id of the pipeline to retrieve results for
69
69
  * @returns results (if there are any) for the pipeline
70
70
  */
71
71
  async getResults(id) {
72
- return await tryExecute(this.host, PipelinesService.getResults({
72
+ return await tryExecute(this.host, getProcessingGetResultsById({
73
73
  path: { id: id },
74
74
  }));
75
75
  }
76
76
  async listPiplelines(status) {
77
- return await tryExecute(this.host, PipelinesService.listPipelines({ path: { status: status } }));
77
+ return await tryExecute(this.host, getProcessingListPipelinesByStatus({ path: { status: status } }));
78
78
  }
79
79
  }
@@ -5,7 +5,7 @@ import { PipelineStatus } from '../api';
5
5
  export declare class PipelinesContext extends UmbControllerBase {
6
6
  #private;
7
7
  constructor(host: UmbControllerHost);
8
- listPipelines(status: PipelineStatus): Promise<import("..").Pipeline[]>;
8
+ listPipelines(status: PipelineStatus): Promise<import("..").Pipeline[] | undefined>;
9
9
  clear(id: string): Promise<unknown>;
10
10
  }
11
11
  export default PipelinesContext;
@@ -73,7 +73,7 @@ let JumooProcessingPipelineWorkspaceDefaultViewElement = class JumooProcessingPi
73
73
  const closeButton = html `<uui-button
74
74
  @click=${__classPrivateFieldGet(this, _JumooProcessingPipelineWorkspaceDefaultViewElement_instances, "m", _JumooProcessingPipelineWorkspaceDefaultViewElement_onClose)}
75
75
  color="default"
76
- look="default"
76
+ look="outline"
77
77
  label=${this.closeLabel}></uui-button>`;
78
78
  return html `${closeButton} ${actionButton}`;
79
79
  }
@@ -6,7 +6,7 @@ export declare class QueueContext extends UmbControllerBase {
6
6
  #private;
7
7
  constructor(host: UmbControllerHost);
8
8
  readonly queue: import("rxjs").Observable<PagedModelQueuedItemModel | undefined>;
9
- loadQueue(): Promise<PagedModelQueuedItemModel>;
9
+ loadQueue(): Promise<PagedModelQueuedItemModel | undefined>;
10
10
  process(key: string): Promise<void>;
11
11
  }
12
12
  export default QueueContext;
@@ -2,9 +2,9 @@ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
2
  import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
3
3
  export declare class QueueRepository extends UmbControllerBase {
4
4
  constructor(host: UmbControllerHost);
5
- list(): Promise<import("..").PagedModelQueuedItemModel>;
6
- peek(key: string): Promise<import("..").PagedModelQueuedItemModel>;
5
+ list(): Promise<import("..").PagedModelQueuedItemModel | undefined>;
6
+ peek(key: string): Promise<import("..").PagedModelQueuedItemModel | undefined>;
7
7
  delete(key: string): Promise<unknown>;
8
- process(key: string): Promise<import("..").QueuedItem>;
8
+ process(key: string): Promise<import("..").QueuedItem | undefined>;
9
9
  }
10
10
  export default QueueRepository;
@@ -1,28 +1,28 @@
1
1
  import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
- import { QueuesService } from '../api';
2
+ import { deleteProcessingDeleteQueueByKey, getProcessingListQueue, getProcessingPeekItem, postProcessingProcessQueueByKey, } from '../api';
3
3
  export class QueueRepository extends UmbControllerBase {
4
4
  constructor(host) {
5
5
  super(host);
6
6
  }
7
7
  async list() {
8
- return (await QueuesService.listQueue()).data;
8
+ return (await getProcessingListQueue()).data;
9
9
  }
10
10
  async peek(key) {
11
- return (await QueuesService.peekItem({
11
+ return (await getProcessingPeekItem({
12
12
  query: {
13
13
  key: key,
14
14
  },
15
15
  })).data;
16
16
  }
17
17
  async delete(key) {
18
- return (await QueuesService.delete({
18
+ return (await deleteProcessingDeleteQueueByKey({
19
19
  path: {
20
20
  key: key,
21
21
  },
22
22
  })).data;
23
23
  }
24
24
  async process(key) {
25
- return (await QueuesService.process({
25
+ return (await postProcessingProcessQueueByKey({
26
26
  path: {
27
27
  key: key,
28
28
  },
package/package.json CHANGED
@@ -1,58 +1,52 @@
1
- {
2
- "name": "@jumoo/processing",
3
- "licence": "custom",
4
- "version": "17.4.3-prerelease.2",
5
- "type": "module",
6
- "description": "Jumoo processing library",
7
- "exports": {
8
- ".": "./dist/index.js",
9
- "./pipeline": "./dist/pipeline/index.js",
10
- "./signalr": "./dist/signalr/index.js",
11
- "./api": "./dist/api/index.js"
12
- },
13
- "files": [
14
- "./dist/**/*"
15
- ],
16
- "author": {
17
- "name": "Jumoo",
18
- "email": "info@jumoo.co.uk",
19
- "url": "https://jumoo.co.uk"
20
- },
21
- "publishConfig": {
22
- "access": "public"
23
- },
24
- "scripts": {
25
- "client:build": "tsc --project ./tsconfig.dist.json",
26
- "client:pack": "npm pack --pack-destination ./pack",
27
- "client:publish": "npm publish -tag next",
28
- "client:make": "npm run client:build && npm run client:pack && npm run client:publish",
29
- "client:link": "npm link",
30
- "generate": "openapi-ts",
31
- "lint": "eslint .",
32
- "lint:fix": "eslint . --fix",
33
- "format:fix": "npm run format -- --write",
34
- "format": "prettier \"src/**/*.ts\" --check",
35
- "build": "tsc && vite build",
36
- "watch": "vite build --watch",
37
- "make": "npm run build && npm run client:make"
38
- },
39
- "devDependencies": {
40
- "@eslint/js": "^10.0.1",
41
- "@hey-api/openapi-ts": "^0.95.0",
42
- "@microsoft/signalr": "^10.0.0",
43
- "@umbraco-cms/backoffice": "^17.3.0",
44
- "eslint": "^10.2.0",
45
- "globals": "^17.8.0",
46
- "lit": "^3.3.2",
47
- "prettier": "^3.8.2",
48
- "typescript": "^6.0.2",
49
- "typescript-eslint": "^8.65.0",
50
- "vite": "^8.0.8",
51
- "vite-plugin-dts": "^4.5.4"
52
- },
53
- "repository": {
54
- "type": "git",
55
- "url": "git+https://github.com/Jumoo/Jumoo.Processing.git",
56
- "directory": "Jumoo.Processing.Client/jumoo-processing-assets"
57
- }
58
- }
1
+ {
2
+ "name": "@jumoo/processing",
3
+ "licence": "custom",
4
+ "version": "18.2.0",
5
+ "type": "module",
6
+ "description": "Jumoo processing library",
7
+ "exports": {
8
+ ".": "./dist/index.js",
9
+ "./pipeline": "./dist/pipeline/index.js",
10
+ "./signalr": "./dist/signalr/index.js",
11
+ "./api": "./dist/api/index.js"
12
+ },
13
+ "files": [
14
+ "./dist/**/*"
15
+ ],
16
+ "author": {
17
+ "name": "Jumoo",
18
+ "email": "info@jumoo.co.uk",
19
+ "url": "https://jumoo.co.uk"
20
+ },
21
+ "publishConfig": {},
22
+ "scripts": {
23
+ "client:build": "tsc --project ./tsconfig.dist.json",
24
+ "client:pack": "npm pack --pack-destination ./pack",
25
+ "client:publish": "npm publish -tag next",
26
+ "client:make": "npm run client:build && npm run client:pack && npm run client:publish",
27
+ "client:link": "npm link",
28
+ "generate-client": "node scripts/generate-openapi.js https://localhost:44348/umbraco/openapi/processing.json",
29
+ "lint": "eslint .",
30
+ "lint:fix": "eslint . --fix",
31
+ "format:fix": "npm run format -- --write",
32
+ "format": "prettier \"src/**/*.ts\" \"*.ts\" \"*.js\" \"*.json\" \"scripts/**/*.js\" --check",
33
+ "build": "tsc && vite build",
34
+ "watch": "vite build --watch",
35
+ "make": "npm run build && npm run client:make"
36
+ },
37
+ "devDependencies": {
38
+ "@eslint/js": "^10.0.1",
39
+ "@hey-api/openapi-ts": "^0.99.0",
40
+ "@microsoft/signalr": "^10.0.0",
41
+ "@umbraco-cms/backoffice": "18.0.1",
42
+ "chalk": "^5.6.2",
43
+ "cross-env": "^10.1.0",
44
+ "eslint": "^10.5.0",
45
+ "globals": "^17.8.0",
46
+ "node-fetch": "^3.3.2",
47
+ "prettier": "^3.8.2",
48
+ "typescript": "^6.0.3",
49
+ "typescript-eslint": "^8.65.0",
50
+ "vite": "^8.0.16"
51
+ }
52
+ }