@noldova/checkpoints 0.0.0-stage → 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/LICENSE +21 -0
  2. package/module.json +15 -0
  3. package/package.json +49 -4
  4. package/settings.json +15 -0
  5. package/src/api/index.d.ts +1150 -0
  6. package/src/api/index.js +34 -0
  7. package/src/api/index.js.map +1 -0
  8. package/src/exceptions/checkpoint-file-missing.exception.js +17 -0
  9. package/src/exceptions/checkpoint-file-missing.exception.js.map +1 -0
  10. package/src/exceptions/checkpoints.exception.js +14 -0
  11. package/src/exceptions/checkpoints.exception.js.map +1 -0
  12. package/src/exceptions/git-exited.exception.js +21 -0
  13. package/src/exceptions/git-exited.exception.js.map +1 -0
  14. package/src/exceptions/git-manifest-invalid.exception.js +18 -0
  15. package/src/exceptions/git-manifest-invalid.exception.js.map +1 -0
  16. package/src/exceptions/git-missing.exception.js +18 -0
  17. package/src/exceptions/git-missing.exception.js.map +1 -0
  18. package/src/exceptions/git-stopped.exception.js +19 -0
  19. package/src/exceptions/git-stopped.exception.js.map +1 -0
  20. package/src/exceptions/git.exception.js +14 -0
  21. package/src/exceptions/git.exception.js.map +1 -0
  22. package/src/exceptions/ignore-rules-mismatch.exception.js +17 -0
  23. package/src/exceptions/ignore-rules-mismatch.exception.js.map +1 -0
  24. package/src/exceptions/journal-field-missing.exception.js +19 -0
  25. package/src/exceptions/journal-field-missing.exception.js.map +1 -0
  26. package/src/exceptions/restore-folder-changed.exception.js +19 -0
  27. package/src/exceptions/restore-folder-changed.exception.js.map +1 -0
  28. package/src/exceptions/restore-path-changed.exception.js +17 -0
  29. package/src/exceptions/restore-path-changed.exception.js.map +1 -0
  30. package/src/exceptions/restore-path-in-the-way.exception.js +17 -0
  31. package/src/exceptions/restore-path-in-the-way.exception.js.map +1 -0
  32. package/src/exceptions/restore-path-occupied.exception.js +17 -0
  33. package/src/exceptions/restore-path-occupied.exception.js.map +1 -0
  34. package/src/exceptions/restore-step-failed.exception.js +18 -0
  35. package/src/exceptions/restore-step-failed.exception.js.map +1 -0
  36. package/src/exceptions/restore-step.exception.js +14 -0
  37. package/src/exceptions/restore-step.exception.js.map +1 -0
  38. package/src/exceptions/script-step-missing.exception.js +17 -0
  39. package/src/exceptions/script-step-missing.exception.js.map +1 -0
  40. package/src/exceptions/staged-file-missing.exception.js +17 -0
  41. package/src/exceptions/staged-file-missing.exception.js.map +1 -0
  42. package/src/exceptions/store-answers-mismatch.exception.js +19 -0
  43. package/src/exceptions/store-answers-mismatch.exception.js.map +1 -0
  44. package/src/exceptions/store-count-missing.exception.js +17 -0
  45. package/src/exceptions/store-count-missing.exception.js.map +1 -0
  46. package/src/exceptions/store-field-not-a-boolean.exception.js +17 -0
  47. package/src/exceptions/store-field-not-a-boolean.exception.js.map +1 -0
  48. package/src/exceptions/store-field-not-a-string-list.exception.js +17 -0
  49. package/src/exceptions/store-field-not-a-string-list.exception.js.map +1 -0
  50. package/src/exceptions/store-file-unreadable.exception.js +18 -0
  51. package/src/exceptions/store-file-unreadable.exception.js.map +1 -0
  52. package/src/exceptions/store-object-missing.exception.js +17 -0
  53. package/src/exceptions/store-object-missing.exception.js.map +1 -0
  54. package/src/exceptions/store-object-not-a-blob.exception.js +19 -0
  55. package/src/exceptions/store-object-not-a-blob.exception.js.map +1 -0
  56. package/src/exceptions/store.exception.js +14 -0
  57. package/src/exceptions/store.exception.js.map +1 -0
  58. package/src/exceptions/tree-line-malformed.exception.js +17 -0
  59. package/src/exceptions/tree-line-malformed.exception.js.map +1 -0
  60. package/src/exceptions/unexpected-store-object.exception.js +17 -0
  61. package/src/exceptions/unexpected-store-object.exception.js.map +1 -0
  62. package/src/exceptions/unknown-entry-kind.exception.js +17 -0
  63. package/src/exceptions/unknown-entry-kind.exception.js.map +1 -0
  64. package/src/exceptions/unknown-git-mode.exception.js +17 -0
  65. package/src/exceptions/unknown-git-mode.exception.js.map +1 -0
  66. package/src/exceptions/unknown-journal-record.exception.js +17 -0
  67. package/src/exceptions/unknown-journal-record.exception.js.map +1 -0
  68. package/src/exceptions/unknown-link-kind.exception.js +17 -0
  69. package/src/exceptions/unknown-link-kind.exception.js.map +1 -0
  70. package/src/exceptions/unsupported-store-format.exception.js +17 -0
  71. package/src/exceptions/unsupported-store-format.exception.js.map +1 -0
  72. package/src/models/byte-set.js +31 -0
  73. package/src/models/byte-set.js.map +1 -0
  74. package/src/models/checkpoint-record.js +76 -0
  75. package/src/models/checkpoint-record.js.map +1 -0
  76. package/src/models/depth-order.js +23 -0
  77. package/src/models/depth-order.js.map +1 -0
  78. package/src/models/entry-kind.js +48 -0
  79. package/src/models/entry-kind.js.map +1 -0
  80. package/src/models/finished-restore.js +18 -0
  81. package/src/models/finished-restore.js.map +1 -0
  82. package/src/models/folder-file.js +20 -0
  83. package/src/models/folder-file.js.map +1 -0
  84. package/src/models/folder-index.js +41 -0
  85. package/src/models/folder-index.js.map +1 -0
  86. package/src/models/folder-record.js +27 -0
  87. package/src/models/folder-record.js.map +1 -0
  88. package/src/models/folder-store.js +38 -0
  89. package/src/models/folder-store.js.map +1 -0
  90. package/src/models/git-build.js +18 -0
  91. package/src/models/git-build.js.map +1 -0
  92. package/src/models/git-limits.js +20 -0
  93. package/src/models/git-limits.js.map +1 -0
  94. package/src/models/housekeeping-record.js +27 -0
  95. package/src/models/housekeeping-record.js.map +1 -0
  96. package/src/models/ignore-file.js +32 -0
  97. package/src/models/ignore-file.js.map +1 -0
  98. package/src/models/ignore-pattern.js +57 -0
  99. package/src/models/ignore-pattern.js.map +1 -0
  100. package/src/models/ignore-record.js +32 -0
  101. package/src/models/ignore-record.js.map +1 -0
  102. package/src/models/ignore-rules.js +48 -0
  103. package/src/models/ignore-rules.js.map +1 -0
  104. package/src/models/import-result.js +16 -0
  105. package/src/models/import-result.js.map +1 -0
  106. package/src/models/index-entry.js +56 -0
  107. package/src/models/index-entry.js.map +1 -0
  108. package/src/models/journal-reading.js +19 -0
  109. package/src/models/journal-reading.js.map +1 -0
  110. package/src/models/journal-record-type.js +43 -0
  111. package/src/models/journal-record-type.js.map +1 -0
  112. package/src/models/journal-record.js +94 -0
  113. package/src/models/journal-record.js.map +1 -0
  114. package/src/models/link-kind.js +27 -0
  115. package/src/models/link-kind.js.map +1 -0
  116. package/src/models/link-record.js +28 -0
  117. package/src/models/link-record.js.map +1 -0
  118. package/src/models/loaded-checkpoint.js +16 -0
  119. package/src/models/loaded-checkpoint.js.map +1 -0
  120. package/src/models/newest-checkpoint.js +16 -0
  121. package/src/models/newest-checkpoint.js.map +1 -0
  122. package/src/models/no-plan.js +20 -0
  123. package/src/models/no-plan.js.map +1 -0
  124. package/src/models/object-batch.js +29 -0
  125. package/src/models/object-batch.js.map +1 -0
  126. package/src/models/object-counts.js +35 -0
  127. package/src/models/object-counts.js.map +1 -0
  128. package/src/models/pending-change.js +22 -0
  129. package/src/models/pending-change.js.map +1 -0
  130. package/src/models/planned-restore.js +22 -0
  131. package/src/models/planned-restore.js.map +1 -0
  132. package/src/models/read-failure.js +37 -0
  133. package/src/models/read-failure.js.map +1 -0
  134. package/src/models/restore-run.js +28 -0
  135. package/src/models/restore-run.js.map +1 -0
  136. package/src/models/restore-script.js +82 -0
  137. package/src/models/restore-script.js.map +1 -0
  138. package/src/models/scheduled-call.js +17 -0
  139. package/src/models/scheduled-call.js.map +1 -0
  140. package/src/models/script-step.js +72 -0
  141. package/src/models/script-step.js.map +1 -0
  142. package/src/models/side-content.js +16 -0
  143. package/src/models/side-content.js.map +1 -0
  144. package/src/models/side-entry.js +21 -0
  145. package/src/models/side-entry.js.map +1 -0
  146. package/src/models/side-file.js +19 -0
  147. package/src/models/side-file.js.map +1 -0
  148. package/src/models/side-folder.js +19 -0
  149. package/src/models/side-folder.js.map +1 -0
  150. package/src/models/side-listing.js +49 -0
  151. package/src/models/side-listing.js.map +1 -0
  152. package/src/models/staged-blob.js +20 -0
  153. package/src/models/staged-blob.js.map +1 -0
  154. package/src/models/staged-step.js +16 -0
  155. package/src/models/staged-step.js.map +1 -0
  156. package/src/models/stored-object.js +26 -0
  157. package/src/models/stored-object.js.map +1 -0
  158. package/src/models/tree-file.js +14 -0
  159. package/src/models/tree-file.js.map +1 -0
  160. package/src/models/tree-listing.js +39 -0
  161. package/src/models/tree-listing.js.map +1 -0
  162. package/src/models/unhashed-file.js +16 -0
  163. package/src/models/unhashed-file.js.map +1 -0
  164. package/src/models/walk-result.js +79 -0
  165. package/src/models/walk-result.js.map +1 -0
  166. package/src/models/walked-child.js +16 -0
  167. package/src/models/walked-child.js.map +1 -0
  168. package/src/models/walked-entry.js +31 -0
  169. package/src/models/walked-entry.js.map +1 -0
  170. package/src/models/walked-listing.js +16 -0
  171. package/src/models/walked-listing.js.map +1 -0
  172. package/src/models/wildcard-pattern.js +19 -0
  173. package/src/models/wildcard-pattern.js.map +1 -0
  174. package/src/models/write-meter.js +16 -0
  175. package/src/models/write-meter.js.map +1 -0
  176. package/src/resources.js +564 -0
  177. package/src/resources.js.map +1 -0
  178. package/src/runtime-part.js +22 -0
  179. package/src/runtime-part.js.map +1 -0
  180. package/src/services/batch-output.parser.js +65 -0
  181. package/src/services/batch-output.parser.js.map +1 -0
  182. package/src/services/blob-batch.writer.js +86 -0
  183. package/src/services/blob-batch.writer.js.map +1 -0
  184. package/src/services/blob-stager.js +41 -0
  185. package/src/services/blob-stager.js.map +1 -0
  186. package/src/services/capture-pause.js +37 -0
  187. package/src/services/capture-pause.js.map +1 -0
  188. package/src/services/case-probe.js +32 -0
  189. package/src/services/case-probe.js.map +1 -0
  190. package/src/services/change-describer.js +38 -0
  191. package/src/services/change-describer.js.map +1 -0
  192. package/src/services/checkpoint-capture.js +153 -0
  193. package/src/services/checkpoint-capture.js.map +1 -0
  194. package/src/services/checkpoint-comparer.js +37 -0
  195. package/src/services/checkpoint-comparer.js.map +1 -0
  196. package/src/services/checkpoint-file.reader.js +146 -0
  197. package/src/services/checkpoint-file.reader.js.map +1 -0
  198. package/src/services/checkpoint-id-source.js +27 -0
  199. package/src/services/checkpoint-id-source.js.map +1 -0
  200. package/src/services/checkpoint-lister.js +63 -0
  201. package/src/services/checkpoint-lister.js.map +1 -0
  202. package/src/services/checkpoints-host.js +184 -0
  203. package/src/services/checkpoints-host.js.map +1 -0
  204. package/src/services/checkpoints.service.js +10 -0
  205. package/src/services/checkpoints.service.js.map +1 -0
  206. package/src/services/clock.js +26 -0
  207. package/src/services/clock.js.map +1 -0
  208. package/src/services/command-deadline.js +34 -0
  209. package/src/services/command-deadline.js.map +1 -0
  210. package/src/services/entry.reader.js +84 -0
  211. package/src/services/entry.reader.js.map +1 -0
  212. package/src/services/failures.js +55 -0
  213. package/src/services/failures.js.map +1 -0
  214. package/src/services/fast-import-leftovers.js +35 -0
  215. package/src/services/fast-import-leftovers.js.map +1 -0
  216. package/src/services/folder-deleter.js +86 -0
  217. package/src/services/folder-deleter.js.map +1 -0
  218. package/src/services/folder-file.reader.js +78 -0
  219. package/src/services/folder-file.reader.js.map +1 -0
  220. package/src/services/folder-queue.js +27 -0
  221. package/src/services/folder-queue.js.map +1 -0
  222. package/src/services/folder-sync.js +25 -0
  223. package/src/services/folder-sync.js.map +1 -0
  224. package/src/services/folder-walker.js +123 -0
  225. package/src/services/folder-walker.js.map +1 -0
  226. package/src/services/free-space.js +30 -0
  227. package/src/services/free-space.js.map +1 -0
  228. package/src/services/git-build.locator.js +67 -0
  229. package/src/services/git-build.locator.js.map +1 -0
  230. package/src/services/git-path.js +21 -0
  231. package/src/services/git-path.js.map +1 -0
  232. package/src/services/git-process.js +127 -0
  233. package/src/services/git-process.js.map +1 -0
  234. package/src/services/git-runner.js +235 -0
  235. package/src/services/git-runner.js.map +1 -0
  236. package/src/services/housekeeping-schedule.js +77 -0
  237. package/src/services/housekeeping-schedule.js.map +1 -0
  238. package/src/services/ignore-file.reader.js +41 -0
  239. package/src/services/ignore-file.reader.js.map +1 -0
  240. package/src/services/input-writer.js +67 -0
  241. package/src/services/input-writer.js.map +1 -0
  242. package/src/services/line-diff.js +32 -0
  243. package/src/services/line-diff.js.map +1 -0
  244. package/src/services/link-probe.js +22 -0
  245. package/src/services/link-probe.js.map +1 -0
  246. package/src/services/listing-comparer.js +41 -0
  247. package/src/services/listing-comparer.js.map +1 -0
  248. package/src/services/module-activation.js +42 -0
  249. package/src/services/module-activation.js.map +1 -0
  250. package/src/services/name-decoder.js +30 -0
  251. package/src/services/name-decoder.js.map +1 -0
  252. package/src/services/object.reader.js +40 -0
  253. package/src/services/object.reader.js.map +1 -0
  254. package/src/services/path-guard.js +45 -0
  255. package/src/services/path-guard.js.map +1 -0
  256. package/src/services/plan-state.js +31 -0
  257. package/src/services/plan-state.js.map +1 -0
  258. package/src/services/relative-path.js +18 -0
  259. package/src/services/relative-path.js.map +1 -0
  260. package/src/services/repository-name.js +14 -0
  261. package/src/services/repository-name.js.map +1 -0
  262. package/src/services/restore-applier.js +175 -0
  263. package/src/services/restore-applier.js.map +1 -0
  264. package/src/services/restore-journal.js +120 -0
  265. package/src/services/restore-journal.js.map +1 -0
  266. package/src/services/restore-paths.js +130 -0
  267. package/src/services/restore-paths.js.map +1 -0
  268. package/src/services/restore-planner.js +114 -0
  269. package/src/services/restore-planner.js.map +1 -0
  270. package/src/services/restore-rollback.js +159 -0
  271. package/src/services/restore-rollback.js.map +1 -0
  272. package/src/services/restore-runner.js +221 -0
  273. package/src/services/restore-runner.js.map +1 -0
  274. package/src/services/restore-scope.js +42 -0
  275. package/src/services/restore-scope.js.map +1 -0
  276. package/src/services/side-loader.js +83 -0
  277. package/src/services/side-loader.js.map +1 -0
  278. package/src/services/storage-reader.js +80 -0
  279. package/src/services/storage-reader.js.map +1 -0
  280. package/src/services/store-file.js +54 -0
  281. package/src/services/store-file.js.map +1 -0
  282. package/src/services/store-format.js +30 -0
  283. package/src/services/store-format.js.map +1 -0
  284. package/src/services/store-housekeeping.js +66 -0
  285. package/src/services/store-housekeeping.js.map +1 -0
  286. package/src/services/store-opener.js +31 -0
  287. package/src/services/store-opener.js.map +1 -0
  288. package/src/services/store-reads.js +38 -0
  289. package/src/services/store-reads.js.map +1 -0
  290. package/src/services/text-probe.js +27 -0
  291. package/src/services/text-probe.js.map +1 -0
  292. package/src/services/tree-lister.js +20 -0
  293. package/src/services/tree-lister.js.map +1 -0
  294. package/src/services/wildcard.parser.js +152 -0
  295. package/src/services/wildcard.parser.js.map +1 -0
  296. package/README.md +0 -3
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ export { CheckpointFileMissingException } from "../exceptions/checkpoint-file-missing.exception.js";
9
+ export { CheckpointsException } from "../exceptions/checkpoints.exception.js";
10
+ export { GitException } from "../exceptions/git.exception.js";
11
+ export { GitExitedException } from "../exceptions/git-exited.exception.js";
12
+ export { GitManifestInvalidException } from "../exceptions/git-manifest-invalid.exception.js";
13
+ export { GitMissingException } from "../exceptions/git-missing.exception.js";
14
+ export { GitStoppedException } from "../exceptions/git-stopped.exception.js";
15
+ export { IgnoreRulesMismatchException } from "../exceptions/ignore-rules-mismatch.exception.js";
16
+ export { JournalFieldMissingException } from "../exceptions/journal-field-missing.exception.js";
17
+ export { ScriptStepMissingException } from "../exceptions/script-step-missing.exception.js";
18
+ export { StoreException } from "../exceptions/store.exception.js";
19
+ export { StoreAnswersMismatchException } from "../exceptions/store-answers-mismatch.exception.js";
20
+ export { StoreFieldNotABooleanException } from "../exceptions/store-field-not-a-boolean.exception.js";
21
+ export { StoreFieldNotAStringListException } from "../exceptions/store-field-not-a-string-list.exception.js";
22
+ export { StoreFileUnreadableException } from "../exceptions/store-file-unreadable.exception.js";
23
+ export { StoreObjectMissingException } from "../exceptions/store-object-missing.exception.js";
24
+ export { StoreObjectNotABlobException } from "../exceptions/store-object-not-a-blob.exception.js";
25
+ export { TreeLineMalformedException } from "../exceptions/tree-line-malformed.exception.js";
26
+ export { UnexpectedStoreObjectException } from "../exceptions/unexpected-store-object.exception.js";
27
+ export { UnknownEntryKindException } from "../exceptions/unknown-entry-kind.exception.js";
28
+ export { UnknownGitModeException } from "../exceptions/unknown-git-mode.exception.js";
29
+ export { UnknownJournalRecordException } from "../exceptions/unknown-journal-record.exception.js";
30
+ export { UnknownLinkKindException } from "../exceptions/unknown-link-kind.exception.js";
31
+ export { UnsupportedStoreFormatException } from "../exceptions/unsupported-store-format.exception.js";
32
+ export { RuntimePart } from "../runtime-part.js";
33
+ export { CheckpointsService } from "../services/checkpoints.service.js";
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AACtG,OAAO,EAAE,iCAAiC,EAAE,MAAM,0DAA0D,CAAC;AAC7G,OAAO,EAAE,4BAA4B,EAAE,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,+BAA+B,EAAE,MAAM,qDAAqD,CAAC;AACtG,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class CheckpointFileMissingException extends StoreException {
11
+ commit;
12
+ constructor(commit) {
13
+ super(Resources.formatUnreadableStore(Resources.checkpointFile, Resources.formatMissingObject(commit)));
14
+ this.commit = commit;
15
+ }
16
+ }
17
+ //# sourceMappingURL=checkpoint-file-missing.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkpoint-file-missing.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/checkpoint-file-missing.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,8BAA+B,SAAQ,cAAc;IAChD,MAAM,CAAS;IAE/B,YAAmB,MAAc;QAC/B,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC,SAAS,CAAC,cAAc,EAAE,SAAS,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAExG,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Exception } from "@noldova/context.exceptions";
9
+ export class CheckpointsException extends Exception {
10
+ constructor(message, options) {
11
+ super(message, options);
12
+ }
13
+ }
14
+ //# sourceMappingURL=checkpoints.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkpoints.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/checkpoints.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE/E,MAAM,OAAgB,oBAAqB,SAAQ,SAAS;IAC1D,YAAsB,OAAe,EAAE,OAA0B;QAC/D,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { GitException } from "./git.exception.js";
10
+ export class GitExitedException extends GitException {
11
+ command;
12
+ errors;
13
+ exitCode;
14
+ constructor(command, exitCode, errors) {
15
+ super(Resources.formatGitExited(command, exitCode, errors));
16
+ this.command = command;
17
+ this.errors = errors;
18
+ this.exitCode = exitCode;
19
+ }
20
+ }
21
+ //# sourceMappingURL=git-exited.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-exited.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/git-exited.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,OAAO,kBAAmB,SAAQ,YAAY;IACzB,OAAO,CAAS;IAChB,MAAM,CAAS;IACxB,QAAQ,CAAS;IAEjC,YAAmB,OAAe,EAAE,QAAgB,EAAE,MAAc;QAClE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;QAE5D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { ExceptionOptions } from "@noldova/context.exceptions";
9
+ import { Resources } from "../resources.js";
10
+ import { CheckpointsException } from "./checkpoints.exception.js";
11
+ export class GitManifestInvalidException extends CheckpointsException {
12
+ manifestFile;
13
+ constructor(manifestFile, cause) {
14
+ super(Resources.formatGitManifestInvalid(manifestFile, cause.message), new ExceptionOptions(cause));
15
+ this.manifestFile = manifestFile;
16
+ }
17
+ }
18
+ //# sourceMappingURL=git-manifest-invalid.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-manifest-invalid.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/git-manifest-invalid.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,OAAO,2BAA4B,SAAQ,oBAAoB;IACnD,YAAY,CAAS;IAErC,YAAmB,YAAoB,EAAE,KAAY;QACnD,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;QAEpG,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { ExceptionOptions } from "@noldova/context.exceptions";
9
+ import { Resources } from "../resources.js";
10
+ import { CheckpointsException } from "./checkpoints.exception.js";
11
+ export class GitMissingException extends CheckpointsException {
12
+ packageName;
13
+ constructor(packageName, cause) {
14
+ super(Resources.formatGitMissing(packageName), new ExceptionOptions(cause));
15
+ this.packageName = packageName;
16
+ }
17
+ }
18
+ //# sourceMappingURL=git-missing.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-missing.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/git-missing.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,OAAO,mBAAoB,SAAQ,oBAAoB;IAC3C,WAAW,CAAS;IAEpC,YAAmB,WAAmB,EAAE,KAAY;QAClD,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,WAAW,CAAC,EAAE,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;QAE5E,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { GitException } from "./git.exception.js";
10
+ export class GitStoppedException extends GitException {
11
+ command;
12
+ errors;
13
+ constructor(command, errors) {
14
+ super(Resources.formatGitStopped(command, errors));
15
+ this.command = command;
16
+ this.errors = errors;
17
+ }
18
+ }
19
+ //# sourceMappingURL=git-stopped.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-stopped.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/git-stopped.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,OAAO,mBAAoB,SAAQ,YAAY;IAC1B,OAAO,CAAS;IAChB,MAAM,CAAS;IAExC,YAAmB,OAAe,EAAE,MAAc;QAChD,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;QAEnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { CheckpointsException } from "./checkpoints.exception.js";
9
+ export class GitException extends CheckpointsException {
10
+ constructor(message, options) {
11
+ super(message, options);
12
+ }
13
+ }
14
+ //# sourceMappingURL=git.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/git.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,OAAgB,YAAa,SAAQ,oBAAoB;IAI7D,YAAsB,OAAe,EAAE,OAA0B;QAC/D,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class IgnoreRulesMismatchException extends StoreException {
11
+ mode;
12
+ constructor(mode) {
13
+ super(Resources.formatIgnoreRulesMismatch(mode.value));
14
+ this.mode = mode;
15
+ }
16
+ }
17
+ //# sourceMappingURL=ignore-rules-mismatch.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ignore-rules-mismatch.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/ignore-rules-mismatch.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,4BAA6B,SAAQ,cAAc;IAC9C,IAAI,CAAc;IAElC,YAAmB,IAAiB;QAClC,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QAEvD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class JournalFieldMissingException extends StoreException {
11
+ field;
12
+ model;
13
+ constructor(model, field) {
14
+ super(Resources.formatUnreadableStore(Resources.restoreFile, Resources.formatJournalFieldMissing(model, field)));
15
+ this.field = field;
16
+ this.model = model;
17
+ }
18
+ }
19
+ //# sourceMappingURL=journal-field-missing.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"journal-field-missing.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/journal-field-missing.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,4BAA6B,SAAQ,cAAc;IAC9C,KAAK,CAAS;IACd,KAAK,CAAS;IAE9B,YAAmB,KAAa,EAAE,KAAa;QAC7C,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC,SAAS,CAAC,WAAW,EAAE,SAAS,CAAC,yBAAyB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;QAEjH,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { RestoreStepException } from "./restore-step.exception.js";
10
+ export class RestoreFolderChangedException extends RestoreStepException {
11
+ folder;
12
+ path;
13
+ constructor(path, folder) {
14
+ super(Resources.formatStepFailed(path, Resources.formatFolderChanged(folder)));
15
+ this.folder = folder;
16
+ this.path = path;
17
+ }
18
+ }
19
+ //# sourceMappingURL=restore-folder-changed.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-folder-changed.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/restore-folder-changed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,OAAO,6BAA8B,SAAQ,oBAAoB;IACrD,MAAM,CAAS;IACN,IAAI,CAAS;IAEtC,YAAmB,IAAY,EAAE,MAAc;QAC7C,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAE/E,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { RestoreStepException } from "./restore-step.exception.js";
10
+ export class RestorePathChangedException extends RestoreStepException {
11
+ path;
12
+ constructor(path) {
13
+ super(Resources.formatStepFailed(path, Resources.changedReason));
14
+ this.path = path;
15
+ }
16
+ }
17
+ //# sourceMappingURL=restore-path-changed.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-path-changed.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/restore-path-changed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,OAAO,2BAA4B,SAAQ,oBAAoB;IAC1C,IAAI,CAAS;IAEtC,YAAmB,IAAY;QAC7B,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC;QAEjE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { RestoreStepException } from "./restore-step.exception.js";
10
+ export class RestorePathInTheWayException extends RestoreStepException {
11
+ path;
12
+ constructor(path) {
13
+ super(Resources.formatStepFailed(path, Resources.inTheWayReason));
14
+ this.path = path;
15
+ }
16
+ }
17
+ //# sourceMappingURL=restore-path-in-the-way.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-path-in-the-way.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/restore-path-in-the-way.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,OAAO,4BAA6B,SAAQ,oBAAoB;IAC3C,IAAI,CAAS;IAEtC,YAAmB,IAAY;QAC7B,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC;QAElE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { RestoreStepException } from "./restore-step.exception.js";
10
+ export class RestorePathOccupiedException extends RestoreStepException {
11
+ path;
12
+ constructor(path) {
13
+ super(Resources.formatStepFailed(path, Resources.occupiedReason));
14
+ this.path = path;
15
+ }
16
+ }
17
+ //# sourceMappingURL=restore-path-occupied.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-path-occupied.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/restore-path-occupied.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,OAAO,4BAA6B,SAAQ,oBAAoB;IAC3C,IAAI,CAAS;IAEtC,YAAmB,IAAY;QAC7B,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC;QAElE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { ExceptionOptions } from "@noldova/context.exceptions";
9
+ import { Resources } from "../resources.js";
10
+ import { RestoreStepException } from "./restore-step.exception.js";
11
+ export class RestoreStepFailedException extends RestoreStepException {
12
+ path;
13
+ constructor(path, cause) {
14
+ super(Resources.formatStepFailed(path, cause.message), new ExceptionOptions(cause));
15
+ this.path = path;
16
+ }
17
+ }
18
+ //# sourceMappingURL=restore-step-failed.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-step-failed.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/restore-step-failed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,OAAO,0BAA2B,SAAQ,oBAAoB;IACzC,IAAI,CAAS;IAEtC,YAAmB,IAAY,EAAE,KAAY;QAC3C,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;QAEpF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { CheckpointsException } from "./checkpoints.exception.js";
9
+ export class RestoreStepException extends CheckpointsException {
10
+ constructor(message, options) {
11
+ super(message, options);
12
+ }
13
+ }
14
+ //# sourceMappingURL=restore-step.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-step.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/restore-step.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,OAAgB,oBAAqB,SAAQ,oBAAoB;IAGrE,YAAsB,OAAe,EAAE,OAA0B;QAC/D,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class ScriptStepMissingException extends StoreException {
11
+ step;
12
+ constructor(step) {
13
+ super(Resources.formatUnreadableStore(Resources.restoreFile, Resources.formatScriptStepMissing(step)));
14
+ this.step = step;
15
+ }
16
+ }
17
+ //# sourceMappingURL=script-step-missing.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"script-step-missing.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/script-step-missing.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,0BAA2B,SAAQ,cAAc;IAC5C,IAAI,CAAS;IAE7B,YAAmB,IAAY;QAC7B,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC,SAAS,CAAC,WAAW,EAAE,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAEvG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { RestoreStepException } from "./restore-step.exception.js";
10
+ export class StagedFileMissingException extends RestoreStepException {
11
+ path;
12
+ constructor(path) {
13
+ super(Resources.formatStepFailed(path, Resources.stagedMissingReason));
14
+ this.path = path;
15
+ }
16
+ }
17
+ //# sourceMappingURL=staged-file-missing.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"staged-file-missing.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/staged-file-missing.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,OAAO,0BAA2B,SAAQ,oBAAoB;IACzC,IAAI,CAAS;IAEtC,YAAmB,IAAY;QAC7B,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAC,CAAC;QAEvE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class StoreAnswersMismatchException extends StoreException {
11
+ answered;
12
+ asked;
13
+ constructor(asked, answered) {
14
+ super(Resources.formatStoreAnswersMismatch(asked, answered));
15
+ this.answered = answered;
16
+ this.asked = asked;
17
+ }
18
+ }
19
+ //# sourceMappingURL=store-answers-mismatch.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-answers-mismatch.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store-answers-mismatch.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,6BAA8B,SAAQ,cAAc;IAC/C,QAAQ,CAAS;IACjB,KAAK,CAAS;IAE9B,YAAmB,KAAa,EAAE,QAAgB;QAChD,KAAK,CAAC,SAAS,CAAC,0BAA0B,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QAE7D,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class StoreCountMissingException extends StoreException {
11
+ count;
12
+ constructor(count) {
13
+ super(Resources.formatStoreCountMissing(count));
14
+ this.count = count;
15
+ }
16
+ }
17
+ //# sourceMappingURL=store-count-missing.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-count-missing.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store-count-missing.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,0BAA2B,SAAQ,cAAc;IAC5C,KAAK,CAAS;IAE9B,YAAmB,KAAa;QAC9B,KAAK,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,CAAC;QAEhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class StoreFieldNotABooleanException extends StoreException {
11
+ field;
12
+ constructor(field) {
13
+ super(Resources.formatNotABoolean(field));
14
+ this.field = field;
15
+ }
16
+ }
17
+ //# sourceMappingURL=store-field-not-a-boolean.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-field-not-a-boolean.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store-field-not-a-boolean.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,8BAA+B,SAAQ,cAAc;IAChD,KAAK,CAAS;IAE9B,YAAmB,KAAa;QAC9B,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;QAE1C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class StoreFieldNotAStringListException extends StoreException {
11
+ field;
12
+ constructor(field) {
13
+ super(Resources.formatNotAStringList(field));
14
+ this.field = field;
15
+ }
16
+ }
17
+ //# sourceMappingURL=store-field-not-a-string-list.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-field-not-a-string-list.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store-field-not-a-string-list.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,iCAAkC,SAAQ,cAAc;IACnD,KAAK,CAAS;IAE9B,YAAmB,KAAa;QAC9B,KAAK,CAAC,SAAS,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;QAE7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { ExceptionOptions } from "@noldova/context.exceptions";
9
+ import { Resources } from "../resources.js";
10
+ import { StoreException } from "./store.exception.js";
11
+ export class StoreFileUnreadableException extends StoreException {
12
+ file;
13
+ constructor(file, cause) {
14
+ super(Resources.formatUnreadableStore(file, cause.message), new ExceptionOptions(cause));
15
+ this.file = file;
16
+ }
17
+ }
18
+ //# sourceMappingURL=store-file-unreadable.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-file-unreadable.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store-file-unreadable.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,4BAA6B,SAAQ,cAAc;IAC9C,IAAI,CAAS;IAE7B,YAAmB,IAAY,EAAE,KAAY;QAC3C,KAAK,CAAC,SAAS,CAAC,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,IAAI,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC;QAEzF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class StoreObjectMissingException extends StoreException {
11
+ objectId;
12
+ constructor(objectId) {
13
+ super(Resources.formatStoreObjectMissing(objectId));
14
+ this.objectId = objectId;
15
+ }
16
+ }
17
+ //# sourceMappingURL=store-object-missing.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-object-missing.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store-object-missing.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,2BAA4B,SAAQ,cAAc;IAC7C,QAAQ,CAAS;IAEjC,YAAmB,QAAgB;QACjC,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEpD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { Resources } from "../resources.js";
9
+ import { StoreException } from "./store.exception.js";
10
+ export class StoreObjectNotABlobException extends StoreException {
11
+ header;
12
+ objectId;
13
+ constructor(objectId, header) {
14
+ super(Resources.formatStoreObjectNotABlob(objectId, header));
15
+ this.header = header;
16
+ this.objectId = objectId;
17
+ }
18
+ }
19
+ //# sourceMappingURL=store-object-not-a-blob.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store-object-not-a-blob.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store-object-not-a-blob.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,4BAA6B,SAAQ,cAAc;IAC9C,MAAM,CAAS;IACf,QAAQ,CAAS;IAEjC,YAAmB,QAAgB,EAAE,MAAc;QACjD,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;QAE7D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) Noldova.
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ import { CheckpointsException } from "./checkpoints.exception.js";
9
+ export class StoreException extends CheckpointsException {
10
+ constructor(message, options) {
11
+ super(message, options);
12
+ }
13
+ }
14
+ //# sourceMappingURL=store.exception.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.exception.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints/src/exceptions/store.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,OAAgB,cAAe,SAAQ,oBAAoB;IAC/D,YAAsB,OAAe,EAAE,OAA0B;QAC/D,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF"}