@jumoo/usync-expansions 17.6.0 → 18.3.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.
- package/dist/api/client/client.gen.js +104 -123
- package/dist/api/client/index.d.ts +2 -0
- package/dist/api/client/types.gen.d.ts +6 -3
- package/dist/api/client/utils.gen.d.ts +8 -4
- package/dist/api/client/utils.gen.js +3 -3
- package/dist/api/client.gen.d.ts +2 -2
- package/dist/api/client.gen.js +1 -2
- package/dist/api/core/auth.gen.d.ts +7 -0
- package/dist/api/core/params.gen.d.ts +2 -2
- package/dist/api/core/params.gen.js +23 -14
- package/dist/api/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/api/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/api/core/serverSentEvents.gen.js +3 -4
- package/dist/api/core/types.gen.d.ts +5 -0
- package/dist/api/index.d.ts +1 -2
- package/dist/api/index.js +1 -2
- package/dist/api/sdk.gen.d.ts +16 -16
- package/dist/api/sdk.gen.js +2 -2
- package/dist/api/types.gen.d.ts +102 -833
- package/dist/api/types.gen.js +16 -197
- package/dist/background/background-pipeline.repository.d.ts +8 -3
- package/dist/background/background-pipeline.repository.js +2 -2
- package/dist/background/workspace/background-workspace-element.d.ts +1 -0
- package/dist/background/workspace/background-workspace-element.js +3 -0
- package/dist/components/report-summary-view.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +12 -4
- package/dist/items/sync-item.context.d.ts +1 -1
- package/dist/items/sync-item.context.js +1 -1
- package/dist/items/sync-item.repository.d.ts +9 -4
- package/dist/items/sync-item.repository.js +1 -1
- package/dist/licence/components/index.d.ts +2 -2
- package/dist/licence/components/index.js +2 -2
- package/dist/licence/components/licence-notice.d.ts +1 -1
- package/dist/licence/components/licence-notice.js +1 -1
- package/dist/licence/licence.context.js +1 -1
- package/dist/licence/licence.element.js +1 -1
- package/dist/licence/licence.repository.d.ts +3 -3
- package/dist/licence/licence.repository.js +1 -1
- package/dist/licence/manifest.d.ts +0 -1
- package/dist/licence/manifest.js +0 -1
- package/dist/restore/components/restore-point-table.element.js +1 -1
- package/dist/restore/index.d.ts +1 -7
- package/dist/restore/index.js +8 -7
- package/dist/restore/manifest.js +1 -1
- package/dist/restore/restore.context.d.ts +1 -1
- package/dist/restore/restore.context.js +1 -1
- package/dist/restore/restore.repository.d.ts +5 -5
- package/dist/restore/steps/manifest.js +1 -1
- package/dist/restore/steps/restore-create-complete.js +1 -1
- package/dist/restore/steps/restore-create-element.js +2 -2
- package/dist/restore/steps/restore-report-config-element.d.ts +1 -1
- package/dist/restore/steps/restore-report-config-element.js +2 -2
- package/dist/restore/steps/restore-report-element.js +1 -1
- package/dist/restore/workspace/restore.workspace-view.element.js +4 -1
- package/dist/restore/workspace/restore.workspace.context.js +2 -2
- package/dist/restore/workspace/restore.workspace.element.js +1 -1
- package/package.json +8 -10
- package/dist/exports.d.ts +0 -6
- package/dist/exports.js +0 -6
- package/dist/hey-api.d.ts +0 -11
- package/dist/hey-api.js +0 -14
- package/dist/licence/index.d.ts +0 -5
- package/dist/licence/index.js +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProcessStepElement, ProcessStepElementBase } from '@jumoo/processing';
|
|
2
2
|
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
3
|
-
import { RestorePoint } from '
|
|
3
|
+
import { RestorePoint } from '../../api';
|
|
4
4
|
export declare class uSyncRestoreReportConfigElement extends ProcessStepElementBase implements ProcessStepElement {
|
|
5
5
|
#private;
|
|
6
6
|
key?: string;
|
|
@@ -17,9 +17,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
17
17
|
};
|
|
18
18
|
var _uSyncRestoreReportConfigElement_context;
|
|
19
19
|
import { ProcessStepElementBase } from '@jumoo/processing';
|
|
20
|
-
import { TimeOptions, uSyncRestore } from '@jumoo/usync-expansions';
|
|
21
20
|
import { css, customElement, html, nothing, state, } from '@umbraco-cms/backoffice/external/lit';
|
|
22
|
-
import {
|
|
21
|
+
import { TimeOptions, uSyncRestore } from '../constants';
|
|
22
|
+
import SyncRestoreContext from '../restore.context';
|
|
23
23
|
let uSyncRestoreReportConfigElement = class uSyncRestoreReportConfigElement extends ProcessStepElementBase {
|
|
24
24
|
constructor() {
|
|
25
25
|
super();
|
|
@@ -5,8 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { ProcessStepElementBase } from '@jumoo/processing';
|
|
8
|
-
import { uSyncRestore } from '@jumoo/usync-expansions';
|
|
9
8
|
import { customElement, html } from '@umbraco-cms/backoffice/external/lit';
|
|
9
|
+
import { uSyncRestore } from '../constants';
|
|
10
10
|
let uSyncRestoreReportElement = class uSyncRestoreReportElement extends ProcessStepElementBase {
|
|
11
11
|
connectedCallback() {
|
|
12
12
|
super.connectedCallback();
|
|
@@ -20,7 +20,8 @@ import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
|
20
20
|
import { css, customElement, html, nothing, state, } from '@umbraco-cms/backoffice/external/lit';
|
|
21
21
|
import { UMB_CONFIRM_MODAL, UMB_MODAL_MANAGER_CONTEXT, } from '@umbraco-cms/backoffice/modal';
|
|
22
22
|
import { JUMOO_PROCESSING_DIALOG_MODAL, JUMOO_PROCESSING_SIDEBAR_MEDIUM_MODAL, } from '@jumoo/processing';
|
|
23
|
-
import { USYNC_RESTORE_WORKSPACE_CONTEXT,
|
|
23
|
+
import { USYNC_RESTORE_WORKSPACE_CONTEXT, } from './restore.workspace.context';
|
|
24
|
+
import { uSyncRestore } from '../constants';
|
|
24
25
|
import '../components/restore-point-table.element';
|
|
25
26
|
/**
|
|
26
27
|
* the body of the restore points workspace.
|
|
@@ -66,6 +67,8 @@ let uSyncRestoreWorkspaceViewElement = class uSyncRestoreWorkspaceViewElement ex
|
|
|
66
67
|
`;
|
|
67
68
|
}
|
|
68
69
|
renderTable() {
|
|
70
|
+
if (!this.restorePoints)
|
|
71
|
+
return nothing;
|
|
69
72
|
if (this.restorePoints?.length === 0)
|
|
70
73
|
return nothing;
|
|
71
74
|
return html `
|
|
@@ -14,8 +14,8 @@ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
|
14
14
|
import { UMB_WORKSPACE_CONTEXT, } from '@umbraco-cms/backoffice/workspace';
|
|
15
15
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
16
16
|
import { UmbObjectState } from '@umbraco-cms/backoffice/observable-api';
|
|
17
|
-
import { uSyncRestore } from '
|
|
18
|
-
import
|
|
17
|
+
import { uSyncRestore } from '../constants';
|
|
18
|
+
import SyncRestoreRepository from '../restore.repository';
|
|
19
19
|
export class SyncRestoreWorkspaceContext extends UmbControllerBase {
|
|
20
20
|
getEntityType() {
|
|
21
21
|
return uSyncRestore.entity;
|
|
@@ -17,7 +17,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
17
17
|
};
|
|
18
18
|
var _uSyncReatoreWorkspaceElement_instances, _uSyncReatoreWorkspaceElement_context, _uSyncReatoreWorkspaceElement_onScanRestorePoints;
|
|
19
19
|
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
20
|
-
import
|
|
20
|
+
import SyncRestoreWorkspaceContext from './restore.workspace.context';
|
|
21
21
|
import { css, customElement, html } from '@umbraco-cms/backoffice/external/lit';
|
|
22
22
|
import { UMB_CONFIRM_MODAL, UMB_MODAL_MANAGER_CONTEXT, } from '@umbraco-cms/backoffice/modal';
|
|
23
23
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jumoo/usync-expansions",
|
|
3
3
|
"license": "Custom",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "18.3.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "uSync.Expansions.Assets",
|
|
7
7
|
"publishConfig": {
|
|
@@ -29,26 +29,24 @@
|
|
|
29
29
|
"client:publish": "npm publish -tag next",
|
|
30
30
|
"client:make": "npm run client:build && npm run client:pack && npm run client:publish",
|
|
31
31
|
"client:link": "npm link",
|
|
32
|
-
"generate": "rm-rs -r -f ./src/api && node scripts/generate-openapi.js https://localhost:44317/umbraco/swagger/uSyncComplete/swagger.json",
|
|
33
32
|
"format:fix": "npm run format -- --write",
|
|
34
33
|
"format": "prettier \"src/**/*.ts\" --check",
|
|
35
34
|
"build": "tsc && vite build",
|
|
36
35
|
"watch": "vite build --watch",
|
|
37
|
-
"make": "npm run build && npm run client:make"
|
|
36
|
+
"make": "npm run build && npm run client:make",
|
|
37
|
+
"generate-client": "node scripts/generate-openapi.js https://localhost:44385/umbraco/openapi/usynccomplete.json"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
41
|
-
"@jumoo/processing": "https://registry.npmjs.org/@jumoo/processing/-/processing-
|
|
42
|
-
"@jumoo/usync": "^
|
|
43
|
-
"@umbraco-cms/backoffice": "^
|
|
41
|
+
"@jumoo/processing": "https://registry.npmjs.org/@jumoo/processing/-/processing-18.3.0.tgz",
|
|
42
|
+
"@jumoo/usync": "^18.0.0",
|
|
43
|
+
"@umbraco-cms/backoffice": "^18.0.0",
|
|
44
44
|
"chalk": "^6.0.0",
|
|
45
45
|
"cross-env": "^10.1.0",
|
|
46
|
-
"lit": "^3.3.2",
|
|
47
46
|
"node-fetch": "^3.3.2",
|
|
48
47
|
"prettier": "^3.8.2",
|
|
49
48
|
"rm-rs": "^0.2.3",
|
|
50
|
-
"typescript": "^6.0.
|
|
51
|
-
"vite": "^8.0.8"
|
|
52
|
-
"vite-plugin-dts": "^5.0.3"
|
|
49
|
+
"typescript": "^6.0.3",
|
|
50
|
+
"vite": "^8.0.8"
|
|
53
51
|
}
|
|
54
52
|
}
|
package/dist/exports.d.ts
DELETED
package/dist/exports.js
DELETED
package/dist/hey-api.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CreateClientConfig } from './api/client.gen';
|
|
2
|
-
/**
|
|
3
|
-
* Pre-configure the generated client by copying the Umbraco HTTP client's config.
|
|
4
|
-
*
|
|
5
|
-
* Called automatically by the generated client during initialization (via runtimeConfigPath).
|
|
6
|
-
* Inherits baseUrl, credentials, auth, and headers from umbHttpClient — which is already
|
|
7
|
-
* configured by the backoffice before extensions load.
|
|
8
|
-
*
|
|
9
|
-
* @see https://heyapi.dev/openapi-ts/clients/fetch#configuration
|
|
10
|
-
*/
|
|
11
|
-
export declare const createClientConfig: CreateClientConfig;
|
package/dist/hey-api.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { umbHttpClient } from '@umbraco-cms/backoffice/http-client';
|
|
2
|
-
/**
|
|
3
|
-
* Pre-configure the generated client by copying the Umbraco HTTP client's config.
|
|
4
|
-
*
|
|
5
|
-
* Called automatically by the generated client during initialization (via runtimeConfigPath).
|
|
6
|
-
* Inherits baseUrl, credentials, auth, and headers from umbHttpClient — which is already
|
|
7
|
-
* configured by the backoffice before extensions load.
|
|
8
|
-
*
|
|
9
|
-
* @see https://heyapi.dev/openapi-ts/clients/fetch#configuration
|
|
10
|
-
*/
|
|
11
|
-
export const createClientConfig = (config) => ({
|
|
12
|
-
...config,
|
|
13
|
-
...umbHttpClient.getConfig(),
|
|
14
|
-
});
|
package/dist/licence/index.d.ts
DELETED