@jumoo/usync-expansions 0.0.0-stage → 17.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist/api/client/client.gen.d.ts +2 -0
  2. package/dist/api/client/client.gen.js +235 -0
  3. package/dist/api/client/index.d.ts +8 -0
  4. package/dist/api/client/index.js +6 -0
  5. package/dist/api/client/types.gen.d.ts +117 -0
  6. package/dist/api/client/types.gen.js +2 -0
  7. package/dist/api/client/utils.gen.d.ts +33 -0
  8. package/dist/api/client/utils.gen.js +230 -0
  9. package/dist/api/client.gen.d.ts +12 -0
  10. package/dist/api/client.gen.js +4 -0
  11. package/dist/api/core/auth.gen.d.ts +18 -0
  12. package/dist/api/core/auth.gen.js +14 -0
  13. package/dist/api/core/bodySerializer.gen.d.ts +25 -0
  14. package/dist/api/core/bodySerializer.gen.js +57 -0
  15. package/dist/api/core/params.gen.d.ts +43 -0
  16. package/dist/api/core/params.gen.js +100 -0
  17. package/dist/api/core/pathSerializer.gen.d.ts +33 -0
  18. package/dist/api/core/pathSerializer.gen.js +106 -0
  19. package/dist/api/core/queryKeySerializer.gen.d.ts +18 -0
  20. package/dist/api/core/queryKeySerializer.gen.js +92 -0
  21. package/dist/api/core/serverSentEvents.gen.d.ts +71 -0
  22. package/dist/api/core/serverSentEvents.gen.js +133 -0
  23. package/dist/api/core/types.gen.d.ts +78 -0
  24. package/dist/api/core/types.gen.js +2 -0
  25. package/dist/api/core/utils.gen.d.ts +19 -0
  26. package/dist/api/core/utils.gen.js +87 -0
  27. package/dist/api/index.d.ts +3 -0
  28. package/dist/api/index.js +4 -0
  29. package/dist/api/sdk.gen.d.ts +37 -0
  30. package/dist/api/sdk.gen.js +112 -0
  31. package/dist/api/types.gen.d.ts +1251 -0
  32. package/dist/api/types.gen.js +255 -0
  33. package/dist/background/background-cancel.controller.d.ts +16 -0
  34. package/dist/background/background-cancel.controller.js +83 -0
  35. package/dist/background/background-pipeline.repository.d.ts +18 -0
  36. package/dist/background/background-pipeline.repository.js +33 -0
  37. package/dist/background/components/constants.d.ts +5 -0
  38. package/dist/background/components/constants.js +5 -0
  39. package/dist/background/components/index.d.ts +5 -0
  40. package/dist/background/components/index.js +5 -0
  41. package/dist/background/components/pending-list.element.d.ts +18 -0
  42. package/dist/background/components/pending-list.element.js +69 -0
  43. package/dist/background/components/pipelines-table.element.d.ts +15 -0
  44. package/dist/background/components/pipelines-table.element.js +60 -0
  45. package/dist/background/components/process-list.element.d.ts +10 -0
  46. package/dist/background/components/process-list.element.js +69 -0
  47. package/dist/background/components/queue-table.element.d.ts +15 -0
  48. package/dist/background/components/queue-table.element.js +50 -0
  49. package/dist/background/index.d.ts +1 -0
  50. package/dist/background/index.js +1 -0
  51. package/dist/background/manifest.d.ts +1 -0
  52. package/dist/background/manifest.js +24 -0
  53. package/dist/background/workspace/background-workspace-element.d.ts +10 -0
  54. package/dist/background/workspace/background-workspace-element.js +71 -0
  55. package/dist/components/index.d.ts +2 -0
  56. package/dist/components/index.js +2 -0
  57. package/dist/components/report-summary-view.d.ts +23 -0
  58. package/dist/components/report-summary-view.js +199 -0
  59. package/dist/components/usync-property-layout.d.ts +17 -0
  60. package/dist/components/usync-property-layout.js +159 -0
  61. package/dist/exports.d.ts +6 -0
  62. package/dist/exports.js +6 -0
  63. package/dist/hey-api.d.ts +11 -0
  64. package/dist/hey-api.js +14 -0
  65. package/dist/index.d.ts +5 -0
  66. package/dist/index.js +19 -0
  67. package/dist/items/index.d.ts +2 -0
  68. package/dist/items/index.js +2 -0
  69. package/dist/items/manifests.d.ts +1 -0
  70. package/dist/items/manifests.js +7 -0
  71. package/dist/items/sync-item.context.d.ts +10 -0
  72. package/dist/items/sync-item.context.js +29 -0
  73. package/dist/items/sync-item.repository.d.ts +17 -0
  74. package/dist/items/sync-item.repository.js +37 -0
  75. package/dist/lang/en.d.ts +30 -0
  76. package/dist/lang/en.js +29 -0
  77. package/dist/lang/manifest.d.ts +1 -0
  78. package/dist/lang/manifest.js +11 -0
  79. package/dist/licence/components/index.d.ts +2 -0
  80. package/dist/licence/components/index.js +2 -0
  81. package/dist/licence/components/licence-notice.d.ts +10 -0
  82. package/dist/licence/components/licence-notice.js +55 -0
  83. package/dist/licence/components/licence-status.view.d.ts +14 -0
  84. package/dist/licence/components/licence-status.view.js +50 -0
  85. package/dist/licence/components/styles.d.ts +1 -0
  86. package/dist/licence/components/styles.js +41 -0
  87. package/dist/licence/index.d.ts +5 -0
  88. package/dist/licence/index.js +5 -0
  89. package/dist/licence/lang/en.d.ts +17 -0
  90. package/dist/licence/lang/en.js +17 -0
  91. package/dist/licence/lang/manifests.d.ts +1 -0
  92. package/dist/licence/lang/manifests.js +13 -0
  93. package/dist/licence/licence.context.d.ts +17 -0
  94. package/dist/licence/licence.context.js +66 -0
  95. package/dist/licence/licence.element.d.ts +19 -0
  96. package/dist/licence/licence.element.js +270 -0
  97. package/dist/licence/licence.repository.d.ts +15 -0
  98. package/dist/licence/licence.repository.js +42 -0
  99. package/dist/licence/manifest.d.ts +2 -0
  100. package/dist/licence/manifest.js +31 -0
  101. package/dist/licence/source/licence.source.d.ts +15 -0
  102. package/dist/licence/source/licence.source.js +39 -0
  103. package/dist/menu/manifest.d.ts +1 -0
  104. package/dist/menu/manifest.js +12 -0
  105. package/dist/restore/components/index.d.ts +1 -0
  106. package/dist/restore/components/index.js +1 -0
  107. package/dist/restore/components/restore-point-table.element.d.ts +21 -0
  108. package/dist/restore/components/restore-point-table.element.js +126 -0
  109. package/dist/restore/constants.d.ts +23 -0
  110. package/dist/restore/constants.js +30 -0
  111. package/dist/restore/index.d.ts +7 -0
  112. package/dist/restore/index.js +7 -0
  113. package/dist/restore/lang/en.d.ts +23 -0
  114. package/dist/restore/lang/en.js +33 -0
  115. package/dist/restore/lang/manifest.d.ts +1 -0
  116. package/dist/restore/lang/manifest.js +11 -0
  117. package/dist/restore/manifest.d.ts +1 -0
  118. package/dist/restore/manifest.js +63 -0
  119. package/dist/restore/restore.context.d.ts +10 -0
  120. package/dist/restore/restore.context.js +29 -0
  121. package/dist/restore/restore.repository.d.ts +15 -0
  122. package/dist/restore/restore.repository.js +43 -0
  123. package/dist/restore/steps/manifest.d.ts +1 -0
  124. package/dist/restore/steps/manifest.js +36 -0
  125. package/dist/restore/steps/restore-create-complete.d.ts +6 -0
  126. package/dist/restore/steps/restore-create-complete.js +33 -0
  127. package/dist/restore/steps/restore-create-element.d.ts +9 -0
  128. package/dist/restore/steps/restore-create-element.js +97 -0
  129. package/dist/restore/steps/restore-report-config-element.d.ts +14 -0
  130. package/dist/restore/steps/restore-report-config-element.js +105 -0
  131. package/dist/restore/steps/restore-report-element.d.ts +6 -0
  132. package/dist/restore/steps/restore-report-element.js +39 -0
  133. package/dist/restore/workspace/restore.workspace-view.element.d.ts +24 -0
  134. package/dist/restore/workspace/restore.workspace-view.element.js +195 -0
  135. package/dist/restore/workspace/restore.workspace.context.d.ts +17 -0
  136. package/dist/restore/workspace/restore.workspace.context.js +52 -0
  137. package/dist/restore/workspace/restore.workspace.element.d.ts +12 -0
  138. package/dist/restore/workspace/restore.workspace.element.js +91 -0
  139. package/package.json +54 -6
  140. package/README.md +0 -3
@@ -0,0 +1,255 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export var CallingConventions;
3
+ (function (CallingConventions) {
4
+ CallingConventions["STANDARD"] = "Standard";
5
+ CallingConventions["VAR_ARGS"] = "VarArgs";
6
+ CallingConventions["ANY"] = "Any";
7
+ CallingConventions["HAS_THIS"] = "HasThis";
8
+ CallingConventions["EXPLICIT_THIS"] = "ExplicitThis";
9
+ })(CallingConventions || (CallingConventions = {}));
10
+ export var ChangeDetailType;
11
+ (function (ChangeDetailType) {
12
+ ChangeDetailType["NO_CHANGE"] = "NoChange";
13
+ ChangeDetailType["CREATE"] = "Create";
14
+ ChangeDetailType["UPDATE"] = "Update";
15
+ ChangeDetailType["DELETE"] = "Delete";
16
+ ChangeDetailType["ERROR"] = "Error";
17
+ ChangeDetailType["WARNING"] = "Warning";
18
+ })(ChangeDetailType || (ChangeDetailType = {}));
19
+ export var ChangeType;
20
+ (function (ChangeType) {
21
+ ChangeType["NO_CHANGE"] = "NoChange";
22
+ ChangeType["CREATE"] = "Create";
23
+ ChangeType["IMPORT"] = "Import";
24
+ ChangeType["EXPORT"] = "Export";
25
+ ChangeType["UPDATE"] = "Update";
26
+ ChangeType["DELETE"] = "Delete";
27
+ ChangeType["WILL_CHANGE"] = "WillChange";
28
+ ChangeType["INFORMATION"] = "Information";
29
+ ChangeType["ROLLEDBACK"] = "Rolledback";
30
+ ChangeType["FAIL"] = "Fail";
31
+ ChangeType["IMPORT_FAIL"] = "ImportFail";
32
+ ChangeType["MISMATCH"] = "Mismatch";
33
+ ChangeType["PARENT_MISSING"] = "ParentMissing";
34
+ ChangeType["HIDDEN"] = "Hidden";
35
+ ChangeType["CLEAN"] = "Clean";
36
+ ChangeType["REMOVED"] = "Removed";
37
+ })(ChangeType || (ChangeType = {}));
38
+ export var DependencyFlags;
39
+ (function (DependencyFlags) {
40
+ DependencyFlags["NONE"] = "None";
41
+ DependencyFlags["INCLUDE_CHILDREN"] = "IncludeChildren";
42
+ DependencyFlags["INCLUDE_ANCESTORS"] = "IncludeAncestors";
43
+ DependencyFlags["INCLUDE_DEPENDENCIES"] = "IncludeDependencies";
44
+ DependencyFlags["INCLUDE_VIEWS"] = "IncludeViews";
45
+ DependencyFlags["INCLUDE_MEDIA"] = "IncludeMedia";
46
+ DependencyFlags["INCLUDE_LINKED"] = "IncludeLinked";
47
+ DependencyFlags["INCLUDE_MEDIA_FILES"] = "IncludeMediaFiles";
48
+ DependencyFlags["INCLUDE_CONFIG"] = "IncludeConfig";
49
+ DependencyFlags["ADJACENT_ONLY"] = "AdjacentOnly";
50
+ DependencyFlags["ROOT_SYNC"] = "RootSync";
51
+ DependencyFlags["INCLUDE_CONTENTS"] = "IncludeContents";
52
+ DependencyFlags["PUBLISHED_DEPENDENCIES"] = "PublishedDependencies";
53
+ })(DependencyFlags || (DependencyFlags = {}));
54
+ export var EventAttributes;
55
+ (function (EventAttributes) {
56
+ EventAttributes["NONE"] = "None";
57
+ EventAttributes["SPECIAL_NAME"] = "SpecialName";
58
+ EventAttributes["RT_SPECIAL_NAME"] = "RTSpecialName";
59
+ EventAttributes["RESERVED_MASK"] = "ReservedMask";
60
+ })(EventAttributes || (EventAttributes = {}));
61
+ export var FieldAttributes;
62
+ (function (FieldAttributes) {
63
+ FieldAttributes["PRIVATE_SCOPE"] = "PrivateScope";
64
+ FieldAttributes["PRIVATE"] = "Private";
65
+ FieldAttributes["FAM_AND_ASSEM"] = "FamANDAssem";
66
+ FieldAttributes["ASSEMBLY"] = "Assembly";
67
+ FieldAttributes["FAMILY"] = "Family";
68
+ FieldAttributes["FAM_OR_ASSEM"] = "FamORAssem";
69
+ FieldAttributes["PUBLIC"] = "Public";
70
+ FieldAttributes["FIELD_ACCESS_MASK"] = "FieldAccessMask";
71
+ FieldAttributes["STATIC"] = "Static";
72
+ FieldAttributes["INIT_ONLY"] = "InitOnly";
73
+ FieldAttributes["LITERAL"] = "Literal";
74
+ FieldAttributes["NOT_SERIALIZED"] = "NotSerialized";
75
+ FieldAttributes["HAS_FIELD_RVA"] = "HasFieldRVA";
76
+ FieldAttributes["SPECIAL_NAME"] = "SpecialName";
77
+ FieldAttributes["RT_SPECIAL_NAME"] = "RTSpecialName";
78
+ FieldAttributes["HAS_FIELD_MARSHAL"] = "HasFieldMarshal";
79
+ FieldAttributes["PINVOKE_IMPL"] = "PinvokeImpl";
80
+ FieldAttributes["HAS_DEFAULT"] = "HasDefault";
81
+ FieldAttributes["RESERVED_MASK"] = "ReservedMask";
82
+ })(FieldAttributes || (FieldAttributes = {}));
83
+ export var GenericParameterAttributes;
84
+ (function (GenericParameterAttributes) {
85
+ GenericParameterAttributes["NONE"] = "None";
86
+ GenericParameterAttributes["COVARIANT"] = "Covariant";
87
+ GenericParameterAttributes["CONTRAVARIANT"] = "Contravariant";
88
+ GenericParameterAttributes["VARIANCE_MASK"] = "VarianceMask";
89
+ GenericParameterAttributes["REFERENCE_TYPE_CONSTRAINT"] = "ReferenceTypeConstraint";
90
+ GenericParameterAttributes["NOT_NULLABLE_VALUE_TYPE_CONSTRAINT"] = "NotNullableValueTypeConstraint";
91
+ GenericParameterAttributes["DEFAULT_CONSTRUCTOR_CONSTRAINT"] = "DefaultConstructorConstraint";
92
+ GenericParameterAttributes["SPECIAL_CONSTRAINT_MASK"] = "SpecialConstraintMask";
93
+ GenericParameterAttributes["ALLOW_BY_REF_LIKE"] = "AllowByRefLike";
94
+ })(GenericParameterAttributes || (GenericParameterAttributes = {}));
95
+ export var LayoutKind;
96
+ (function (LayoutKind) {
97
+ LayoutKind["SEQUENTIAL"] = "Sequential";
98
+ LayoutKind["EXPLICIT"] = "Explicit";
99
+ LayoutKind["AUTO"] = "Auto";
100
+ })(LayoutKind || (LayoutKind = {}));
101
+ export var LicenceStatus;
102
+ (function (LicenceStatus) {
103
+ LicenceStatus["LOADED"] = "Loaded";
104
+ LicenceStatus["BAD_FORMAT"] = "BadFormat";
105
+ LicenceStatus["INVALID"] = "Invalid";
106
+ LicenceStatus["BAD_HOST"] = "BadHost";
107
+ LicenceStatus["EXPIRED"] = "Expired";
108
+ LicenceStatus["TRIAL_EXPIRED"] = "TrialExpired";
109
+ LicenceStatus["UNVERIFIED"] = "Unverified";
110
+ LicenceStatus["MISSING"] = "Missing";
111
+ LicenceStatus["VALID"] = "Valid";
112
+ LicenceStatus["TRIAL"] = "Trial";
113
+ })(LicenceStatus || (LicenceStatus = {}));
114
+ export var LicenceType;
115
+ (function (LicenceType) {
116
+ LicenceType["NONE"] = "None";
117
+ LicenceType["DOMAIN"] = "Domain";
118
+ LicenceType["SUBSCRIPTION"] = "Subscription";
119
+ LicenceType["TRIAL"] = "Trial";
120
+ LicenceType["LIMITED_EXPIRY"] = "LimitedExpiry";
121
+ LicenceType["AGENCY"] = "Agency";
122
+ LicenceType["PARTNER"] = "Partner";
123
+ })(LicenceType || (LicenceType = {}));
124
+ export var MemberTypes;
125
+ (function (MemberTypes) {
126
+ MemberTypes["CONSTRUCTOR"] = "Constructor";
127
+ MemberTypes["EVENT"] = "Event";
128
+ MemberTypes["FIELD"] = "Field";
129
+ MemberTypes["METHOD"] = "Method";
130
+ MemberTypes["PROPERTY"] = "Property";
131
+ MemberTypes["TYPE_INFO"] = "TypeInfo";
132
+ MemberTypes["CUSTOM"] = "Custom";
133
+ MemberTypes["NESTED_TYPE"] = "NestedType";
134
+ MemberTypes["ALL"] = "All";
135
+ })(MemberTypes || (MemberTypes = {}));
136
+ export var MethodAttributes;
137
+ (function (MethodAttributes) {
138
+ MethodAttributes["PRIVATE_SCOPE"] = "PrivateScope";
139
+ MethodAttributes["REUSE_SLOT"] = "ReuseSlot";
140
+ MethodAttributes["PRIVATE"] = "Private";
141
+ MethodAttributes["FAM_AND_ASSEM"] = "FamANDAssem";
142
+ MethodAttributes["ASSEMBLY"] = "Assembly";
143
+ MethodAttributes["FAMILY"] = "Family";
144
+ MethodAttributes["FAM_OR_ASSEM"] = "FamORAssem";
145
+ MethodAttributes["PUBLIC"] = "Public";
146
+ MethodAttributes["MEMBER_ACCESS_MASK"] = "MemberAccessMask";
147
+ MethodAttributes["UNMANAGED_EXPORT"] = "UnmanagedExport";
148
+ MethodAttributes["STATIC"] = "Static";
149
+ MethodAttributes["FINAL"] = "Final";
150
+ MethodAttributes["VIRTUAL"] = "Virtual";
151
+ MethodAttributes["HIDE_BY_SIG"] = "HideBySig";
152
+ MethodAttributes["NEW_SLOT"] = "NewSlot";
153
+ MethodAttributes["VTABLE_LAYOUT_MASK"] = "VtableLayoutMask";
154
+ MethodAttributes["CHECK_ACCESS_ON_OVERRIDE"] = "CheckAccessOnOverride";
155
+ MethodAttributes["ABSTRACT"] = "Abstract";
156
+ MethodAttributes["SPECIAL_NAME"] = "SpecialName";
157
+ MethodAttributes["RT_SPECIAL_NAME"] = "RTSpecialName";
158
+ MethodAttributes["PINVOKE_IMPL"] = "PinvokeImpl";
159
+ MethodAttributes["HAS_SECURITY"] = "HasSecurity";
160
+ MethodAttributes["REQUIRE_SEC_OBJECT"] = "RequireSecObject";
161
+ MethodAttributes["RESERVED_MASK"] = "ReservedMask";
162
+ })(MethodAttributes || (MethodAttributes = {}));
163
+ export var MethodImplAttributes;
164
+ (function (MethodImplAttributes) {
165
+ MethodImplAttributes["IL"] = "IL";
166
+ MethodImplAttributes["MANAGED"] = "Managed";
167
+ MethodImplAttributes["NATIVE"] = "Native";
168
+ MethodImplAttributes["OPTIL"] = "OPTIL";
169
+ MethodImplAttributes["CODE_TYPE_MASK"] = "CodeTypeMask";
170
+ MethodImplAttributes["RUNTIME"] = "Runtime";
171
+ MethodImplAttributes["MANAGED_MASK"] = "ManagedMask";
172
+ MethodImplAttributes["UNMANAGED"] = "Unmanaged";
173
+ MethodImplAttributes["NO_INLINING"] = "NoInlining";
174
+ MethodImplAttributes["FORWARD_REF"] = "ForwardRef";
175
+ MethodImplAttributes["SYNCHRONIZED"] = "Synchronized";
176
+ MethodImplAttributes["NO_OPTIMIZATION"] = "NoOptimization";
177
+ MethodImplAttributes["PRESERVE_SIG"] = "PreserveSig";
178
+ MethodImplAttributes["AGGRESSIVE_INLINING"] = "AggressiveInlining";
179
+ MethodImplAttributes["AGGRESSIVE_OPTIMIZATION"] = "AggressiveOptimization";
180
+ MethodImplAttributes["INTERNAL_CALL"] = "InternalCall";
181
+ MethodImplAttributes["ASYNC"] = "Async";
182
+ MethodImplAttributes["MAX_METHOD_IMPL_VAL"] = "MaxMethodImplVal";
183
+ })(MethodImplAttributes || (MethodImplAttributes = {}));
184
+ export var ParameterAttributes;
185
+ (function (ParameterAttributes) {
186
+ ParameterAttributes["NONE"] = "None";
187
+ ParameterAttributes["IN"] = "In";
188
+ ParameterAttributes["OUT"] = "Out";
189
+ ParameterAttributes["LCID"] = "Lcid";
190
+ ParameterAttributes["RETVAL"] = "Retval";
191
+ ParameterAttributes["OPTIONAL"] = "Optional";
192
+ ParameterAttributes["HAS_DEFAULT"] = "HasDefault";
193
+ ParameterAttributes["HAS_FIELD_MARSHAL"] = "HasFieldMarshal";
194
+ ParameterAttributes["RESERVED3"] = "Reserved3";
195
+ ParameterAttributes["RESERVED4"] = "Reserved4";
196
+ ParameterAttributes["RESERVED_MASK"] = "ReservedMask";
197
+ })(ParameterAttributes || (ParameterAttributes = {}));
198
+ export var PropertyAttributes;
199
+ (function (PropertyAttributes) {
200
+ PropertyAttributes["NONE"] = "None";
201
+ PropertyAttributes["SPECIAL_NAME"] = "SpecialName";
202
+ PropertyAttributes["RT_SPECIAL_NAME"] = "RTSpecialName";
203
+ PropertyAttributes["HAS_DEFAULT"] = "HasDefault";
204
+ PropertyAttributes["RESERVED2"] = "Reserved2";
205
+ PropertyAttributes["RESERVED3"] = "Reserved3";
206
+ PropertyAttributes["RESERVED4"] = "Reserved4";
207
+ PropertyAttributes["RESERVED_MASK"] = "ReservedMask";
208
+ })(PropertyAttributes || (PropertyAttributes = {}));
209
+ export var RestorePointStatus;
210
+ (function (RestorePointStatus) {
211
+ RestorePointStatus["COMPLETE"] = "Complete";
212
+ RestorePointStatus["PENDING"] = "Pending";
213
+ RestorePointStatus["FAILED"] = "Failed";
214
+ })(RestorePointStatus || (RestorePointStatus = {}));
215
+ export var SecurityRuleSet;
216
+ (function (SecurityRuleSet) {
217
+ SecurityRuleSet["NONE"] = "None";
218
+ SecurityRuleSet["LEVEL1"] = "Level1";
219
+ SecurityRuleSet["LEVEL2"] = "Level2";
220
+ })(SecurityRuleSet || (SecurityRuleSet = {}));
221
+ export var TypeAttributes;
222
+ (function (TypeAttributes) {
223
+ TypeAttributes["NOT_PUBLIC"] = "NotPublic";
224
+ TypeAttributes["AUTO_LAYOUT"] = "AutoLayout";
225
+ TypeAttributes["ANSI_CLASS"] = "AnsiClass";
226
+ TypeAttributes["CLASS"] = "Class";
227
+ TypeAttributes["PUBLIC"] = "Public";
228
+ TypeAttributes["NESTED_PUBLIC"] = "NestedPublic";
229
+ TypeAttributes["NESTED_PRIVATE"] = "NestedPrivate";
230
+ TypeAttributes["NESTED_FAMILY"] = "NestedFamily";
231
+ TypeAttributes["NESTED_ASSEMBLY"] = "NestedAssembly";
232
+ TypeAttributes["NESTED_FAM_AND_ASSEM"] = "NestedFamANDAssem";
233
+ TypeAttributes["VISIBILITY_MASK"] = "VisibilityMask";
234
+ TypeAttributes["NESTED_FAM_OR_ASSEM"] = "NestedFamORAssem";
235
+ TypeAttributes["SEQUENTIAL_LAYOUT"] = "SequentialLayout";
236
+ TypeAttributes["EXPLICIT_LAYOUT"] = "ExplicitLayout";
237
+ TypeAttributes["LAYOUT_MASK"] = "LayoutMask";
238
+ TypeAttributes["INTERFACE"] = "Interface";
239
+ TypeAttributes["CLASS_SEMANTICS_MASK"] = "ClassSemanticsMask";
240
+ TypeAttributes["ABSTRACT"] = "Abstract";
241
+ TypeAttributes["SEALED"] = "Sealed";
242
+ TypeAttributes["SPECIAL_NAME"] = "SpecialName";
243
+ TypeAttributes["RT_SPECIAL_NAME"] = "RTSpecialName";
244
+ TypeAttributes["IMPORT"] = "Import";
245
+ TypeAttributes["SERIALIZABLE"] = "Serializable";
246
+ TypeAttributes["WINDOWS_RUNTIME"] = "WindowsRuntime";
247
+ TypeAttributes["UNICODE_CLASS"] = "UnicodeClass";
248
+ TypeAttributes["AUTO_CLASS"] = "AutoClass";
249
+ TypeAttributes["STRING_FORMAT_MASK"] = "StringFormatMask";
250
+ TypeAttributes["CUSTOM_FORMAT_CLASS"] = "CustomFormatClass";
251
+ TypeAttributes["HAS_SECURITY"] = "HasSecurity";
252
+ TypeAttributes["RESERVED_MASK"] = "ReservedMask";
253
+ TypeAttributes["BEFORE_FIELD_INIT"] = "BeforeFieldInit";
254
+ TypeAttributes["CUSTOM_FORMAT_MASK"] = "CustomFormatMask";
255
+ })(TypeAttributes || (TypeAttributes = {}));
@@ -0,0 +1,16 @@
1
+ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
+ import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
3
+ /**
4
+ * @description confirm, cancel and report - shared by the process and queue lists.
5
+ */
6
+ export declare class uSyncBackgroundCancelController extends UmbControllerBase {
7
+ #private;
8
+ constructor(host: UmbControllerHost);
9
+ /**
10
+ * @param id the pipeline id
11
+ * @param name what to call it in the confirm dialog (alias, note, etc.)
12
+ * @returns true if the cancel was accepted (the lists should be refreshed).
13
+ */
14
+ cancel(id: string, name?: string | null): Promise<boolean>;
15
+ }
16
+ export default uSyncBackgroundCancelController;
@@ -0,0 +1,83 @@
1
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
+ if (kind === "m") throw new TypeError("Private method is not writable");
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
5
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
6
+ };
7
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
+ };
12
+ var _uSyncBackgroundCancelController_instances, _uSyncBackgroundCancelController_repository, _uSyncBackgroundCancelController_localize, _uSyncBackgroundCancelController_errorMessage;
13
+ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
14
+ import { UmbLocalizationController } from '@umbraco-cms/backoffice/localization-api';
15
+ import { umbConfirmModal } from '@umbraco-cms/backoffice/modal';
16
+ import { UMB_NOTIFICATION_CONTEXT } from '@umbraco-cms/backoffice/notification';
17
+ import { UmbApiError } from '@umbraco-cms/backoffice/resources';
18
+ import { uSyncBackgroundPipelineRepository } from './background-pipeline.repository.js';
19
+ /**
20
+ * @description confirm, cancel and report - shared by the process and queue lists.
21
+ */
22
+ export class uSyncBackgroundCancelController extends UmbControllerBase {
23
+ constructor(host) {
24
+ super(host);
25
+ _uSyncBackgroundCancelController_instances.add(this);
26
+ _uSyncBackgroundCancelController_repository.set(this, void 0);
27
+ _uSyncBackgroundCancelController_localize.set(this, void 0);
28
+ __classPrivateFieldSet(this, _uSyncBackgroundCancelController_repository, new uSyncBackgroundPipelineRepository(host), "f");
29
+ __classPrivateFieldSet(this, _uSyncBackgroundCancelController_localize, new UmbLocalizationController(host), "f");
30
+ }
31
+ /**
32
+ * @param id the pipeline id
33
+ * @param name what to call it in the confirm dialog (alias, note, etc.)
34
+ * @returns true if the cancel was accepted (the lists should be refreshed).
35
+ */
36
+ async cancel(id, name) {
37
+ try {
38
+ await umbConfirmModal(this, {
39
+ headline: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelHeadline'),
40
+ content: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelConfirm', name || id),
41
+ color: 'danger',
42
+ confirmLabel: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelRun'),
43
+ cancelLabel: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_keepRun'),
44
+ });
45
+ }
46
+ catch {
47
+ return false; // closed the dialog.
48
+ }
49
+ const { error } = await __classPrivateFieldGet(this, _uSyncBackgroundCancelController_repository, "f").cancelPipeline(id);
50
+ const notifications = await this.getContext(UMB_NOTIFICATION_CONTEXT);
51
+ if (!error) {
52
+ notifications?.peek('positive', {
53
+ data: {
54
+ headline: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelledHeadline'),
55
+ message: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelledMessage'),
56
+ },
57
+ });
58
+ return true;
59
+ }
60
+ notifications?.peek('danger', {
61
+ data: {
62
+ headline: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelFailedHeadline'),
63
+ message: __classPrivateFieldGet(this, _uSyncBackgroundCancelController_instances, "m", _uSyncBackgroundCancelController_errorMessage).call(this, error),
64
+ },
65
+ });
66
+ return false;
67
+ }
68
+ }
69
+ _uSyncBackgroundCancelController_repository = new WeakMap(), _uSyncBackgroundCancelController_localize = new WeakMap(), _uSyncBackgroundCancelController_instances = new WeakSet(), _uSyncBackgroundCancelController_errorMessage = function _uSyncBackgroundCancelController_errorMessage(error) {
70
+ if (UmbApiError.isUmbApiError(error)) {
71
+ switch (error.status) {
72
+ case 403:
73
+ return __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelForbidden');
74
+ case 404:
75
+ return __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelNotFound');
76
+ case 409:
77
+ return __classPrivateFieldGet(this, _uSyncBackgroundCancelController_localize, "f").term('uSyncBackground_cancelFinished');
78
+ }
79
+ return error.problemDetails?.detail ?? error.message;
80
+ }
81
+ return error instanceof Error ? error.message : String(error);
82
+ };
83
+ export default uSyncBackgroundCancelController;
@@ -0,0 +1,18 @@
1
+ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
2
+ import { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
3
+ export declare class uSyncBackgroundPipelineRepository extends UmbControllerBase {
4
+ #private;
5
+ constructor(host: UmbControllerHost);
6
+ /**
7
+ * @description asks a pipeline to stop. Scheduled and waiting pipelines are cancelled
8
+ * straight away (and taken off the queue); running/background ones stop before their next
9
+ * step. Errors come back without a notification so the caller can explain them.
10
+ * @param id the pipeline id (for a queued item, its key)
11
+ */
12
+ cancelPipeline(id: string): Promise<import("@umbraco-cms/backoffice/resources").UmbApiResponse<{
13
+ data: unknown;
14
+ request: Request;
15
+ response: Response;
16
+ }>>;
17
+ }
18
+ export default uSyncBackgroundPipelineRepository;
@@ -0,0 +1,33 @@
1
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
+ if (kind === "m") throw new TypeError("Private method is not writable");
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
5
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
6
+ };
7
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
+ };
12
+ var _uSyncBackgroundPipelineRepository_host;
13
+ import { PipelinesService } from '@jumoo/processing';
14
+ import { UmbControllerBase } from '@umbraco-cms/backoffice/class-api';
15
+ import { tryExecute } from '@umbraco-cms/backoffice/resources';
16
+ export class uSyncBackgroundPipelineRepository extends UmbControllerBase {
17
+ constructor(host) {
18
+ super(host);
19
+ _uSyncBackgroundPipelineRepository_host.set(this, void 0);
20
+ __classPrivateFieldSet(this, _uSyncBackgroundPipelineRepository_host, host, "f");
21
+ }
22
+ /**
23
+ * @description asks a pipeline to stop. Scheduled and waiting pipelines are cancelled
24
+ * straight away (and taken off the queue); running/background ones stop before their next
25
+ * step. Errors come back without a notification so the caller can explain them.
26
+ * @param id the pipeline id (for a queued item, its key)
27
+ */
28
+ async cancelPipeline(id) {
29
+ return await tryExecute(__classPrivateFieldGet(this, _uSyncBackgroundPipelineRepository_host, "f"), PipelinesService.cancelPipeline({ path: { id: id } }), { disableNotifications: true });
30
+ }
31
+ }
32
+ _uSyncBackgroundPipelineRepository_host = new WeakMap();
33
+ export default uSyncBackgroundPipelineRepository;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @description raised (bubbles, composed) by a background list after it has changed something,
3
+ * so the workspace can refresh both lists.
4
+ */
5
+ export declare const USYNC_BACKGROUND_CHANGED_EVENT = "usync-background-changed";
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @description raised (bubbles, composed) by a background list after it has changed something,
3
+ * so the workspace can refresh both lists.
4
+ */
5
+ export const USYNC_BACKGROUND_CHANGED_EVENT = 'usync-background-changed';
@@ -0,0 +1,5 @@
1
+ export * from './constants.js';
2
+ export * from './pipelines-table.element.js';
3
+ export * from './queue-table.element.js';
4
+ export * from './pending-list.element.js';
5
+ export * from './process-list.element.js';
@@ -0,0 +1,5 @@
1
+ export * from './constants.js';
2
+ export * from './pipelines-table.element.js';
3
+ export * from './queue-table.element.js';
4
+ export * from './pending-list.element.js';
5
+ export * from './process-list.element.js';
@@ -0,0 +1,18 @@
1
+ import { JumooQueueListElement } from '@jumoo/processing';
2
+ export declare class uSyncBackgroundPendingListElement extends JumooQueueListElement {
3
+ #private;
4
+ _tableColumns: {
5
+ name: string;
6
+ alias: string;
7
+ }[];
8
+ renderTable(): import("lit-html").TemplateResult<1>;
9
+ protected _onProcessQueueItem(e: CustomEvent): Promise<void>;
10
+ protected _onCancelQueueItem(e: CustomEvent): Promise<void>;
11
+ static styles: import("lit").CSSResult;
12
+ }
13
+ export default uSyncBackgroundPendingListElement;
14
+ declare global {
15
+ interface HTMLElementTagNameMap {
16
+ 'usync-pending-list': uSyncBackgroundPendingListElement;
17
+ }
18
+ }
@@ -0,0 +1,69 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
+ };
12
+ var _uSyncBackgroundPendingListElement_instances, _uSyncBackgroundPendingListElement_cancelController, _uSyncBackgroundPendingListElement_changed;
13
+ import { JumooQueueListElement } from '@jumoo/processing';
14
+ import { css, customElement, html, state } from '@umbraco-cms/backoffice/external/lit';
15
+ import { uSyncBackgroundCancelController } from '../background-cancel.controller.js';
16
+ import { USYNC_BACKGROUND_CHANGED_EVENT } from './constants.js';
17
+ let uSyncBackgroundPendingListElement = class uSyncBackgroundPendingListElement extends JumooQueueListElement {
18
+ constructor() {
19
+ super(...arguments);
20
+ _uSyncBackgroundPendingListElement_instances.add(this);
21
+ _uSyncBackgroundPendingListElement_cancelController.set(this, new uSyncBackgroundCancelController(this));
22
+ this._tableColumns = [
23
+ { name: 'Note', alias: 'note' },
24
+ { name: 'Source', alias: 'processor' },
25
+ { name: 'User', alias: 'user' },
26
+ { name: 'Scheduled', alias: 'scheduled' },
27
+ { name: 'Actions', alias: 'actions' },
28
+ ];
29
+ }
30
+ renderTable() {
31
+ return !this.queue || this.queue.items.length === 0
32
+ ? html `<div class="empty">No items in the queue</div>`
33
+ : html `<usync-queue-table
34
+ .items=${this.queue.items}
35
+ .tableColumns=${this._tableColumns}
36
+ @process-queue-item=${this._onProcessQueueItem}
37
+ @cancel-queue-item=${this._onCancelQueueItem}></usync-queue-table>`;
38
+ }
39
+ async _onProcessQueueItem(e) {
40
+ await super._onProcessQueueItem(e);
41
+ __classPrivateFieldGet(this, _uSyncBackgroundPendingListElement_instances, "m", _uSyncBackgroundPendingListElement_changed).call(this);
42
+ }
43
+ // a queued item's key is the id of the pipeline it runs.
44
+ async _onCancelQueueItem(e) {
45
+ if (await __classPrivateFieldGet(this, _uSyncBackgroundPendingListElement_cancelController, "f").cancel(e.detail.key, e.detail.name)) {
46
+ __classPrivateFieldGet(this, _uSyncBackgroundPendingListElement_instances, "m", _uSyncBackgroundPendingListElement_changed).call(this);
47
+ }
48
+ }
49
+ };
50
+ _uSyncBackgroundPendingListElement_cancelController = new WeakMap();
51
+ _uSyncBackgroundPendingListElement_instances = new WeakSet();
52
+ _uSyncBackgroundPendingListElement_changed = function _uSyncBackgroundPendingListElement_changed() {
53
+ this.dispatchEvent(new CustomEvent(USYNC_BACKGROUND_CHANGED_EVENT, { bubbles: true, composed: true }));
54
+ };
55
+ uSyncBackgroundPendingListElement.styles = css `
56
+ .empty {
57
+ display: flex;
58
+ justify-content: center;
59
+ padding: 20px;
60
+ }
61
+ `;
62
+ __decorate([
63
+ state()
64
+ ], uSyncBackgroundPendingListElement.prototype, "_tableColumns", void 0);
65
+ uSyncBackgroundPendingListElement = __decorate([
66
+ customElement('usync-pending-list')
67
+ ], uSyncBackgroundPendingListElement);
68
+ export { uSyncBackgroundPendingListElement };
69
+ export default uSyncBackgroundPendingListElement;
@@ -0,0 +1,15 @@
1
+ import { JumooPipelinesTableElement, Pipeline } from '@jumoo/processing';
2
+ /**
3
+ * @description the processing pipelines table, with a cancel button for anything that hasn't
4
+ * finished yet.
5
+ */
6
+ export declare class uSyncPipelinesTableElement extends JumooPipelinesTableElement {
7
+ #private;
8
+ renderActions(pipeline: Pipeline): import("lit-html").TemplateResult<1>;
9
+ }
10
+ export default uSyncPipelinesTableElement;
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'usync-pipelines-table': uSyncPipelinesTableElement;
14
+ }
15
+ }
@@ -0,0 +1,60 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
+ };
12
+ var _uSyncPipelinesTableElement_instances, _uSyncPipelinesTableElement_dispatch;
13
+ import { JumooPipelinesTableElement, PipelineStatus } from '@jumoo/processing';
14
+ import { customElement, html, when } from '@umbraco-cms/backoffice/external/lit';
15
+ const finishedStatuses = [
16
+ PipelineStatus.COMPLETED,
17
+ PipelineStatus.FAILED,
18
+ PipelineStatus.CANCELLED,
19
+ ];
20
+ /**
21
+ * @description the processing pipelines table, with a cancel button for anything that hasn't
22
+ * finished yet.
23
+ */
24
+ let uSyncPipelinesTableElement = class uSyncPipelinesTableElement extends JumooPipelinesTableElement {
25
+ constructor() {
26
+ super(...arguments);
27
+ _uSyncPipelinesTableElement_instances.add(this);
28
+ }
29
+ renderActions(pipeline) {
30
+ return html `<uui-button-group>
31
+ <uui-button
32
+ label=${this.localize.term('uSyncBackground_view')}
33
+ color="positive"
34
+ look="outline"
35
+ @click=${() => __classPrivateFieldGet(this, _uSyncPipelinesTableElement_instances, "m", _uSyncPipelinesTableElement_dispatch).call(this, 'view-pipeline', pipeline)}></uui-button>
36
+ ${when(!finishedStatuses.includes(pipeline.state.status), () => html `<uui-button
37
+ label=${this.localize.term('uSyncBackground_cancel')}
38
+ color="warning"
39
+ look="outline"
40
+ @click=${() => __classPrivateFieldGet(this, _uSyncPipelinesTableElement_instances, "m", _uSyncPipelinesTableElement_dispatch).call(this, 'cancel-pipeline', pipeline)}></uui-button>`)}
41
+ ${when(!this.hideDelete, () => html `<uui-button
42
+ label=${this.localize.term('uSyncBackground_delete')}
43
+ color="danger"
44
+ look="outline"
45
+ @click=${() => __classPrivateFieldGet(this, _uSyncPipelinesTableElement_instances, "m", _uSyncPipelinesTableElement_dispatch).call(this, 'delete-pipeline', pipeline)}></uui-button>`)}
46
+ </uui-button-group>`;
47
+ }
48
+ };
49
+ _uSyncPipelinesTableElement_instances = new WeakSet();
50
+ _uSyncPipelinesTableElement_dispatch = function _uSyncPipelinesTableElement_dispatch(name, pipeline) {
51
+ this.dispatchEvent(new CustomEvent(name, {
52
+ composed: true,
53
+ detail: { piplineId: pipeline.id, alias: pipeline.alias },
54
+ }));
55
+ };
56
+ uSyncPipelinesTableElement = __decorate([
57
+ customElement('usync-pipelines-table')
58
+ ], uSyncPipelinesTableElement);
59
+ export { uSyncPipelinesTableElement };
60
+ export default uSyncPipelinesTableElement;
@@ -0,0 +1,10 @@
1
+ import { JumooProcessingPipelineList } from '@jumoo/processing';
2
+ import { UmbTableColumn } from '@umbraco-cms/backoffice/components';
3
+ export declare class uSyncProcessListElement extends JumooProcessingPipelineList {
4
+ #private;
5
+ tableColumns: UmbTableColumn[];
6
+ constructor();
7
+ onCancelPipeline(e: CustomEvent): Promise<void>;
8
+ renderListPipelines(): import("lit-html").TemplateResult<1>;
9
+ }
10
+ export default uSyncProcessListElement;