@jumoo/usync-publisher-assets 17.6.0 → 17.6.1-prerelease.40
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/types.gen.d.ts +5 -1
- package/dist/lang/files/en-us.d.ts +6 -0
- package/dist/servers/tree/sort-children-of.repository.d.ts +1 -1
- package/dist/strategies/common/lang-step.element.d.ts +3 -0
- package/dist/strategies/common/report-step.element.d.ts +13 -0
- package/package.json +51 -49
- package/dist/hey-api.d.ts +0 -11
package/dist/api/types.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
|
-
baseUrl: 'https://localhost:
|
|
2
|
+
baseUrl: 'https://localhost:44317' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type AppKeySetupResult = {
|
|
5
5
|
appId: string;
|
|
@@ -70,6 +70,7 @@ export declare enum ChangeType {
|
|
|
70
70
|
export type CustomPublisherOptions = {
|
|
71
71
|
releaseDate?: string | null;
|
|
72
72
|
approvalNote?: string | null;
|
|
73
|
+
includeSharedValues?: boolean | null;
|
|
73
74
|
};
|
|
74
75
|
export declare enum DependencyFlags {
|
|
75
76
|
NONE = "None",
|
|
@@ -238,6 +239,7 @@ export type PublisherProcessingOptions = {
|
|
|
238
239
|
custom?: CustomPublisherOptions | null;
|
|
239
240
|
cultures?: Array<string> | null;
|
|
240
241
|
sourceAction: SyncProcessingSourceAction;
|
|
242
|
+
batchItems?: Array<string> | null;
|
|
241
243
|
sourceSendSettings?: PublisherSyncSendOptions | null;
|
|
242
244
|
[key: string]: unknown;
|
|
243
245
|
};
|
|
@@ -389,6 +391,7 @@ export type SyncPublisherOptions = {
|
|
|
389
391
|
removeOrphans: boolean;
|
|
390
392
|
includeFiles: boolean;
|
|
391
393
|
includeFileHash: boolean;
|
|
394
|
+
fileHashEntityTypes: Array<string>;
|
|
392
395
|
includeContent: boolean;
|
|
393
396
|
includeSystemFileHash: boolean;
|
|
394
397
|
includeSystemFiles: boolean;
|
|
@@ -608,6 +611,7 @@ export type PublisherProcessingOptionsWritable = {
|
|
|
608
611
|
custom?: CustomPublisherOptions | null;
|
|
609
612
|
cultures?: Array<string> | null;
|
|
610
613
|
sourceAction: SyncProcessingSourceAction;
|
|
614
|
+
batchItems?: Array<string> | null;
|
|
611
615
|
sourceSendSettings?: PublisherSyncSendOptions | null;
|
|
612
616
|
[key: string]: unknown;
|
|
613
617
|
};
|
|
@@ -53,6 +53,11 @@ declare const _default: {
|
|
|
53
53
|
partialLangWarning: string;
|
|
54
54
|
partialAllTitle: string;
|
|
55
55
|
partialSomeTitle: string;
|
|
56
|
+
partialSharedTitle: string;
|
|
57
|
+
includeSharedLabel: string;
|
|
58
|
+
includeSharedDescription: string;
|
|
59
|
+
sharedNotComparedHint: string;
|
|
60
|
+
readOnlyFilesHint: string;
|
|
56
61
|
noLangWarning: string;
|
|
57
62
|
advanced: string;
|
|
58
63
|
sync: string;
|
|
@@ -209,6 +214,7 @@ declare const _default: {
|
|
|
209
214
|
createRestorePoint: string;
|
|
210
215
|
restorePrompt: string;
|
|
211
216
|
restorePromptDesc: string;
|
|
217
|
+
ReadOnlyFiles: string;
|
|
212
218
|
ILanguage: string;
|
|
213
219
|
IDictionaryItem: string;
|
|
214
220
|
IDataType: string;
|
|
@@ -15,7 +15,7 @@ export declare class SyncPublisherServerSortChildrenOfRepository extends UmbCont
|
|
|
15
15
|
sortChildrenOf(args: UmbSortChildrenOfArgs): Promise<{
|
|
16
16
|
error?: undefined;
|
|
17
17
|
} | {
|
|
18
|
-
error: import("@umbraco-cms/backoffice/resources").UmbApiError | import("@umbraco-cms/backoffice/resources").UmbCancelError | undefined;
|
|
18
|
+
error: import("@umbraco-cms/backoffice/resources").UmbError | import("@umbraco-cms/backoffice/resources").UmbApiError | import("@umbraco-cms/backoffice/resources").UmbCancelError | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
}
|
|
21
21
|
export { SyncPublisherServerSortChildrenOfRepository as api };
|
|
@@ -7,6 +7,7 @@ export declare class SyncPublishPushLangStepElement extends ProcessStepElementBa
|
|
|
7
7
|
includeUnpublished: boolean;
|
|
8
8
|
allSelected: boolean;
|
|
9
9
|
nonSelected: boolean;
|
|
10
|
+
includeShared: boolean;
|
|
10
11
|
primaryItem?: UdiModel;
|
|
11
12
|
modeTense?: string;
|
|
12
13
|
variants?: SyncPublisherVariantsResult[];
|
|
@@ -18,6 +19,8 @@ export declare class SyncPublishPushLangStepElement extends ProcessStepElementBa
|
|
|
18
19
|
_calculateCultures(): void;
|
|
19
20
|
private _getModeName;
|
|
20
21
|
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
22
|
+
renderIncludeShared(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
23
|
+
private _getPartialTitleKey;
|
|
21
24
|
renderSelectAll(): import("lit-html").TemplateResult<1>;
|
|
22
25
|
renderParialTitle(): import("lit-html").TemplateResult<1>;
|
|
23
26
|
renderPartialWarning(): import("lit-html").TemplateResult<1>;
|
|
@@ -12,7 +12,20 @@ export declare class SyncPublishReportStepElement extends ProcessStepElementBase
|
|
|
12
12
|
private containsSettingsChange;
|
|
13
13
|
private containsDeleteChange;
|
|
14
14
|
render(): import("lit-html").TemplateResult<1>;
|
|
15
|
+
/**
|
|
16
|
+
* some languages were picked without the shared values, so the report
|
|
17
|
+
* can say "no changes" while the shared values still differ.
|
|
18
|
+
*/
|
|
19
|
+
private sharedValuesNotCompared;
|
|
20
|
+
renderSharedNotComparedHint(): import("lit-html").TemplateResult<1>;
|
|
21
|
+
/**
|
|
22
|
+
* a site in production mode won't take file changes, so it reports that
|
|
23
|
+
* files differ instead of listing them as changes.
|
|
24
|
+
*/
|
|
25
|
+
private filesAreReadOnly;
|
|
26
|
+
renderReadOnlyFilesHint(): import("lit-html").TemplateResult<1>;
|
|
15
27
|
renderApprovalNote(): import("lit-html").TemplateResult<1>;
|
|
16
28
|
renderRestorePointOption(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
29
|
+
static styles: import("lit").CSSResult;
|
|
17
30
|
}
|
|
18
31
|
export default SyncPublishReportStepElement;
|
package/package.json
CHANGED
|
@@ -1,49 +1,51 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@jumoo/usync-publisher-assets",
|
|
3
|
-
"license": "Custom",
|
|
4
|
-
"version": "17.6.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"description": "uSync.Publisher.Assets",
|
|
7
|
-
"author": {
|
|
8
|
-
"name": "Jumoo Ltd",
|
|
9
|
-
"email": "info@jumoo.co.uk",
|
|
10
|
-
"url": "https://jumoo.co.uk"
|
|
11
|
-
},
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@jumoo/usync-publisher-assets",
|
|
3
|
+
"license": "Custom",
|
|
4
|
+
"version": "17.6.1-prerelease.40",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "uSync.Publisher.Assets",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "Jumoo Ltd",
|
|
9
|
+
"email": "info@jumoo.co.uk",
|
|
10
|
+
"url": "https://jumoo.co.uk"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/Jumoo/uSync.Complete.git"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"./dist/**/*"
|
|
21
|
+
],
|
|
22
|
+
"exports": {
|
|
23
|
+
".": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"client:build": "tsc --project ./tsconfig.dist.json",
|
|
27
|
+
"client:pack": "npm pack --pack-destination ./pack",
|
|
28
|
+
"client:link": "npm link",
|
|
29
|
+
"build": "tsc && vite build",
|
|
30
|
+
"watch": "vite build --watch",
|
|
31
|
+
"generate": "rm-rs -r -f ./src/api && node scripts/generate-openapi.js https://localhost:44317/umbraco/swagger/uSyncPublisher/swagger.json",
|
|
32
|
+
"format:fix": "npm run format -- --write",
|
|
33
|
+
"format": "prettier \"src/**/*.ts\" --check"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@hey-api/openapi-ts": "^0.99.0",
|
|
37
|
+
"@jumoo/processing": "https://registry.npmjs.org/@jumoo/processing/-/processing-17.5.2.tgz",
|
|
38
|
+
"@jumoo/usync": "^17.3.0-rc3",
|
|
39
|
+
"@jumoo/usync-expansions": "^17.3.0",
|
|
40
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
41
|
+
"@umbraco-cms/backoffice": "^17.6.2",
|
|
42
|
+
"chalk": "^6.0.0",
|
|
43
|
+
"lit": "^3.3.1",
|
|
44
|
+
"node-fetch": "^3.3.2",
|
|
45
|
+
"prettier": "^3.6.2",
|
|
46
|
+
"rm-rs": "^0.2.3",
|
|
47
|
+
"typescript": "^6.0.2",
|
|
48
|
+
"vite": "^8.0.8",
|
|
49
|
+
"vite-plugin-dts": "^5.0.3"
|
|
50
|
+
}
|
|
51
|
+
}
|
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;
|