@jumoo/usync-publisher-assets 18.3.0 → 18.4.1
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/index.d.ts +1 -1
- package/dist/api/sdk.gen.d.ts +71 -69
- package/dist/api/types.gen.d.ts +68 -0
- package/dist/approvals/constants.d.ts +6 -0
- package/dist/batch-push/batch-push.repository.d.ts +15 -40
- package/dist/browsers/browser.repository.d.ts +13 -11
- package/dist/browsers/browser.source.d.ts +51 -88
- package/dist/change/details.modal.element.d.ts +16 -0
- package/dist/change/trimmed.d.ts +4 -0
- package/dist/change/types.d.ts +7 -0
- package/dist/change/views/compare.element.d.ts +9 -1
- package/dist/change/views/details.element.d.ts +2 -0
- package/dist/constants.d.ts +6 -0
- package/dist/lang/files/en-us.d.ts +19 -0
- package/dist/servers/servers.context.d.ts +5 -5
- package/dist/servers/servers.repository.d.ts +19 -19
- package/dist/servers/servers.source.d.ts +79 -182
- package/dist/servers/tree/server-tree.data-source.d.ts +4 -4
- package/dist/servers/tree/sort-children-of.repository.d.ts +1 -1
- package/dist/settings/settings.repository.d.ts +5 -5
- package/dist/settings/settings.source.d.ts +15 -40
- package/dist/strategies/common/lang-step.element.d.ts +3 -0
- package/dist/strategies/common/report-step.element.d.ts +13 -0
- package/dist/strategies/components/report-view.d.ts +3 -0
- package/dist/strategies/strategy.context.d.ts +4 -4
- package/dist/strategies/strategy.repository.d.ts +15 -40
- package/package.json +49 -47
|
@@ -3,114 +3,77 @@ import { UdiModel } from '../api';
|
|
|
3
3
|
export declare class SyncPublisherBrowserSource {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(host: UmbControllerHost);
|
|
6
|
-
getContentFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
6
|
+
getContentFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
7
7
|
data: import("../api").USyncItemFolder;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
data: undefined;
|
|
11
|
-
error: unknown;
|
|
12
|
-
}) & {
|
|
13
|
-
request?: Request;
|
|
14
|
-
response?: Response;
|
|
8
|
+
request: Request;
|
|
9
|
+
response: Response;
|
|
15
10
|
}>>;
|
|
16
|
-
getMediaFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
11
|
+
getMediaFolders(id: string, server: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
17
12
|
data: import("../api").USyncItemFolder;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
data: undefined;
|
|
21
|
-
error: unknown;
|
|
22
|
-
}) & {
|
|
23
|
-
request?: Request;
|
|
24
|
-
response?: Response;
|
|
13
|
+
request: Request;
|
|
14
|
+
response: Response;
|
|
25
15
|
}>>;
|
|
26
|
-
getLocalContentFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
16
|
+
getLocalContentFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
27
17
|
data: import("../api").USyncItemFolder;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
data: undefined;
|
|
31
|
-
error: unknown;
|
|
32
|
-
}) & {
|
|
33
|
-
request?: Request;
|
|
34
|
-
response?: Response;
|
|
18
|
+
request: Request;
|
|
19
|
+
response: Response;
|
|
35
20
|
}>>;
|
|
36
|
-
getLocalMediaFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
21
|
+
getLocalMediaFolders(id: string, page: number, sortBy?: string, sortDirection?: string, search?: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
37
22
|
data: import("../api").USyncItemFolder;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
data: undefined;
|
|
41
|
-
error: unknown;
|
|
42
|
-
}) & {
|
|
43
|
-
request?: Request;
|
|
44
|
-
response?: Response;
|
|
23
|
+
request: Request;
|
|
24
|
+
response: Response;
|
|
45
25
|
}>>;
|
|
46
|
-
calculateContentChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
26
|
+
calculateContentChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
47
27
|
data: import("../api").SyncBrowserItemChange[];
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
data: undefined;
|
|
51
|
-
error: unknown;
|
|
52
|
-
}) & {
|
|
53
|
-
request?: Request;
|
|
54
|
-
response?: Response;
|
|
28
|
+
request: Request;
|
|
29
|
+
response: Response;
|
|
55
30
|
}>>;
|
|
56
|
-
calculateMediaChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
31
|
+
calculateMediaChanges(server: string, udis: UdiModel[]): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
57
32
|
data: import("../api").SyncBrowserItemChange[];
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
data: undefined;
|
|
61
|
-
error: unknown;
|
|
62
|
-
}) & {
|
|
63
|
-
request?: Request;
|
|
64
|
-
response?: Response;
|
|
33
|
+
request: Request;
|
|
34
|
+
response: Response;
|
|
65
35
|
}>>;
|
|
66
|
-
getContentEntity(id: string, server: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
36
|
+
getContentEntity(id: string, server: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
67
37
|
data: import("../api").SplitEntityView;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
data: undefined;
|
|
71
|
-
error: unknown;
|
|
72
|
-
}) & {
|
|
73
|
-
request?: Request;
|
|
74
|
-
response?: Response;
|
|
38
|
+
request: Request;
|
|
39
|
+
response: Response;
|
|
75
40
|
}>>;
|
|
76
|
-
|
|
41
|
+
/**
|
|
42
|
+
* what the push or pull a pipeline reported on would do to an item.
|
|
43
|
+
* handlers (and servers) without previews return a 404, so there's no notification.
|
|
44
|
+
*/
|
|
45
|
+
getPreview(id: string, handler: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
46
|
+
data: import("../api").SyncItemPreviewResponse;
|
|
47
|
+
request: Request;
|
|
48
|
+
response: Response;
|
|
49
|
+
}>>;
|
|
50
|
+
/**
|
|
51
|
+
* the full change details the report made for an item (the pipeline keeps them with
|
|
52
|
+
* long values trimmed). a 404 once the pack has gone, so there's no notification.
|
|
53
|
+
*/
|
|
54
|
+
getItemDetails(id: string, handler: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
55
|
+
data: import("../api").USyncActionView;
|
|
56
|
+
request: Request;
|
|
57
|
+
response: Response;
|
|
58
|
+
}>>;
|
|
59
|
+
getMediaEntity(id: string, server: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
77
60
|
data: import("../api").SplitEntityView;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
data: undefined;
|
|
81
|
-
error: unknown;
|
|
82
|
-
}) & {
|
|
83
|
-
request?: Request;
|
|
84
|
-
response?: Response;
|
|
61
|
+
request: Request;
|
|
62
|
+
response: Response;
|
|
85
63
|
}>>;
|
|
86
|
-
hasContent(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
64
|
+
hasContent(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
87
65
|
data: boolean;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
data: undefined;
|
|
91
|
-
error: unknown;
|
|
92
|
-
}) & {
|
|
93
|
-
request?: Request;
|
|
94
|
-
response?: Response;
|
|
66
|
+
request: Request;
|
|
67
|
+
response: Response;
|
|
95
68
|
}>>;
|
|
96
|
-
hasMedia(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
69
|
+
hasMedia(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
97
70
|
data: boolean;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
data: undefined;
|
|
101
|
-
error: unknown;
|
|
102
|
-
}) & {
|
|
103
|
-
request?: Request;
|
|
104
|
-
response?: Response;
|
|
71
|
+
request: Request;
|
|
72
|
+
response: Response;
|
|
105
73
|
}>>;
|
|
106
|
-
hasContentOrMedia(checkEnabled: boolean): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<
|
|
74
|
+
hasContentOrMedia(checkEnabled: boolean): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
107
75
|
data: boolean;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
data: undefined;
|
|
111
|
-
error: unknown;
|
|
112
|
-
}) & {
|
|
113
|
-
request?: Request;
|
|
114
|
-
response?: Response;
|
|
76
|
+
request: Request;
|
|
77
|
+
response: Response;
|
|
115
78
|
}>>;
|
|
116
79
|
}
|
|
@@ -10,6 +10,19 @@ export default class uSyncPublisherChangeDetailsModal extends UmbModalBaseElemen
|
|
|
10
10
|
hasCompare: boolean;
|
|
11
11
|
server?: string;
|
|
12
12
|
showViewDetails: boolean;
|
|
13
|
+
/** the visual preview (uSync's preview elements) is the open tab */
|
|
14
|
+
showVisual: boolean;
|
|
15
|
+
private _preview?;
|
|
16
|
+
/**
|
|
17
|
+
* the preview was tried and failed (e.g. a push of content whose document type
|
|
18
|
+
* isn't on the target yet). the visual tab says so, rather than disappearing.
|
|
19
|
+
*/
|
|
20
|
+
private _previewFailed;
|
|
21
|
+
private _previewMessage?;
|
|
22
|
+
/** the names of the two sites, for the visual and compare tabs */
|
|
23
|
+
private _labels?;
|
|
24
|
+
/** the entity types there is a 'usync-item-preview' element for */
|
|
25
|
+
private _previewTypes;
|
|
13
26
|
constructor();
|
|
14
27
|
connectedCallback(): Promise<void>;
|
|
15
28
|
getVisualDetail(id?: string, server?: string): Promise<void>;
|
|
@@ -18,6 +31,9 @@ export default class uSyncPublisherChangeDetailsModal extends UmbModalBaseElemen
|
|
|
18
31
|
_renderSources(): import("lit-html").TemplateResult<1>;
|
|
19
32
|
_renderChangeView(): import("lit-html").TemplateResult<1>;
|
|
20
33
|
renderTabs(): import("lit-html").TemplateResult<1>;
|
|
34
|
+
renderVisual(): import("lit-html").TemplateResult<1>;
|
|
35
|
+
renderVisualUnavailable(): import("lit-html").TemplateResult<1>;
|
|
21
36
|
renderDetail(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
22
37
|
renderCompare(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
38
|
+
static styles: import("lit").CSSResult;
|
|
23
39
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { USyncActionView } from '../api';
|
|
2
|
+
export declare const isTrimmedValue: (value?: string | null) => boolean;
|
|
3
|
+
/** does any of the item's change details have a trimmed value. */
|
|
4
|
+
export declare const hasTrimmedValues: (item?: USyncActionView | null) => boolean;
|
package/dist/change/types.d.ts
CHANGED
|
@@ -5,6 +5,13 @@ export interface uSyncPublisherChangeDetailsData {
|
|
|
5
5
|
compareDefault?: boolean;
|
|
6
6
|
unique?: string;
|
|
7
7
|
entityType?: string;
|
|
8
|
+
/**
|
|
9
|
+
* the publisher pipeline the item was reported in, when set the dialog shows
|
|
10
|
+
* a visual preview of the change (built from the pipeline's pack).
|
|
11
|
+
*/
|
|
12
|
+
pipelineId?: string;
|
|
13
|
+
/** the pipeline is a pull (the pack came from the server), not a push. */
|
|
14
|
+
pull?: boolean;
|
|
8
15
|
}
|
|
9
16
|
export interface uSyncPublisherChangeDetailsValue {
|
|
10
17
|
}
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
2
2
|
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
3
3
|
import { SplitEntityView, USyncEntityView } from '../../api';
|
|
4
|
+
import type { uSyncPreviewLabels } from '@jumoo/usync';
|
|
4
5
|
export declare class uSyncPublisherChangeCompareElement extends UmbLitElement {
|
|
5
6
|
#private;
|
|
6
7
|
isContent: boolean;
|
|
7
8
|
details?: SplitEntityView;
|
|
8
9
|
changeCount: number;
|
|
10
|
+
/** the item doesn't exist on the site being changed, so the change creates it. */
|
|
11
|
+
create: boolean;
|
|
12
|
+
/** the change is a pull, so this site is the one being changed. */
|
|
13
|
+
pull: boolean;
|
|
14
|
+
/** the names of the two sites, as the visual preview shows them. */
|
|
15
|
+
labels?: uSyncPreviewLabels;
|
|
9
16
|
render(): import("lit-html").TemplateResult<1>;
|
|
10
17
|
renderChangeNotice(): import("lit-html").TemplateResult<1>;
|
|
11
18
|
renderContent(): import("lit-html").TemplateResult<1>;
|
|
19
|
+
renderNotThereYet(side: 'local' | 'remote'): import("lit-html").TemplateResult<1>;
|
|
12
20
|
renderLocalContent(): import("lit-html").TemplateResult<1>;
|
|
13
21
|
renderRemoteContent(): import("lit-html").TemplateResult<1>;
|
|
14
22
|
renderNoContent(server: string): import("lit-html").TemplateResult<1>;
|
|
15
23
|
renderMedia(): import("lit-html").TemplateResult<1>;
|
|
16
|
-
renderMediaView(view: USyncEntityView | null | undefined): import("lit-html").TemplateResult<1>;
|
|
24
|
+
renderMediaView(view: USyncEntityView | null | undefined, side: 'local' | 'remote'): import("lit-html").TemplateResult<1>;
|
|
17
25
|
renderCrops(crops: string | null | undefined): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
18
26
|
static styles: import("lit").CSSResult;
|
|
19
27
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
2
|
import { USyncActionView } from '../../api';
|
|
3
3
|
export declare class uSyncPublisherChangeDetailsElement extends UmbLitElement {
|
|
4
|
+
#private;
|
|
4
5
|
item: USyncActionView | null | undefined;
|
|
5
6
|
render(): import("lit-html").TemplateResult<1>;
|
|
7
|
+
static styles: import("lit").CSSResult;
|
|
6
8
|
}
|
|
7
9
|
export default uSyncPublisherChangeDetailsElement;
|
package/dist/constants.d.ts
CHANGED
|
@@ -4,6 +4,12 @@ import { UdiModel } from './api';
|
|
|
4
4
|
* not the { uriValue, entityType, isRoot } shape the generated UdiModel type declares.
|
|
5
5
|
*/
|
|
6
6
|
export declare function getUdiValue(udi?: UdiModel | string | null): string | undefined;
|
|
7
|
+
export declare function getRootLabelKey(entityType?: string | null): string | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* only content and media get published on the other server, everything
|
|
10
|
+
* else (settings, files, members) is just copied over.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isPublishableEntityType(entityType?: string | null): boolean;
|
|
7
13
|
export declare const uSyncPublisher: {
|
|
8
14
|
emptyGuid: string;
|
|
9
15
|
emptyString: string;
|
|
@@ -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;
|
|
@@ -178,6 +183,16 @@ declare const _default: {
|
|
|
178
183
|
browserCompare: string;
|
|
179
184
|
compareTab: string;
|
|
180
185
|
detailsTab: string;
|
|
186
|
+
visualTab: string;
|
|
187
|
+
visualUnavailable: string;
|
|
188
|
+
visualUnavailableDescription: string;
|
|
189
|
+
trimmedValuesHeadline: string;
|
|
190
|
+
trimmedValuesDescription: string;
|
|
191
|
+
trimmedValueOld: string;
|
|
192
|
+
trimmedValueNew: string;
|
|
193
|
+
previewThisSite: string;
|
|
194
|
+
previewCurrent: string;
|
|
195
|
+
previewIncoming: string;
|
|
181
196
|
backgroundSummary: string;
|
|
182
197
|
defaultSettingsInfo: string;
|
|
183
198
|
generateKeyDescription: string;
|
|
@@ -209,6 +224,7 @@ declare const _default: {
|
|
|
209
224
|
createRestorePoint: string;
|
|
210
225
|
restorePrompt: string;
|
|
211
226
|
restorePromptDesc: string;
|
|
227
|
+
ReadOnlyFiles: string;
|
|
212
228
|
ILanguage: string;
|
|
213
229
|
IDictionaryItem: string;
|
|
214
230
|
IDataType: string;
|
|
@@ -292,6 +308,8 @@ declare const _default: {
|
|
|
292
308
|
showServerIdentifier: string;
|
|
293
309
|
sourceMessagePushDefault: (name: string) => string;
|
|
294
310
|
sourceMessagePullDefault: (name: string) => string;
|
|
311
|
+
sourceMessagePushItems: (name: string) => string;
|
|
312
|
+
sourceMessagePullItems: (name: string) => string;
|
|
295
313
|
sourceMessagePushPublish: (name: string) => string;
|
|
296
314
|
sourceMessagePushPublishDecendants: (name: string) => string;
|
|
297
315
|
sourceMessagePushBatchPush: (name: string) => string;
|
|
@@ -304,6 +322,7 @@ declare const _default: {
|
|
|
304
322
|
unsavedChangesOptionIgnore: string;
|
|
305
323
|
unsavedChangesOptionSaveAndPublish: string;
|
|
306
324
|
detailViewNoChanges: string;
|
|
325
|
+
detailViewNew: string;
|
|
307
326
|
detailViewChanges: string;
|
|
308
327
|
detailViewChangeSinlge: string;
|
|
309
328
|
};
|
|
@@ -13,7 +13,7 @@ export declare class SyncPublisherServersContext extends UmbControllerBase {
|
|
|
13
13
|
readonly allServers: import("rxjs").Observable<SyncPublishServerView[]>;
|
|
14
14
|
readonly currentServer: import("rxjs").Observable<SyncPublishServerView | undefined>;
|
|
15
15
|
constructor(host: UmbControllerHost);
|
|
16
|
-
getCurrentServer(): Promise<SyncPublishServerView | null
|
|
16
|
+
getCurrentServer(): Promise<SyncPublishServerView | null>;
|
|
17
17
|
/**
|
|
18
18
|
* @name getAllServers
|
|
19
19
|
* @description get all the configured servers
|
|
@@ -79,21 +79,21 @@ export declare class SyncPublisherServersContext extends UmbControllerBase {
|
|
|
79
79
|
* sync the settings across the servers.
|
|
80
80
|
* @param servers list of servers to sync
|
|
81
81
|
*/
|
|
82
|
-
syncSettings(servers: string[]): Promise<import("../api").ServerSyncResult
|
|
82
|
+
syncSettings(servers: string[]): Promise<import("../api").ServerSyncResult>;
|
|
83
83
|
/**
|
|
84
84
|
* checks to see if this server has appid/key set
|
|
85
85
|
* @returns true if the server's appid and appkey are set
|
|
86
86
|
*/
|
|
87
|
-
hasKeys(): Promise<boolean
|
|
87
|
+
hasKeys(): Promise<boolean>;
|
|
88
88
|
/**
|
|
89
89
|
* generates a new set of keys for the server
|
|
90
90
|
* @returns information for a new set of keys
|
|
91
91
|
*/
|
|
92
|
-
createKeys(): Promise<import("../api").AppKeySetupResult
|
|
92
|
+
createKeys(): Promise<import("../api").AppKeySetupResult>;
|
|
93
93
|
/**
|
|
94
94
|
* save an appid and appkey in the config.
|
|
95
95
|
*/
|
|
96
|
-
saveKeys(appId: string, appKey: string): Promise<boolean
|
|
96
|
+
saveKeys(appId: string, appKey: string): Promise<boolean>;
|
|
97
97
|
}
|
|
98
98
|
export default SyncPublisherServersContext;
|
|
99
99
|
export declare const USYNC_PUBLISHER_SERVER_CONTEXT: UmbContextToken<SyncPublisherServersContext, SyncPublisherServersContext>;
|
|
@@ -4,24 +4,24 @@ import { SyncPublishServerCopyView, SyncPublishServerView, PublishMode } from '.
|
|
|
4
4
|
export declare class SyncPublisherServersRepository extends UmbControllerBase {
|
|
5
5
|
#private;
|
|
6
6
|
constructor(host: UmbControllerHost);
|
|
7
|
-
addToAllServers(server: string): Promise<boolean
|
|
8
|
-
checkServer(server: string): Promise<import("../api").USyncPublishServerStatus
|
|
9
|
-
checkServerSignalR(server: string): Promise<import("../api").USyncPublishServerStatus
|
|
10
|
-
checkServerUrl(url: string): Promise<import("../api").USyncPublishServerStatus
|
|
11
|
-
copyServer(copyView: SyncPublishServerCopyView): Promise<boolean
|
|
12
|
-
deleteServer(key: string): Promise<boolean
|
|
13
|
-
getAllServers(enabledOnly: boolean): Promise<SyncPublishServerView[]
|
|
7
|
+
addToAllServers(server: string): Promise<boolean>;
|
|
8
|
+
checkServer(server: string): Promise<import("../api").USyncPublishServerStatus>;
|
|
9
|
+
checkServerSignalR(server: string): Promise<import("../api").USyncPublishServerStatus>;
|
|
10
|
+
checkServerUrl(url: string): Promise<import("../api").USyncPublishServerStatus>;
|
|
11
|
+
copyServer(copyView: SyncPublishServerCopyView): Promise<boolean>;
|
|
12
|
+
deleteServer(key: string): Promise<boolean>;
|
|
13
|
+
getAllServers(enabledOnly: boolean): Promise<SyncPublishServerView[]>;
|
|
14
14
|
getAvailableServers(item: string | null | undefined, entityType: string | null | undefined, enabledOnly: boolean, mode: PublishMode): Promise<SyncPublishServerView[] | undefined>;
|
|
15
|
-
getServer(server: string): Promise<SyncPublishServerView | null
|
|
16
|
-
getServerByUrl(url: string): Promise<SyncPublishServerView | null
|
|
17
|
-
getServers(action: string, enabledOnly: boolean): Promise<SyncPublishServerView[]
|
|
18
|
-
saveServer(serverView: SyncPublishServerView): Promise<boolean
|
|
19
|
-
setServerOrder(order: Array<string>): Promise<boolean
|
|
20
|
-
getTemplates(): Promise<import("../api").SyncServerTemplateModel[]
|
|
21
|
-
getPublishers(): Promise<import("../api").USyncPublisherView[]
|
|
22
|
-
syncSettings(servers: string[]): Promise<import("../api").ServerSyncResult
|
|
23
|
-
hasKeys(): Promise<boolean
|
|
24
|
-
createKeys(): Promise<import("../api").AppKeySetupResult
|
|
25
|
-
saveKeys(appId: string, appKey: string): Promise<boolean
|
|
26
|
-
getCurrentServer(): Promise<SyncPublishServerView | null
|
|
15
|
+
getServer(server: string): Promise<SyncPublishServerView | null>;
|
|
16
|
+
getServerByUrl(url: string): Promise<SyncPublishServerView | null>;
|
|
17
|
+
getServers(action: string, enabledOnly: boolean): Promise<SyncPublishServerView[]>;
|
|
18
|
+
saveServer(serverView: SyncPublishServerView): Promise<boolean>;
|
|
19
|
+
setServerOrder(order: Array<string>): Promise<boolean>;
|
|
20
|
+
getTemplates(): Promise<import("../api").SyncServerTemplateModel[]>;
|
|
21
|
+
getPublishers(): Promise<import("../api").USyncPublisherView[]>;
|
|
22
|
+
syncSettings(servers: string[]): Promise<import("../api").ServerSyncResult>;
|
|
23
|
+
hasKeys(): Promise<boolean>;
|
|
24
|
+
createKeys(): Promise<import("../api").AppKeySetupResult>;
|
|
25
|
+
saveKeys(appId: string, appKey: string): Promise<boolean>;
|
|
26
|
+
getCurrentServer(): Promise<SyncPublishServerView | null>;
|
|
27
27
|
}
|