@jumoo/usync-publisher-assets 17.7.2-prerelease.50 → 17.8.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/index.d.ts +2 -2
- package/dist/api/sdk.gen.d.ts +8 -1
- package/dist/api/types.gen.d.ts +190 -1
- package/dist/info-app/dependencies-info-app.element.d.ts +29 -0
- package/dist/info-app/dependencies.repository.d.ts +22 -0
- package/dist/info-app/dependencies.source.d.ts +23 -0
- package/dist/info-app/manifest.d.ts +1 -0
- package/dist/info-app/server-status-info-app.element.d.ts +25 -0
- package/dist/lang/files/en-us.d.ts +71 -0
- package/dist/servers/_constants.d.ts +2 -0
- package/dist/servers/modals/add-trusted-server.modal-element.d.ts +20 -0
- package/dist/servers/modals/add-trusted-server.modal-token.d.ts +12 -0
- package/dist/servers/modals/sync-check-changes.modal-element.d.ts +11 -0
- package/dist/servers/modals/sync-check-changes.modal-token.d.ts +12 -0
- package/dist/servers/servers.context.d.ts +15 -1
- package/dist/servers/servers.repository.d.ts +9 -1
- package/dist/servers/servers.source.d.ts +16 -1
- package/dist/servers/workspace/server-item/components/sync-check.controller.d.ts +24 -0
- package/dist/servers/workspace/server-item/views/server-item-sync.element.d.ts +7 -0
- package/dist/servers/workspace/server-root/views/server-root-trusted.element.d.ts +13 -0
- package/dist/strategies/common/report-step.element.d.ts +6 -0
- package/package.json +1 -1
package/dist/api/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { client, type CreateClientConfig } from './client.gen';
|
|
2
|
-
export { ApprovalsService, BatchPushService, BrowserService, ContentService, KeysService, type Options, PublishersService, RunService, SeedService, ServersService, SettingsService, StrategyService, TemplatesService } from './sdk.gen';
|
|
3
|
-
export { type AddToAllServersData, type AddToAllServersErrors, type AddToAllServersResponse, type AddToAllServersResponses, type AddToBatchData, type AddToBatchError, type AddToBatchErrors, type AddToBatchResponse, type AddToBatchResponses, type AppKeySetupResult, type AppKeyView, type ApproveData, type ApproveError, type ApproveErrors, type ApproveResponse, type ApproveResponses, type BadRequest, type BatchPushAddResult, type BatchPushIncludeChildrenRequest, type BatchPushItemModel, type BatchPushItemRequest, type BatchPushModel, type CalculateContentChangesData, type CalculateContentChangesErrors, type CalculateContentChangesResponse, type CalculateContentChangesResponses, type CalculateMediaChangesData, type CalculateMediaChangesErrors, type CalculateMediaChangesResponse, type CalculateMediaChangesResponses, ChangeDetailType, ChangeType, type CheckServerData, type CheckServerErrors, type CheckServerResponse, type CheckServerResponses, type CheckServerSignalRData, type CheckServerSignalRErrors, type CheckServerSignalRResponse, type CheckServerSignalRResponses, type CheckServerUrlData, type CheckServerUrlErrors, type CheckServerUrlResponse, type CheckServerUrlResponses, type ClearBatchData, type ClearBatchErrors, type ClearBatchResponse, type ClearBatchResponses, type ClientOptions, type CopyServerData, type CopyServerErrors, type CopyServerResponse, type CopyServerResponses, type CreateKeysData, type CreateKeysErrors, type CreateKeysResponse, type CreateKeysResponses, type CustomPublisherOptions, type DeclineData, type DeclineError, type DeclineErrors, type DeclineResponse, type DeclineResponses, type DeleteServerData, type DeleteServerErrors, type DeleteServerResponse, type DeleteServerResponses, DependencyFlags, type FlagModel, type GetActionViewData, type GetActionViewErrors, type GetActionViewResponse, type GetActionViewResponses, type GetAllServersData, type GetAllServersErrors, type GetAllServersResponse, type GetAllServersResponses, type GetAncestorsData, type GetAncestorsError, type GetAncestorsErrors, type GetAncestorsResponse, type GetAncestorsResponses, type GetApprovalAccessData, type GetApprovalAccessErrors, type GetApprovalAccessResponse, type GetApprovalAccessResponses, type GetApprovalByPipelineData, type GetApprovalByPipelineError, type GetApprovalByPipelineErrors, type GetApprovalByPipelineResponse, type GetApprovalByPipelineResponses, type GetApprovalData, type GetApprovalError, type GetApprovalErrors, type GetApprovalHistoryData, type GetApprovalHistoryErrors, type GetApprovalHistoryResponse, type GetApprovalHistoryResponses, type GetApprovalResponse, type GetApprovalResponses, type GetAvailableServersData, type GetAvailableServersErrors, type GetAvailableServersResponse, type GetAvailableServersResponses, type GetAwaitingApprovalCountData, type GetAwaitingApprovalCountErrors, type GetAwaitingApprovalCountResponse, type GetAwaitingApprovalCountResponses, type GetAwaitingApprovalData, type GetAwaitingApprovalErrors, type GetAwaitingApprovalResponse, type GetAwaitingApprovalResponses, type GetBatchCountData, type GetBatchCountErrors, type GetBatchCountResponse, type GetBatchCountResponses, type GetBatchData, type GetBatchErrors, type GetBatchResponse, type GetBatchResponses, type GetButtonsData, type GetButtonsErrors, type GetButtonsResponse, type GetButtonsResponses, type GetChildrenData, type GetChildrenError, type GetChildrenErrors, type GetChildrenResponse, type GetChildrenResponses, type GetContentEntityData, type GetContentEntityErrors, type GetContentEntityResponse, type GetContentEntityResponses, type GetContentFoldersData, type GetContentFoldersErrors, type GetContentFoldersResponse, type GetContentFoldersResponses, type GetCurrentServerData, type GetCurrentServerErrors, type GetCurrentServerResponse, type GetCurrentServerResponses, type GetDescendantCountData, type GetDescendantCountErrors, type GetDescendantCountResponse, type GetDescendantCountResponses, type GetItemDetailsData, type GetItemDetailsErrors, type GetItemDetailsResponse, type GetItemDetailsResponses, type GetLocalContentFoldersData, type GetLocalContentFoldersErrors, type GetLocalContentFoldersResponse, type GetLocalContentFoldersResponses, type GetLocalMediaFoldersData, type GetLocalMediaFoldersErrors, type GetLocalMediaFoldersResponse, type GetLocalMediaFoldersResponses, type GetMediaEntityData, type GetMediaEntityErrors, type GetMediaEntityResponse, type GetMediaEntityResponses, type GetMediaFoldersData, type GetMediaFoldersErrors, type GetMediaFoldersResponse, type GetMediaFoldersResponses, type GetMyRequestsData, type GetMyRequestsErrors, type GetMyRequestsResponse, type GetMyRequestsResponses, type GetPreviewData, type GetPreviewErrors, type GetPreviewResponse, type GetPreviewResponses, type GetPublisherData, type GetPublisherErrors, type GetPublisherResponse, type GetPublisherResponses, type GetPublishersData, type GetPublishersErrors, type GetPublishersResponse, type GetPublishersResponses, type GetServerApprovalData, type GetServerApprovalErrors, type GetServerApprovalResponse, type GetServerApprovalResponses, type GetServerByAliasData, type GetServerByAliasErrors, type GetServerByAliasResponse, type GetServerByAliasResponses, type GetServerByUrlData, type GetServerByUrlErrors, type GetServerByUrlResponse, type GetServerByUrlResponses, type GetServerData, type GetServerErrors, type GetServerResponse, type GetServerResponses, type GetServersData, type GetServersErrors, type GetServersResponse, type GetServersResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetSiteStatusData, type GetSiteStatusErrors, type GetSiteStatusResponse, type GetSiteStatusResponses, type GetStrategyByPublisherData, type GetStrategyByPublisherErrors, type GetStrategyByPublisherResponse, type GetStrategyByPublisherResponses, type GetStrategyByServerData, type GetStrategyByServerErrors, type GetStrategyByServerResponse, type GetStrategyByServerResponses, type GetSyncItemData, type GetSyncItemErrors, type GetSyncItemResponse, type GetSyncItemResponses, type GetSyncSendOptionsByModeData, type GetSyncSendOptionsByModeError, type GetSyncSendOptionsByModeErrors, type GetSyncSendOptionsByModeResponse, type GetSyncSendOptionsByModeResponses, type GetTemplatesData, type GetTemplatesErrors, type GetTemplatesResponse, type GetTemplatesResponses, type GetUserGroupsData, type GetUserGroupsErrors, type GetUserGroupsResponse, type GetUserGroupsResponses, type GetVariantsData, type GetVariantsErrors, type GetVariantsResponse, type GetVariantsResponses, type HasContentData, type HasContentErrors, type HasContentOrMediaData, type HasContentOrMediaErrors, type HasContentOrMediaResponse, type HasContentOrMediaResponses, type HasContentResponse, type HasContentResponses, type HasKeysData, type HasKeysErrors, type HasKeysResponse, type HasKeysResponses, type HasMediaData, type HasMediaErrors, type HasMediaResponse, type HasMediaResponses, type PagedModelPublisherApprovalSummaryModel, type PagedSyncServerItemResponseModel, type PipelineRunRejected, PipelineRunRejectedReason, type PipelineRunStarted, PipelineRunState, type ProblemDetails, type PublisherApprovalAccessModel, type PublisherApprovalDecisionModel, type PublisherApprovalDetailModel, type PublisherApprovalItem, type PublisherApprovalProgress, type PublisherApprovalServerModel, PublisherApprovalStatus, type PublisherApprovalSummaryModel, type PublisherProcessingOptions, type PublisherProcessingOptionsWritable, type PublisherStartItem, PublisherStartMode, type PublisherStartOptions, type PublisherStartRequest, type PublisherSyncSendOptions, PublishMode, type ReferenceByIdModel, type ReloadSettingsData, type ReloadSettingsErrors, type ReloadSettingsResponse, type ReloadSettingsResponses, type RemoveFromBatchData, type RemoveFromBatchErrors, type RemoveFromBatchResponse, type RemoveFromBatchResponses, type RootData, type RootErrors, type RootResponse, type RootResponses, type SaveKeysData, type SaveKeysErrors, type SaveKeysResponse, type SaveKeysResponses, type SaveServerData, type SaveServerError, type SaveServerErrors, type SaveServerResponse, type SaveServerResponses, type SaveSettingsData, type SaveSettingsErrors, type SaveSettingsResponse, type SaveSettingsResponses, type ServerSyncRequest, type ServerSyncResult, type SetBatchIncludeChildrenData, type SetBatchIncludeChildrenError, type SetBatchIncludeChildrenErrors, type SetBatchIncludeChildrenResponses, type SetServerOrderData, type SetServerOrderErrors, type SetServerOrderResponse, type SetServerOrderResponses, type SiteSeedStatus, type SplitEntityView, type SplitEntityViewWritable, type StartData, type StartError, type StartErrors, type StartResponse, type StartResponses, type SyncBrowserItemChange, type SyncBrowserItemChangeWritable, type SyncEntity, type SyncEntityWritable, type SyncItem, type SyncItemPreviewResponse, type SyncItemWritable, type SyncLocalItem, type SyncLocalItemWritable, SyncProcessingSourceAction, type SyncPublishAvailableServerRequest, type SyncPublisherOptions, type SyncPublisherVariantsResult, type SyncPublishServerCopyView, type SyncPublishServerView, type SyncSendOption, type SyncSendOptions, type SyncServerAppearance, type SyncServerItemResponseModel, SyncServerStatus, type SyncServerTemplateModel, type SyncSettingsData, type SyncSettingsError, type SyncSettingsErrors, type SyncSettingsResponse, type SyncSettingsResponses, type SyncVariantInfo, type UdiModel, type UserGroupListModel, type USyncActionView, type USyncAllowedServer, type USyncChange, type USyncEntityVariant, type USyncEntityView, type USyncEntityViewWritable, type USyncItemFolder, type USyncItemFolderWritable, type USyncPathItem, type USyncPublisherView, type USyncPublishServerStatus, type USyncPublishSettingsView, type WithdrawData, type WithdrawError, type WithdrawErrors, type WithdrawResponse, type WithdrawResponses } from './types.gen';
|
|
2
|
+
export { ApprovalsService, BatchPushService, BrowserService, ContentService, DependenciesService, KeysService, type Options, PublishersService, RunService, SeedService, ServersService, SettingsService, StrategyService, TemplatesService } from './sdk.gen';
|
|
3
|
+
export { type AddToAllServersData, type AddToAllServersErrors, type AddToAllServersResponse, type AddToAllServersResponses, type AddToBatchData, type AddToBatchError, type AddToBatchErrors, type AddToBatchResponse, type AddToBatchResponses, type AppKeySetupResult, type AppKeyView, type ApproveData, type ApproveError, type ApproveErrors, type ApproveResponse, type ApproveResponses, type BadRequest, type BatchPushAddResult, type BatchPushIncludeChildrenRequest, type BatchPushItemModel, type BatchPushItemRequest, type BatchPushModel, type CalculateContentChangesData, type CalculateContentChangesErrors, type CalculateContentChangesResponse, type CalculateContentChangesResponses, type CalculateMediaChangesData, type CalculateMediaChangesErrors, type CalculateMediaChangesResponse, type CalculateMediaChangesResponses, ChangeDetailType, ChangeType, type CheckServerData, type CheckServerErrors, type CheckServerResponse, type CheckServerResponses, type CheckServerSignalRData, type CheckServerSignalRErrors, type CheckServerSignalRResponse, type CheckServerSignalRResponses, type CheckServerUrlData, type CheckServerUrlErrors, type CheckServerUrlResponse, type CheckServerUrlResponses, type ClearBatchData, type ClearBatchErrors, type ClearBatchResponse, type ClearBatchResponses, type ClientOptions, type CopyServerData, type CopyServerErrors, type CopyServerResponse, type CopyServerResponses, type CreateKeysData, type CreateKeysErrors, type CreateKeysResponse, type CreateKeysResponses, type CreateTrustedServerData, type CreateTrustedServerError, type CreateTrustedServerErrors, type CreateTrustedServerRequest, type CreateTrustedServerResponse, type CreateTrustedServerResponses, type CreateTrustedServerResult, type CustomPublisherOptions, type DeclineData, type DeclineError, type DeclineErrors, type DeclineResponse, type DeclineResponses, type DeleteServerData, type DeleteServerErrors, type DeleteServerResponse, type DeleteServerResponses, DependencyFlags, type FlagModel, type GetActionViewData, type GetActionViewErrors, type GetActionViewResponse, type GetActionViewResponses, type GetAllServersData, type GetAllServersErrors, type GetAllServersResponse, type GetAllServersResponses, type GetAncestorsData, type GetAncestorsError, type GetAncestorsErrors, type GetAncestorsResponse, type GetAncestorsResponses, type GetApprovalAccessData, type GetApprovalAccessErrors, type GetApprovalAccessResponse, type GetApprovalAccessResponses, type GetApprovalByPipelineData, type GetApprovalByPipelineError, type GetApprovalByPipelineErrors, type GetApprovalByPipelineResponse, type GetApprovalByPipelineResponses, type GetApprovalData, type GetApprovalError, type GetApprovalErrors, type GetApprovalHistoryData, type GetApprovalHistoryErrors, type GetApprovalHistoryResponse, type GetApprovalHistoryResponses, type GetApprovalResponse, type GetApprovalResponses, type GetAvailableServersData, type GetAvailableServersErrors, type GetAvailableServersResponse, type GetAvailableServersResponses, type GetAwaitingApprovalCountData, type GetAwaitingApprovalCountErrors, type GetAwaitingApprovalCountResponse, type GetAwaitingApprovalCountResponses, type GetAwaitingApprovalData, type GetAwaitingApprovalErrors, type GetAwaitingApprovalResponse, type GetAwaitingApprovalResponses, type GetBatchCountData, type GetBatchCountErrors, type GetBatchCountResponse, type GetBatchCountResponses, type GetBatchData, type GetBatchErrors, type GetBatchResponse, type GetBatchResponses, type GetButtonsData, type GetButtonsErrors, type GetButtonsResponse, type GetButtonsResponses, type GetChildrenData, type GetChildrenError, type GetChildrenErrors, type GetChildrenResponse, type GetChildrenResponses, type GetContentEntityData, type GetContentEntityErrors, type GetContentEntityResponse, type GetContentEntityResponses, type GetContentFoldersData, type GetContentFoldersErrors, type GetContentFoldersResponse, type GetContentFoldersResponses, type GetCurrentServerData, type GetCurrentServerErrors, type GetCurrentServerResponse, type GetCurrentServerResponses, type GetDescendantCountData, type GetDescendantCountErrors, type GetDescendantCountResponse, type GetDescendantCountResponses, type GetItemDependenciesData, type GetItemDependenciesErrors, type GetItemDependenciesResponse, type GetItemDependenciesResponses, type GetItemDetailsData, type GetItemDetailsErrors, type GetItemDetailsResponse, type GetItemDetailsResponses, type GetItemServerStatusData, type GetItemServerStatusErrors, type GetItemServerStatusResponse, type GetItemServerStatusResponses, type GetLocalContentFoldersData, type GetLocalContentFoldersErrors, type GetLocalContentFoldersResponse, type GetLocalContentFoldersResponses, type GetLocalMediaFoldersData, type GetLocalMediaFoldersErrors, type GetLocalMediaFoldersResponse, type GetLocalMediaFoldersResponses, type GetMediaEntityData, type GetMediaEntityErrors, type GetMediaEntityResponse, type GetMediaEntityResponses, type GetMediaFoldersData, type GetMediaFoldersErrors, type GetMediaFoldersResponse, type GetMediaFoldersResponses, type GetMyRequestsData, type GetMyRequestsErrors, type GetMyRequestsResponse, type GetMyRequestsResponses, type GetPreviewData, type GetPreviewErrors, type GetPreviewResponse, type GetPreviewResponses, type GetPublisherData, type GetPublisherErrors, type GetPublisherResponse, type GetPublisherResponses, type GetPublishersData, type GetPublishersErrors, type GetPublishersResponse, type GetPublishersResponses, type GetServerApprovalData, type GetServerApprovalErrors, type GetServerApprovalResponse, type GetServerApprovalResponses, type GetServerByAliasData, type GetServerByAliasErrors, type GetServerByAliasResponse, type GetServerByAliasResponses, type GetServerByUrlData, type GetServerByUrlErrors, type GetServerByUrlResponse, type GetServerByUrlResponses, type GetServerData, type GetServerErrors, type GetServerResponse, type GetServerResponses, type GetServersData, type GetServersErrors, type GetServersResponse, type GetServersResponses, type GetSettingsData, type GetSettingsErrors, type GetSettingsResponse, type GetSettingsResponses, type GetSiteStatusData, type GetSiteStatusErrors, type GetSiteStatusResponse, type GetSiteStatusResponses, type GetStrategyByPublisherData, type GetStrategyByPublisherErrors, type GetStrategyByPublisherResponse, type GetStrategyByPublisherResponses, type GetStrategyByServerData, type GetStrategyByServerErrors, type GetStrategyByServerResponse, type GetStrategyByServerResponses, type GetSyncItemData, type GetSyncItemErrors, type GetSyncItemResponse, type GetSyncItemResponses, type GetSyncSendOptionsByModeData, type GetSyncSendOptionsByModeError, type GetSyncSendOptionsByModeErrors, type GetSyncSendOptionsByModeResponse, type GetSyncSendOptionsByModeResponses, type GetTemplatesData, type GetTemplatesErrors, type GetTemplatesResponse, type GetTemplatesResponses, type GetTrustedServersData, type GetTrustedServersErrors, type GetTrustedServersResponse, type GetTrustedServersResponses, type GetUserGroupsData, type GetUserGroupsErrors, type GetUserGroupsResponse, type GetUserGroupsResponses, type GetVariantsData, type GetVariantsErrors, type GetVariantsResponse, type GetVariantsResponses, type HasContentData, type HasContentErrors, type HasContentOrMediaData, type HasContentOrMediaErrors, type HasContentOrMediaResponse, type HasContentOrMediaResponses, type HasContentResponse, type HasContentResponses, type HasKeysData, type HasKeysErrors, type HasKeysResponse, type HasKeysResponses, type HasMediaData, type HasMediaErrors, type HasMediaResponse, type HasMediaResponses, type PagedModelPublisherApprovalSummaryModel, type PagedSyncServerItemResponseModel, type PipelineRunRejected, PipelineRunRejectedReason, type PipelineRunStarted, PipelineRunState, type ProblemDetails, type PublisherApprovalAccessModel, type PublisherApprovalDecisionModel, type PublisherApprovalDetailModel, type PublisherApprovalItem, type PublisherApprovalProgress, type PublisherApprovalServerModel, PublisherApprovalStatus, type PublisherApprovalSummaryModel, type PublisherProcessingOptions, type PublisherProcessingOptionsWritable, type PublisherStartItem, PublisherStartMode, type PublisherStartOptions, type PublisherStartRequest, type PublisherSyncSendOptions, PublishMode, type ReferenceByIdModel, type ReloadSettingsData, type ReloadSettingsErrors, type ReloadSettingsResponse, type ReloadSettingsResponses, type RemoveFromBatchData, type RemoveFromBatchErrors, type RemoveFromBatchResponse, type RemoveFromBatchResponses, type RemoveTrustedServerData, type RemoveTrustedServerErrors, type RemoveTrustedServerResponse, type RemoveTrustedServerResponses, type RemoveTrustedServerResult, type RootData, type RootErrors, type RootResponse, type RootResponses, type SaveKeysData, type SaveKeysErrors, type SaveKeysResponse, type SaveKeysResponses, type SaveServerData, type SaveServerError, type SaveServerErrors, type SaveServerResponse, type SaveServerResponses, type SaveSettingsData, type SaveSettingsErrors, type SaveSettingsResponse, type SaveSettingsResponses, type ServerSyncRequest, type ServerSyncResult, type SetBatchIncludeChildrenData, type SetBatchIncludeChildrenError, type SetBatchIncludeChildrenErrors, type SetBatchIncludeChildrenResponses, type SetServerOrderData, type SetServerOrderErrors, type SetServerOrderResponse, type SetServerOrderResponses, type SiteSeedStatus, type SplitEntityView, type SplitEntityViewWritable, type StartData, type StartError, type StartErrors, type StartResponse, type StartResponses, type SyncBrowserItemChange, type SyncBrowserItemChangeWritable, type SyncEntity, type SyncEntityWritable, type SyncItem, type SyncItemDependencyGroup, type SyncItemDependencyView, type SyncItemPreviewResponse, SyncItemServerState, type SyncItemServerStatus, type SyncItemWritable, type SyncLocalItem, type SyncLocalItemWritable, SyncProcessingSourceAction, type SyncPublishAvailableServerRequest, type SyncPublisherOptions, type SyncPublisherVariantsResult, type SyncPublishServerCopyView, type SyncPublishServerView, type SyncSendOption, type SyncSendOptions, type SyncServerAppearance, type SyncServerItemResponseModel, SyncServerStatus, type SyncServerTemplateModel, type SyncSettingsData, type SyncSettingsError, type SyncSettingsErrors, type SyncSettingsResponse, type SyncSettingsResponses, type SyncVariantInfo, type TrustedServersView, type TrustedServerView, type UdiModel, type UserGroupListModel, type USyncActionView, type USyncAllowedServer, type USyncChange, type USyncEntityVariant, type USyncEntityView, type USyncEntityViewWritable, type USyncItemFolder, type USyncItemFolderWritable, type USyncPathItem, type USyncPublisherView, type USyncPublishServerStatus, type USyncPublishSettingsView, type WithdrawData, type WithdrawError, type WithdrawErrors, type WithdrawResponse, type WithdrawResponses } from './types.gen';
|
package/dist/api/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
|
|
2
|
-
import type { AddToAllServersData, AddToAllServersErrors, AddToAllServersResponses, AddToBatchData, AddToBatchErrors, AddToBatchResponses, ApproveData, ApproveErrors, ApproveResponses, CalculateContentChangesData, CalculateContentChangesErrors, CalculateContentChangesResponses, CalculateMediaChangesData, CalculateMediaChangesErrors, CalculateMediaChangesResponses, CheckServerData, CheckServerErrors, CheckServerResponses, CheckServerSignalRData, CheckServerSignalRErrors, CheckServerSignalRResponses, CheckServerUrlData, CheckServerUrlErrors, CheckServerUrlResponses, ClearBatchData, ClearBatchErrors, ClearBatchResponses, CopyServerData, CopyServerErrors, CopyServerResponses, CreateKeysData, CreateKeysErrors, CreateKeysResponses, DeclineData, DeclineErrors, DeclineResponses, DeleteServerData, DeleteServerErrors, DeleteServerResponses, GetActionViewData, GetActionViewErrors, GetActionViewResponses, GetAllServersData, GetAllServersErrors, GetAllServersResponses, GetAncestorsData, GetAncestorsErrors, GetAncestorsResponses, GetApprovalAccessData, GetApprovalAccessErrors, GetApprovalAccessResponses, GetApprovalByPipelineData, GetApprovalByPipelineErrors, GetApprovalByPipelineResponses, GetApprovalData, GetApprovalErrors, GetApprovalHistoryData, GetApprovalHistoryErrors, GetApprovalHistoryResponses, GetApprovalResponses, GetAvailableServersData, GetAvailableServersErrors, GetAvailableServersResponses, GetAwaitingApprovalCountData, GetAwaitingApprovalCountErrors, GetAwaitingApprovalCountResponses, GetAwaitingApprovalData, GetAwaitingApprovalErrors, GetAwaitingApprovalResponses, GetBatchCountData, GetBatchCountErrors, GetBatchCountResponses, GetBatchData, GetBatchErrors, GetBatchResponses, GetButtonsData, GetButtonsErrors, GetButtonsResponses, GetChildrenData, GetChildrenErrors, GetChildrenResponses, GetContentEntityData, GetContentEntityErrors, GetContentEntityResponses, GetContentFoldersData, GetContentFoldersErrors, GetContentFoldersResponses, GetCurrentServerData, GetCurrentServerErrors, GetCurrentServerResponses, GetDescendantCountData, GetDescendantCountErrors, GetDescendantCountResponses, GetItemDetailsData, GetItemDetailsErrors, GetItemDetailsResponses, GetLocalContentFoldersData, GetLocalContentFoldersErrors, GetLocalContentFoldersResponses, GetLocalMediaFoldersData, GetLocalMediaFoldersErrors, GetLocalMediaFoldersResponses, GetMediaEntityData, GetMediaEntityErrors, GetMediaEntityResponses, GetMediaFoldersData, GetMediaFoldersErrors, GetMediaFoldersResponses, GetMyRequestsData, GetMyRequestsErrors, GetMyRequestsResponses, GetPreviewData, GetPreviewErrors, GetPreviewResponses, GetPublisherData, GetPublisherErrors, GetPublisherResponses, GetPublishersData, GetPublishersErrors, GetPublishersResponses, GetServerApprovalData, GetServerApprovalErrors, GetServerApprovalResponses, GetServerByAliasData, GetServerByAliasErrors, GetServerByAliasResponses, GetServerByUrlData, GetServerByUrlErrors, GetServerByUrlResponses, GetServerData, GetServerErrors, GetServerResponses, GetServersData, GetServersErrors, GetServersResponses, GetSettingsData, GetSettingsErrors, GetSettingsResponses, GetSiteStatusData, GetSiteStatusErrors, GetSiteStatusResponses, GetStrategyByPublisherData, GetStrategyByPublisherErrors, GetStrategyByPublisherResponses, GetStrategyByServerData, GetStrategyByServerErrors, GetStrategyByServerResponses, GetSyncItemData, GetSyncItemErrors, GetSyncItemResponses, GetSyncSendOptionsByModeData, GetSyncSendOptionsByModeErrors, GetSyncSendOptionsByModeResponses, GetTemplatesData, GetTemplatesErrors, GetTemplatesResponses, GetUserGroupsData, GetUserGroupsErrors, GetUserGroupsResponses, GetVariantsData, GetVariantsErrors, GetVariantsResponses, HasContentData, HasContentErrors, HasContentOrMediaData, HasContentOrMediaErrors, HasContentOrMediaResponses, HasContentResponses, HasKeysData, HasKeysErrors, HasKeysResponses, HasMediaData, HasMediaErrors, HasMediaResponses, ReloadSettingsData, ReloadSettingsErrors, ReloadSettingsResponses, RemoveFromBatchData, RemoveFromBatchErrors, RemoveFromBatchResponses, RootData, RootErrors, RootResponses, SaveKeysData, SaveKeysErrors, SaveKeysResponses, SaveServerData, SaveServerErrors, SaveServerResponses, SaveSettingsData, SaveSettingsErrors, SaveSettingsResponses, SetBatchIncludeChildrenData, SetBatchIncludeChildrenErrors, SetBatchIncludeChildrenResponses, SetServerOrderData, SetServerOrderErrors, SetServerOrderResponses, StartData, StartErrors, StartResponses, SyncSettingsData, SyncSettingsErrors, SyncSettingsResponses, WithdrawData, WithdrawErrors, WithdrawResponses } from './types.gen';
|
|
2
|
+
import type { AddToAllServersData, AddToAllServersErrors, AddToAllServersResponses, AddToBatchData, AddToBatchErrors, AddToBatchResponses, ApproveData, ApproveErrors, ApproveResponses, CalculateContentChangesData, CalculateContentChangesErrors, CalculateContentChangesResponses, CalculateMediaChangesData, CalculateMediaChangesErrors, CalculateMediaChangesResponses, CheckServerData, CheckServerErrors, CheckServerResponses, CheckServerSignalRData, CheckServerSignalRErrors, CheckServerSignalRResponses, CheckServerUrlData, CheckServerUrlErrors, CheckServerUrlResponses, ClearBatchData, ClearBatchErrors, ClearBatchResponses, CopyServerData, CopyServerErrors, CopyServerResponses, CreateKeysData, CreateKeysErrors, CreateKeysResponses, CreateTrustedServerData, CreateTrustedServerErrors, CreateTrustedServerResponses, DeclineData, DeclineErrors, DeclineResponses, DeleteServerData, DeleteServerErrors, DeleteServerResponses, GetActionViewData, GetActionViewErrors, GetActionViewResponses, GetAllServersData, GetAllServersErrors, GetAllServersResponses, GetAncestorsData, GetAncestorsErrors, GetAncestorsResponses, GetApprovalAccessData, GetApprovalAccessErrors, GetApprovalAccessResponses, GetApprovalByPipelineData, GetApprovalByPipelineErrors, GetApprovalByPipelineResponses, GetApprovalData, GetApprovalErrors, GetApprovalHistoryData, GetApprovalHistoryErrors, GetApprovalHistoryResponses, GetApprovalResponses, GetAvailableServersData, GetAvailableServersErrors, GetAvailableServersResponses, GetAwaitingApprovalCountData, GetAwaitingApprovalCountErrors, GetAwaitingApprovalCountResponses, GetAwaitingApprovalData, GetAwaitingApprovalErrors, GetAwaitingApprovalResponses, GetBatchCountData, GetBatchCountErrors, GetBatchCountResponses, GetBatchData, GetBatchErrors, GetBatchResponses, GetButtonsData, GetButtonsErrors, GetButtonsResponses, GetChildrenData, GetChildrenErrors, GetChildrenResponses, GetContentEntityData, GetContentEntityErrors, GetContentEntityResponses, GetContentFoldersData, GetContentFoldersErrors, GetContentFoldersResponses, GetCurrentServerData, GetCurrentServerErrors, GetCurrentServerResponses, GetDescendantCountData, GetDescendantCountErrors, GetDescendantCountResponses, GetItemDependenciesData, GetItemDependenciesErrors, GetItemDependenciesResponses, GetItemDetailsData, GetItemDetailsErrors, GetItemDetailsResponses, GetItemServerStatusData, GetItemServerStatusErrors, GetItemServerStatusResponses, GetLocalContentFoldersData, GetLocalContentFoldersErrors, GetLocalContentFoldersResponses, GetLocalMediaFoldersData, GetLocalMediaFoldersErrors, GetLocalMediaFoldersResponses, GetMediaEntityData, GetMediaEntityErrors, GetMediaEntityResponses, GetMediaFoldersData, GetMediaFoldersErrors, GetMediaFoldersResponses, GetMyRequestsData, GetMyRequestsErrors, GetMyRequestsResponses, GetPreviewData, GetPreviewErrors, GetPreviewResponses, GetPublisherData, GetPublisherErrors, GetPublisherResponses, GetPublishersData, GetPublishersErrors, GetPublishersResponses, GetServerApprovalData, GetServerApprovalErrors, GetServerApprovalResponses, GetServerByAliasData, GetServerByAliasErrors, GetServerByAliasResponses, GetServerByUrlData, GetServerByUrlErrors, GetServerByUrlResponses, GetServerData, GetServerErrors, GetServerResponses, GetServersData, GetServersErrors, GetServersResponses, GetSettingsData, GetSettingsErrors, GetSettingsResponses, GetSiteStatusData, GetSiteStatusErrors, GetSiteStatusResponses, GetStrategyByPublisherData, GetStrategyByPublisherErrors, GetStrategyByPublisherResponses, GetStrategyByServerData, GetStrategyByServerErrors, GetStrategyByServerResponses, GetSyncItemData, GetSyncItemErrors, GetSyncItemResponses, GetSyncSendOptionsByModeData, GetSyncSendOptionsByModeErrors, GetSyncSendOptionsByModeResponses, GetTemplatesData, GetTemplatesErrors, GetTemplatesResponses, GetTrustedServersData, GetTrustedServersErrors, GetTrustedServersResponses, GetUserGroupsData, GetUserGroupsErrors, GetUserGroupsResponses, GetVariantsData, GetVariantsErrors, GetVariantsResponses, HasContentData, HasContentErrors, HasContentOrMediaData, HasContentOrMediaErrors, HasContentOrMediaResponses, HasContentResponses, HasKeysData, HasKeysErrors, HasKeysResponses, HasMediaData, HasMediaErrors, HasMediaResponses, ReloadSettingsData, ReloadSettingsErrors, ReloadSettingsResponses, RemoveFromBatchData, RemoveFromBatchErrors, RemoveFromBatchResponses, RemoveTrustedServerData, RemoveTrustedServerErrors, RemoveTrustedServerResponses, RootData, RootErrors, RootResponses, SaveKeysData, SaveKeysErrors, SaveKeysResponses, SaveServerData, SaveServerErrors, SaveServerResponses, SaveSettingsData, SaveSettingsErrors, SaveSettingsResponses, SetBatchIncludeChildrenData, SetBatchIncludeChildrenErrors, SetBatchIncludeChildrenResponses, SetServerOrderData, SetServerOrderErrors, SetServerOrderResponses, StartData, StartErrors, StartResponses, SyncSettingsData, SyncSettingsErrors, SyncSettingsResponses, WithdrawData, WithdrawErrors, WithdrawResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -52,10 +52,17 @@ export declare class BrowserService {
|
|
|
52
52
|
export declare class ContentService {
|
|
53
53
|
static getVariants<ThrowOnError extends boolean = true>(options?: Options<GetVariantsData, ThrowOnError>): RequestResult<GetVariantsResponses, GetVariantsErrors, ThrowOnError>;
|
|
54
54
|
}
|
|
55
|
+
export declare class DependenciesService {
|
|
56
|
+
static getItemDependencies<ThrowOnError extends boolean = true>(options?: Options<GetItemDependenciesData, ThrowOnError>): RequestResult<GetItemDependenciesResponses, GetItemDependenciesErrors, ThrowOnError>;
|
|
57
|
+
static getItemServerStatus<ThrowOnError extends boolean = true>(options?: Options<GetItemServerStatusData, ThrowOnError>): RequestResult<GetItemServerStatusResponses, GetItemServerStatusErrors, ThrowOnError>;
|
|
58
|
+
}
|
|
55
59
|
export declare class KeysService {
|
|
56
60
|
static createKeys<ThrowOnError extends boolean = true>(options?: Options<CreateKeysData, ThrowOnError>): RequestResult<CreateKeysResponses, CreateKeysErrors, ThrowOnError>;
|
|
61
|
+
static createTrustedServer<ThrowOnError extends boolean = true>(options?: Options<CreateTrustedServerData, ThrowOnError>): RequestResult<CreateTrustedServerResponses, CreateTrustedServerErrors, ThrowOnError>;
|
|
57
62
|
static hasKeys<ThrowOnError extends boolean = true>(options?: Options<HasKeysData, ThrowOnError>): RequestResult<HasKeysResponses, HasKeysErrors, ThrowOnError>;
|
|
58
63
|
static saveKeys<ThrowOnError extends boolean = true>(options?: Options<SaveKeysData, ThrowOnError>): RequestResult<SaveKeysResponses, SaveKeysErrors, ThrowOnError>;
|
|
64
|
+
static removeTrustedServer<ThrowOnError extends boolean = true>(options?: Options<RemoveTrustedServerData, ThrowOnError>): RequestResult<RemoveTrustedServerResponses, RemoveTrustedServerErrors, ThrowOnError>;
|
|
65
|
+
static getTrustedServers<ThrowOnError extends boolean = true>(options?: Options<GetTrustedServersData, ThrowOnError>): RequestResult<GetTrustedServersResponses, GetTrustedServersErrors, ThrowOnError>;
|
|
59
66
|
}
|
|
60
67
|
export declare class PublishersService {
|
|
61
68
|
static getPublisher<ThrowOnError extends boolean = true>(options?: Options<GetPublisherData, ThrowOnError>): RequestResult<GetPublisherResponses, GetPublisherErrors, ThrowOnError>;
|
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:53080' | (string & {});
|
|
3
3
|
};
|
|
4
4
|
export type AppKeySetupResult = {
|
|
5
5
|
appId: string;
|
|
@@ -67,6 +67,20 @@ export declare enum ChangeType {
|
|
|
67
67
|
CLEAN = "Clean",
|
|
68
68
|
REMOVED = "Removed"
|
|
69
69
|
}
|
|
70
|
+
export type CreateTrustedServerRequest = {
|
|
71
|
+
name: string;
|
|
72
|
+
senderAlias: string;
|
|
73
|
+
keepSharedKey: boolean;
|
|
74
|
+
};
|
|
75
|
+
export type CreateTrustedServerResult = {
|
|
76
|
+
saved: boolean;
|
|
77
|
+
name: string;
|
|
78
|
+
appId: string;
|
|
79
|
+
appKey: string;
|
|
80
|
+
senderJson: string;
|
|
81
|
+
senderEnvironment: string;
|
|
82
|
+
receiverJson: string;
|
|
83
|
+
};
|
|
70
84
|
export type CustomPublisherOptions = {
|
|
71
85
|
releaseDate?: string | null;
|
|
72
86
|
approvalNote?: string | null;
|
|
@@ -296,6 +310,10 @@ export type PublisherSyncSendOptions = {
|
|
|
296
310
|
export type ReferenceByIdModel = {
|
|
297
311
|
id: string;
|
|
298
312
|
};
|
|
313
|
+
export type RemoveTrustedServerResult = {
|
|
314
|
+
removed: boolean;
|
|
315
|
+
message?: string | null;
|
|
316
|
+
};
|
|
299
317
|
export type ServerSyncRequest = {
|
|
300
318
|
servers: Array<string>;
|
|
301
319
|
};
|
|
@@ -332,6 +350,16 @@ export type SyncItem = {
|
|
|
332
350
|
flags: DependencyFlags;
|
|
333
351
|
change: ChangeType;
|
|
334
352
|
};
|
|
353
|
+
export type SyncItemDependencyGroup = {
|
|
354
|
+
alias: string;
|
|
355
|
+
items: Array<SyncItemDependencyView>;
|
|
356
|
+
};
|
|
357
|
+
export type SyncItemDependencyView = {
|
|
358
|
+
name: string;
|
|
359
|
+
udi: string;
|
|
360
|
+
entityType: string;
|
|
361
|
+
key?: string | null;
|
|
362
|
+
};
|
|
335
363
|
export type SyncItemPreviewResponse = {
|
|
336
364
|
key: string;
|
|
337
365
|
handler: string;
|
|
@@ -343,6 +371,20 @@ export type SyncItemPreviewResponse = {
|
|
|
343
371
|
preview?: unknown;
|
|
344
372
|
details: Array<USyncChange>;
|
|
345
373
|
};
|
|
374
|
+
export declare enum SyncItemServerState {
|
|
375
|
+
UP_TO_DATE = "UpToDate",
|
|
376
|
+
DIFFERENT = "Different",
|
|
377
|
+
MISSING = "Missing",
|
|
378
|
+
NOT_SUPPORTED = "NotSupported",
|
|
379
|
+
UNAVAILABLE = "Unavailable"
|
|
380
|
+
}
|
|
381
|
+
export type SyncItemServerStatus = {
|
|
382
|
+
server: string;
|
|
383
|
+
name: string;
|
|
384
|
+
icon?: string | null;
|
|
385
|
+
status: SyncItemServerState;
|
|
386
|
+
canPull: boolean;
|
|
387
|
+
};
|
|
346
388
|
export type SyncLocalItem = {
|
|
347
389
|
id?: string | null;
|
|
348
390
|
name?: string | null;
|
|
@@ -514,6 +556,20 @@ export type SyncVariantInfo = {
|
|
|
514
556
|
name?: string | null;
|
|
515
557
|
published: boolean;
|
|
516
558
|
};
|
|
559
|
+
export type TrustedServerView = {
|
|
560
|
+
name: string;
|
|
561
|
+
appId?: string | null;
|
|
562
|
+
problem?: string | null;
|
|
563
|
+
lastSeen?: string | null;
|
|
564
|
+
isSharedKey: boolean;
|
|
565
|
+
};
|
|
566
|
+
export type TrustedServersView = {
|
|
567
|
+
usesTrustedServers: boolean;
|
|
568
|
+
hasSharedKey: boolean;
|
|
569
|
+
sharedKeyLastSeen?: string | null;
|
|
570
|
+
suggestedSenderAlias?: string | null;
|
|
571
|
+
servers: Array<TrustedServerView>;
|
|
572
|
+
};
|
|
517
573
|
export type UdiModel = {
|
|
518
574
|
readonly uriValue: string;
|
|
519
575
|
readonly entityType: string;
|
|
@@ -600,6 +656,7 @@ export type USyncPublishSettingsView = {
|
|
|
600
656
|
serverName: string;
|
|
601
657
|
serverAlias: string;
|
|
602
658
|
isInList: boolean;
|
|
659
|
+
autoCheckServerStatus: boolean;
|
|
603
660
|
};
|
|
604
661
|
export type USyncPublisherView = {
|
|
605
662
|
name: string;
|
|
@@ -1380,6 +1437,74 @@ export type GetVariantsResponses = {
|
|
|
1380
1437
|
200: Array<SyncPublisherVariantsResult>;
|
|
1381
1438
|
};
|
|
1382
1439
|
export type GetVariantsResponse = GetVariantsResponses[keyof GetVariantsResponses];
|
|
1440
|
+
export type GetItemDependenciesData = {
|
|
1441
|
+
body?: never;
|
|
1442
|
+
path?: never;
|
|
1443
|
+
query?: {
|
|
1444
|
+
entityType?: string;
|
|
1445
|
+
key?: string;
|
|
1446
|
+
};
|
|
1447
|
+
url: '/umbraco/usync/api/v1/Publisher/GetItemDependencies';
|
|
1448
|
+
};
|
|
1449
|
+
export type GetItemDependenciesErrors = {
|
|
1450
|
+
/**
|
|
1451
|
+
* Bad Request
|
|
1452
|
+
*/
|
|
1453
|
+
400: unknown;
|
|
1454
|
+
/**
|
|
1455
|
+
* The resource is protected and requires an authentication token
|
|
1456
|
+
*/
|
|
1457
|
+
401: unknown;
|
|
1458
|
+
/**
|
|
1459
|
+
* Forbidden
|
|
1460
|
+
*/
|
|
1461
|
+
403: unknown;
|
|
1462
|
+
/**
|
|
1463
|
+
* Not Found
|
|
1464
|
+
*/
|
|
1465
|
+
404: unknown;
|
|
1466
|
+
};
|
|
1467
|
+
export type GetItemDependenciesResponses = {
|
|
1468
|
+
/**
|
|
1469
|
+
* OK
|
|
1470
|
+
*/
|
|
1471
|
+
200: Array<SyncItemDependencyGroup>;
|
|
1472
|
+
};
|
|
1473
|
+
export type GetItemDependenciesResponse = GetItemDependenciesResponses[keyof GetItemDependenciesResponses];
|
|
1474
|
+
export type GetItemServerStatusData = {
|
|
1475
|
+
body?: never;
|
|
1476
|
+
path?: never;
|
|
1477
|
+
query?: {
|
|
1478
|
+
entityType?: string;
|
|
1479
|
+
key?: string;
|
|
1480
|
+
};
|
|
1481
|
+
url: '/umbraco/usync/api/v1/Publisher/GetItemServerStatus';
|
|
1482
|
+
};
|
|
1483
|
+
export type GetItemServerStatusErrors = {
|
|
1484
|
+
/**
|
|
1485
|
+
* Bad Request
|
|
1486
|
+
*/
|
|
1487
|
+
400: unknown;
|
|
1488
|
+
/**
|
|
1489
|
+
* The resource is protected and requires an authentication token
|
|
1490
|
+
*/
|
|
1491
|
+
401: unknown;
|
|
1492
|
+
/**
|
|
1493
|
+
* Forbidden
|
|
1494
|
+
*/
|
|
1495
|
+
403: unknown;
|
|
1496
|
+
/**
|
|
1497
|
+
* Not Found
|
|
1498
|
+
*/
|
|
1499
|
+
404: unknown;
|
|
1500
|
+
};
|
|
1501
|
+
export type GetItemServerStatusResponses = {
|
|
1502
|
+
/**
|
|
1503
|
+
* OK
|
|
1504
|
+
*/
|
|
1505
|
+
200: Array<SyncItemServerStatus>;
|
|
1506
|
+
};
|
|
1507
|
+
export type GetItemServerStatusResponse = GetItemServerStatusResponses[keyof GetItemServerStatusResponses];
|
|
1383
1508
|
export type CreateKeysData = {
|
|
1384
1509
|
body?: never;
|
|
1385
1510
|
path?: never;
|
|
@@ -1399,6 +1524,30 @@ export type CreateKeysResponses = {
|
|
|
1399
1524
|
200: AppKeySetupResult;
|
|
1400
1525
|
};
|
|
1401
1526
|
export type CreateKeysResponse = CreateKeysResponses[keyof CreateKeysResponses];
|
|
1527
|
+
export type CreateTrustedServerData = {
|
|
1528
|
+
body?: CreateTrustedServerRequest;
|
|
1529
|
+
path?: never;
|
|
1530
|
+
query?: never;
|
|
1531
|
+
url: '/umbraco/usync/api/v1/Publisher/CreateTrustedServer';
|
|
1532
|
+
};
|
|
1533
|
+
export type CreateTrustedServerErrors = {
|
|
1534
|
+
/**
|
|
1535
|
+
* Bad Request
|
|
1536
|
+
*/
|
|
1537
|
+
400: ProblemDetails;
|
|
1538
|
+
/**
|
|
1539
|
+
* The resource is protected and requires an authentication token
|
|
1540
|
+
*/
|
|
1541
|
+
401: unknown;
|
|
1542
|
+
};
|
|
1543
|
+
export type CreateTrustedServerError = CreateTrustedServerErrors[keyof CreateTrustedServerErrors];
|
|
1544
|
+
export type CreateTrustedServerResponses = {
|
|
1545
|
+
/**
|
|
1546
|
+
* OK
|
|
1547
|
+
*/
|
|
1548
|
+
200: CreateTrustedServerResult;
|
|
1549
|
+
};
|
|
1550
|
+
export type CreateTrustedServerResponse = CreateTrustedServerResponses[keyof CreateTrustedServerResponses];
|
|
1402
1551
|
export type HasKeysData = {
|
|
1403
1552
|
body?: never;
|
|
1404
1553
|
path?: never;
|
|
@@ -1437,6 +1586,46 @@ export type SaveKeysResponses = {
|
|
|
1437
1586
|
200: boolean;
|
|
1438
1587
|
};
|
|
1439
1588
|
export type SaveKeysResponse = SaveKeysResponses[keyof SaveKeysResponses];
|
|
1589
|
+
export type RemoveTrustedServerData = {
|
|
1590
|
+
body?: never;
|
|
1591
|
+
path?: never;
|
|
1592
|
+
query?: {
|
|
1593
|
+
name?: string;
|
|
1594
|
+
};
|
|
1595
|
+
url: '/umbraco/usync/api/v1/Publisher/TrustedServer';
|
|
1596
|
+
};
|
|
1597
|
+
export type RemoveTrustedServerErrors = {
|
|
1598
|
+
/**
|
|
1599
|
+
* The resource is protected and requires an authentication token
|
|
1600
|
+
*/
|
|
1601
|
+
401: unknown;
|
|
1602
|
+
};
|
|
1603
|
+
export type RemoveTrustedServerResponses = {
|
|
1604
|
+
/**
|
|
1605
|
+
* OK
|
|
1606
|
+
*/
|
|
1607
|
+
200: RemoveTrustedServerResult;
|
|
1608
|
+
};
|
|
1609
|
+
export type RemoveTrustedServerResponse = RemoveTrustedServerResponses[keyof RemoveTrustedServerResponses];
|
|
1610
|
+
export type GetTrustedServersData = {
|
|
1611
|
+
body?: never;
|
|
1612
|
+
path?: never;
|
|
1613
|
+
query?: never;
|
|
1614
|
+
url: '/umbraco/usync/api/v1/Publisher/TrustedServers';
|
|
1615
|
+
};
|
|
1616
|
+
export type GetTrustedServersErrors = {
|
|
1617
|
+
/**
|
|
1618
|
+
* The resource is protected and requires an authentication token
|
|
1619
|
+
*/
|
|
1620
|
+
401: unknown;
|
|
1621
|
+
};
|
|
1622
|
+
export type GetTrustedServersResponses = {
|
|
1623
|
+
/**
|
|
1624
|
+
* OK
|
|
1625
|
+
*/
|
|
1626
|
+
200: TrustedServersView;
|
|
1627
|
+
};
|
|
1628
|
+
export type GetTrustedServersResponse = GetTrustedServersResponses[keyof GetTrustedServersResponses];
|
|
1440
1629
|
export type GetPublisherData = {
|
|
1441
1630
|
body?: never;
|
|
1442
1631
|
path?: never;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
2
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
3
|
+
/**
|
|
4
|
+
* the dependencies a push of an item would include, in their own box on its info tab.
|
|
5
|
+
*
|
|
6
|
+
* only for users with the uSync tree (settings or uSync section) - for anyone else the box
|
|
7
|
+
* isn't shown. nothing is fetched until the user asks (load), as the check can be slow on a
|
|
8
|
+
* big item; once loaded, the button reloads them.
|
|
9
|
+
*/
|
|
10
|
+
export declare class uSyncPublisherDependenciesInfoAppElement extends UmbLitElement {
|
|
11
|
+
#private;
|
|
12
|
+
private _entityType?;
|
|
13
|
+
private _unique?;
|
|
14
|
+
private _loading;
|
|
15
|
+
private _failed;
|
|
16
|
+
private _groups?;
|
|
17
|
+
private _expanded;
|
|
18
|
+
private _hasTreeAccess;
|
|
19
|
+
private _workspaceRouteBuilder?;
|
|
20
|
+
constructor();
|
|
21
|
+
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
22
|
+
static styles: import("lit").CSSResult;
|
|
23
|
+
}
|
|
24
|
+
export default uSyncPublisherDependenciesInfoAppElement;
|
|
25
|
+
declare global {
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
'usync-publisher-dependencies-info-app': uSyncPublisherDependenciesInfoAppElement;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
2
|
+
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
3
|
+
export declare class SyncPublisherDependenciesRepository extends UmbControllerBase {
|
|
4
|
+
#private;
|
|
5
|
+
constructor(host: UmbControllerHost);
|
|
6
|
+
/**
|
|
7
|
+
* the whole result (not just the data), so the panel can tell a failure from no dependencies.
|
|
8
|
+
*/
|
|
9
|
+
getItemDependencies(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
10
|
+
data: import("../api").SyncItemDependencyGroup[];
|
|
11
|
+
request: Request;
|
|
12
|
+
response: Response;
|
|
13
|
+
}>>;
|
|
14
|
+
/**
|
|
15
|
+
* the whole result, so the panel can tell a failure from no servers.
|
|
16
|
+
*/
|
|
17
|
+
getItemServerStatus(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
18
|
+
data: import("../api").SyncItemServerStatus[];
|
|
19
|
+
request: Request;
|
|
20
|
+
response: Response;
|
|
21
|
+
}>>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
2
|
+
export declare class SyncPublisherDependenciesSource {
|
|
3
|
+
#private;
|
|
4
|
+
constructor(host: UmbControllerHost);
|
|
5
|
+
/**
|
|
6
|
+
* the dependencies a push of an item would include, grouped by type.
|
|
7
|
+
* the info panel shows its own error, so there's no notification.
|
|
8
|
+
*/
|
|
9
|
+
getItemDependencies(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
10
|
+
data: import("../api").SyncItemDependencyGroup[];
|
|
11
|
+
request: Request;
|
|
12
|
+
response: Response;
|
|
13
|
+
}>>;
|
|
14
|
+
/**
|
|
15
|
+
* the item's status on each server the user can push to.
|
|
16
|
+
* the info panel shows its own error, so there's no notification.
|
|
17
|
+
*/
|
|
18
|
+
getItemServerStatus(entityType: string, key: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
19
|
+
data: import("../api").SyncItemServerStatus[];
|
|
20
|
+
request: Request;
|
|
21
|
+
response: Response;
|
|
22
|
+
}>>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const manifests: UmbExtensionManifest[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
/**
|
|
3
|
+
* the publisher box on a document or media item's info tab: how the item compares with each
|
|
4
|
+
* server, with the compare, push and pull from there.
|
|
5
|
+
*
|
|
6
|
+
* the check runs on the check button, or when the info tab opens if AutoCheckServerStatus is
|
|
7
|
+
* turned on in the publisher config (the box only exists while the tab is open).
|
|
8
|
+
*/
|
|
9
|
+
export declare class uSyncPublisherServerStatusInfoAppElement extends UmbLitElement {
|
|
10
|
+
#private;
|
|
11
|
+
private _entityType?;
|
|
12
|
+
private _unique?;
|
|
13
|
+
private _loading;
|
|
14
|
+
private _failed;
|
|
15
|
+
private _statuses?;
|
|
16
|
+
constructor();
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
static styles: import("lit").CSSResult;
|
|
19
|
+
}
|
|
20
|
+
export default uSyncPublisherServerStatusInfoAppElement;
|
|
21
|
+
declare global {
|
|
22
|
+
interface HTMLElementTagNameMap {
|
|
23
|
+
'usync-publisher-server-status-info-app': uSyncPublisherServerStatusInfoAppElement;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -58,9 +58,20 @@ declare const _default: {
|
|
|
58
58
|
includeSharedDescription: string;
|
|
59
59
|
sharedNotComparedHint: string;
|
|
60
60
|
readOnlyFilesHint: string;
|
|
61
|
+
compiledViewsHint: string;
|
|
61
62
|
noLangWarning: string;
|
|
62
63
|
advanced: string;
|
|
63
64
|
sync: string;
|
|
65
|
+
syncCheck: string;
|
|
66
|
+
syncCheckDescription: string;
|
|
67
|
+
syncCheckInSyncTitle: (pull: boolean) => "Nothing to pull" | "Nothing to push";
|
|
68
|
+
syncCheckInSync: (server: string, pull: boolean) => string;
|
|
69
|
+
syncCheckOutOfSyncTitle: (pull: boolean) => "Changes to pull" | "Changes to push";
|
|
70
|
+
syncCheckOutOfSync: (changes: number, server: string, pull: boolean) => string;
|
|
71
|
+
syncCheckShowChanges: string;
|
|
72
|
+
syncCheckChangesTitle: (server: string, pull: boolean) => string;
|
|
73
|
+
syncCheckFailedTitle: string;
|
|
74
|
+
syncCheckFailed: string;
|
|
64
75
|
uiSettings: string;
|
|
65
76
|
uiSettingsNote: string;
|
|
66
77
|
syncButtons: string;
|
|
@@ -225,6 +236,7 @@ declare const _default: {
|
|
|
225
236
|
restorePrompt: string;
|
|
226
237
|
restorePromptDesc: string;
|
|
227
238
|
ReadOnlyFiles: string;
|
|
239
|
+
CompiledViews: string;
|
|
228
240
|
ILanguage: string;
|
|
229
241
|
IDictionaryItem: string;
|
|
230
242
|
IDataType: string;
|
|
@@ -248,6 +260,7 @@ declare const _default: {
|
|
|
248
260
|
MediaFile: string;
|
|
249
261
|
EntityContainer: string;
|
|
250
262
|
PublicAccessEntry: string;
|
|
263
|
+
ItemRelations: string;
|
|
251
264
|
XElement: string;
|
|
252
265
|
seed: string;
|
|
253
266
|
seedDisabled: string;
|
|
@@ -324,6 +337,64 @@ declare const _default: {
|
|
|
324
337
|
detailViewNew: string;
|
|
325
338
|
detailViewChanges: string;
|
|
326
339
|
detailViewChangeSinlge: string;
|
|
340
|
+
publisherHeadline: string;
|
|
341
|
+
dependenciesHeadline: string;
|
|
342
|
+
dependenciesLoad: string;
|
|
343
|
+
dependenciesReload: string;
|
|
344
|
+
dependenciesLoading: string;
|
|
345
|
+
dependenciesNone: string;
|
|
346
|
+
dependenciesError: string;
|
|
347
|
+
dependenciesGroupDocumentType: string;
|
|
348
|
+
dependenciesGroupDataType: string;
|
|
349
|
+
dependenciesGroupMedia: string;
|
|
350
|
+
dependenciesGroupContent: string;
|
|
351
|
+
dependenciesGroupOther: string;
|
|
352
|
+
serverStatusCheck: string;
|
|
353
|
+
serverStatusCompare: string;
|
|
354
|
+
serverStatusView: string;
|
|
355
|
+
serverStatusActions: string;
|
|
356
|
+
serverStatusLoading: string;
|
|
357
|
+
serverStatusNone: string;
|
|
358
|
+
serverStatusError: string;
|
|
359
|
+
serverStatusUpToDate: string;
|
|
360
|
+
serverStatusDifferent: string;
|
|
361
|
+
serverStatusMissing: string;
|
|
362
|
+
serverStatusNotSupported: string;
|
|
363
|
+
serverStatusUnavailable: string;
|
|
364
|
+
trustedServers: string;
|
|
365
|
+
trustedServersTab: string;
|
|
366
|
+
trustedServersIntro: string;
|
|
367
|
+
trustedServersOpen: string;
|
|
368
|
+
trustedServersOpenNoKey: string;
|
|
369
|
+
trustedServersLocked: string;
|
|
370
|
+
trustedServersSharedLastSeen: string;
|
|
371
|
+
trustedServersNone: string;
|
|
372
|
+
trustedServerName: string;
|
|
373
|
+
trustedServerAppId: string;
|
|
374
|
+
trustedServerLastSeen: string;
|
|
375
|
+
trustedServerNotSeen: string;
|
|
376
|
+
trustedServerSharedKey: string;
|
|
377
|
+
trustedServerSharedKeyHint: string;
|
|
378
|
+
trustedServerNotUsable: string;
|
|
379
|
+
trustedServerAdd: string;
|
|
380
|
+
trustedServerRemove: string;
|
|
381
|
+
trustedServerRemoveConfirm: string;
|
|
382
|
+
trustedServerRemoveSharedConfirm: string;
|
|
383
|
+
trustedServerRemoveLastConfirm: string;
|
|
384
|
+
trustedServerRemoved: string;
|
|
385
|
+
trustedServerAddDescription: string;
|
|
386
|
+
trustedServerNameDescription: string;
|
|
387
|
+
trustedServerSenderAlias: string;
|
|
388
|
+
trustedServerSenderAliasDescription: string;
|
|
389
|
+
trustedServerKeepShared: string;
|
|
390
|
+
trustedServerKeepSharedDescription: string;
|
|
391
|
+
trustedServerCreate: string;
|
|
392
|
+
trustedServerCreatedTitle: string;
|
|
393
|
+
trustedServerKeyOnce: string;
|
|
394
|
+
trustedServerSenderConfig: string;
|
|
395
|
+
trustedServerSenderEnvironment: string;
|
|
396
|
+
trustedServerSavedHere: string;
|
|
397
|
+
trustedServerNotSavedHere: string;
|
|
327
398
|
};
|
|
328
399
|
};
|
|
329
400
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const USYNC_PUBLISHER_ADD_SERVER_MODAL_ALIAS = "usync.publisher.add.server.modal";
|
|
2
2
|
export declare const USYNC_PUBLISHER_CONNECTED_SERVER_MODEL_ALIAS = "usync.publisher.connected.server.modal";
|
|
3
|
+
export declare const USYNC_PUBLISHER_ADD_TRUSTED_SERVER_MODAL_ALIAS = "usync.publisher.add.trusted.server.modal";
|
|
3
4
|
export declare const USYNC_PUBLISHER_GENERATE_KEY_MODAL_ALIAS = "usync.publisher.generate.key.modal";
|
|
4
5
|
export declare const USYNC_PUBLISHER_SERVER_JSON_MODAL_ALIAS = "usync.publisher.server.json.modal";
|
|
5
6
|
export declare const USYNC_PUBLISHER_SYNC_SERVERS_MODAL_ALIAS = "usync.publisher.sync.servers.modal";
|
|
7
|
+
export declare const USYNC_PUBLISHER_SYNC_CHECK_CHANGES_MODAL_ALIAS = "usync.publisher.sync.check.changes.modal";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
import { SyncPublisherAddTrustedServerData, SyncPublisherAddTrustedServerValue } from './add-trusted-server.modal-token';
|
|
3
|
+
/**
|
|
4
|
+
* adds a trusted server: asks for its name, has this server make a key for it, and shows the
|
|
5
|
+
* sending server's config once. The key is never fetched again, so the result only lives here.
|
|
6
|
+
*/
|
|
7
|
+
export declare class uSyncPublisherAddTrustedServerModalElement extends UmbModalBaseElement<SyncPublisherAddTrustedServerData, SyncPublisherAddTrustedServerValue> {
|
|
8
|
+
#private;
|
|
9
|
+
private _name;
|
|
10
|
+
private _senderAlias;
|
|
11
|
+
private _keepSharedKey;
|
|
12
|
+
private _working;
|
|
13
|
+
private _result?;
|
|
14
|
+
private _error?;
|
|
15
|
+
constructor();
|
|
16
|
+
connectedCallback(): void;
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
static styles: import("lit").CSSResult;
|
|
19
|
+
}
|
|
20
|
+
export default uSyncPublisherAddTrustedServerModalElement;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
export type SyncPublisherAddTrustedServerData = {
|
|
3
|
+
/** the alias this server most likely has on the sending server */
|
|
4
|
+
senderAlias?: string | null;
|
|
5
|
+
/** offer to keep the shared key (only when this is the first trusted server) */
|
|
6
|
+
offerKeepSharedKey: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type SyncPublisherAddTrustedServerValue = {
|
|
9
|
+
/** a trusted server was created, so the list needs reloading */
|
|
10
|
+
created: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const USYNC_PUBLISHER_ADD_TRUSTED_SERVER_MODAL: UmbModalToken<SyncPublisherAddTrustedServerData, SyncPublisherAddTrustedServerValue>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UmbModalBaseElement } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
import { SyncPublisherSyncCheckChangesData, SyncPublisherSyncCheckChangesValue } from './sync-check-changes.modal-token';
|
|
3
|
+
/**
|
|
4
|
+
* @description shows the differences a sync check found, in a sidebar so
|
|
5
|
+
* the sync view underneath keeps its layout.
|
|
6
|
+
*/
|
|
7
|
+
export declare class uSyncPublisherSyncCheckChangesModalElement extends UmbModalBaseElement<SyncPublisherSyncCheckChangesData, SyncPublisherSyncCheckChangesValue> {
|
|
8
|
+
#private;
|
|
9
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
export default uSyncPublisherSyncCheckChangesModalElement;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
|
|
2
|
+
import { USyncActionView } from '../../api';
|
|
3
|
+
export type SyncPublisherSyncCheckChangesData = {
|
|
4
|
+
/** server alias, used by the report to fetch item details */
|
|
5
|
+
server: string;
|
|
6
|
+
/** server name, for the headline */
|
|
7
|
+
serverName: string;
|
|
8
|
+
pull: boolean;
|
|
9
|
+
actions: USyncActionView[];
|
|
10
|
+
};
|
|
11
|
+
export type SyncPublisherSyncCheckChangesValue = {};
|
|
12
|
+
export declare const USYNC_PUBLISHER_SYNC_CHECK_CHANGES_MODAL: UmbModalToken<SyncPublisherSyncCheckChangesData, SyncPublisherSyncCheckChangesValue>;
|
|
@@ -2,7 +2,7 @@ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
|
2
2
|
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
3
3
|
import { UmbContextToken } from '@umbraco-cms/backoffice/context-api';
|
|
4
4
|
import { PublishMode, SyncPublishServerView, SyncServerTemplateModel, USyncPublishServerStatus } from '../api';
|
|
5
|
-
import { USyncPublisherView } from '../api';
|
|
5
|
+
import { CreateTrustedServerRequest, USyncPublisherView } from '../api';
|
|
6
6
|
/**
|
|
7
7
|
* Context for getting and interacting with servers via uSyncPublisher
|
|
8
8
|
* @abstract the servers context, lets you get and interrigate uSync.Publisher servers
|
|
@@ -94,6 +94,20 @@ export declare class SyncPublisherServersContext extends UmbControllerBase {
|
|
|
94
94
|
* save an appid and appkey in the config.
|
|
95
95
|
*/
|
|
96
96
|
saveKeys(appId: string, appKey: string): Promise<boolean>;
|
|
97
|
+
/**
|
|
98
|
+
* the servers this one accepts incoming requests from (never includes keys).
|
|
99
|
+
*/
|
|
100
|
+
getTrustedServers(): Promise<import("../api").TrustedServersView>;
|
|
101
|
+
/**
|
|
102
|
+
* add a trusted server. The result holds its key, which isn't available again; the error
|
|
103
|
+
* holds the reason when the server refuses (it shows no notification for it).
|
|
104
|
+
*/
|
|
105
|
+
createTrustedServer(request: CreateTrustedServerRequest): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
106
|
+
data: import("../api").CreateTrustedServerResult;
|
|
107
|
+
request: Request;
|
|
108
|
+
response: Response;
|
|
109
|
+
}>>;
|
|
110
|
+
removeTrustedServer(name: string): Promise<import("../api").RemoveTrustedServerResult>;
|
|
97
111
|
}
|
|
98
112
|
export default SyncPublisherServersContext;
|
|
99
113
|
export declare const USYNC_PUBLISHER_SERVER_CONTEXT: UmbContextToken<SyncPublisherServersContext, SyncPublisherServersContext>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
2
2
|
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
3
|
-
import { SyncPublishServerCopyView, SyncPublishServerView, PublishMode } from '../api';
|
|
3
|
+
import { CreateTrustedServerRequest, SyncPublishServerCopyView, SyncPublishServerView, PublishMode } from '../api';
|
|
4
4
|
export declare class SyncPublisherServersRepository extends UmbControllerBase {
|
|
5
5
|
#private;
|
|
6
6
|
constructor(host: UmbControllerHost);
|
|
@@ -24,4 +24,12 @@ export declare class SyncPublisherServersRepository extends UmbControllerBase {
|
|
|
24
24
|
createKeys(): Promise<import("../api").AppKeySetupResult>;
|
|
25
25
|
saveKeys(appId: string, appKey: string): Promise<boolean>;
|
|
26
26
|
getCurrentServer(): Promise<SyncPublishServerView>;
|
|
27
|
+
getTrustedServers(): Promise<import("../api").TrustedServersView>;
|
|
28
|
+
/** returns the error too: it carries the reason the server gave for refusing. */
|
|
29
|
+
createTrustedServer(request: CreateTrustedServerRequest): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
30
|
+
data: import("../api").CreateTrustedServerResult;
|
|
31
|
+
request: Request;
|
|
32
|
+
response: Response;
|
|
33
|
+
}>>;
|
|
34
|
+
removeTrustedServer(name: string): Promise<import("../api").RemoveTrustedServerResult>;
|
|
27
35
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
|
|
2
|
-
import { AppKeyView, SyncPublishAvailableServerRequest, SyncPublishServerCopyView, SyncPublishServerView } from '../api';
|
|
2
|
+
import { AppKeyView, CreateTrustedServerRequest, SyncPublishAvailableServerRequest, SyncPublishServerCopyView, SyncPublishServerView } from '../api';
|
|
3
3
|
export declare class SyncPublisherServersSource {
|
|
4
4
|
#private;
|
|
5
5
|
constructor(host: UmbControllerHost);
|
|
@@ -105,4 +105,19 @@ export declare class SyncPublisherServersSource {
|
|
|
105
105
|
request: Request;
|
|
106
106
|
response: Response;
|
|
107
107
|
}>>;
|
|
108
|
+
getTrustedServers(): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
109
|
+
data: import("../api").TrustedServersView;
|
|
110
|
+
request: Request;
|
|
111
|
+
response: Response;
|
|
112
|
+
}>>;
|
|
113
|
+
createTrustedServer(request: CreateTrustedServerRequest): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
114
|
+
data: import("../api").CreateTrustedServerResult;
|
|
115
|
+
request: Request;
|
|
116
|
+
response: Response;
|
|
117
|
+
}>>;
|
|
118
|
+
removeTrustedServer(name: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
|
|
119
|
+
data: import("../api").RemoveTrustedServerResult;
|
|
120
|
+
request: Request;
|
|
121
|
+
response: Response;
|
|
122
|
+
}>>;
|
|
108
123
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
|
|
2
|
+
import { PublishMode, USyncActionView } from '../../../../api';
|
|
3
|
+
export type uSyncPublisherSyncCheckResult = {
|
|
4
|
+
status: 'inSync';
|
|
5
|
+
mode: PublishMode;
|
|
6
|
+
} | {
|
|
7
|
+
status: 'outOfSync';
|
|
8
|
+
mode: PublishMode;
|
|
9
|
+
changes: number;
|
|
10
|
+
actions: USyncActionView[];
|
|
11
|
+
} | {
|
|
12
|
+
status: 'failed';
|
|
13
|
+
mode: PublishMode;
|
|
14
|
+
message?: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* runs a settings pull (or push) against a server as far as the report, reads the
|
|
18
|
+
* change count and then clears the run - the same as cancelling the dialog at the
|
|
19
|
+
* report. Nothing is ever imported: the driver stops at the report step.
|
|
20
|
+
*/
|
|
21
|
+
export declare class uSyncPublisherSyncCheckController extends UmbControllerBase {
|
|
22
|
+
#private;
|
|
23
|
+
check(server: string, mode: PublishMode, udis: string[]): Promise<uSyncPublisherSyncCheckResult>;
|
|
24
|
+
}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
|
+
import { nothing } from '@umbraco-cms/backoffice/external/lit';
|
|
1
2
|
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
3
|
import { SyncPublishServerView } from '../../../../api';
|
|
4
|
+
import { UUIButtonState } from '@umbraco-cms/backoffice/external/uui';
|
|
5
|
+
import { uSyncPublisherSyncCheckResult } from '../components/sync-check.controller';
|
|
3
6
|
export declare class uSyncPublisherServerSyncElement extends UmbLitElement {
|
|
4
7
|
#private;
|
|
5
8
|
data?: SyncPublishServerView;
|
|
6
9
|
_selectedEntities: string[];
|
|
10
|
+
_checkState?: UUIButtonState;
|
|
11
|
+
_checkResult?: uSyncPublisherSyncCheckResult;
|
|
7
12
|
constructor();
|
|
8
13
|
render(): import("lit-html").TemplateResult<1>;
|
|
14
|
+
renderCheckButton(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
15
|
+
renderCheckResult(result: uSyncPublisherSyncCheckResult): import("lit-html").TemplateResult<1>;
|
|
9
16
|
renderButtons(): import("lit-html").TemplateResult<1>;
|
|
10
17
|
static styles: import("lit").CSSResult[];
|
|
11
18
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UmbLitElement } from '@umbraco-cms/backoffice/lit-element';
|
|
2
|
+
/**
|
|
3
|
+
* the servers this one accepts incoming requests from. Adding the first one locks the server
|
|
4
|
+
* down to that list; removing the last one opens it back up to the shared key.
|
|
5
|
+
*/
|
|
6
|
+
export declare class uSyncPublisherServerRootTrustedElement extends UmbLitElement {
|
|
7
|
+
#private;
|
|
8
|
+
private _view?;
|
|
9
|
+
constructor();
|
|
10
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
11
|
+
static styles: import("lit").CSSResult;
|
|
12
|
+
}
|
|
13
|
+
export default uSyncPublisherServerRootTrustedElement;
|
|
@@ -24,6 +24,12 @@ export declare class SyncPublishReportStepElement extends ProcessStepElementBase
|
|
|
24
24
|
*/
|
|
25
25
|
private filesAreReadOnly;
|
|
26
26
|
renderReadOnlyFilesHint(): import("lit-html").TemplateResult<1>;
|
|
27
|
+
/**
|
|
28
|
+
* a site with its views compiled into its build renders those, not view files,
|
|
29
|
+
* so it reports that view files differ instead of listing them as changes.
|
|
30
|
+
*/
|
|
31
|
+
private viewsAreCompiled;
|
|
32
|
+
renderCompiledViewsHint(): import("lit-html").TemplateResult<1>;
|
|
27
33
|
renderApprovalNote(): import("lit-html").TemplateResult<1>;
|
|
28
34
|
renderRestorePointOption(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
29
35
|
static styles: import("lit").CSSResult;
|