@noldova/checkpoints.protocol 0.0.5 → 0.0.7
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/package.json +2 -2
- package/src/api/index.d.ts +294 -0
- package/src/api/index.js +2 -0
- package/src/api/index.js.map +1 -1
- package/src/models/checkpoints-names.js +13 -0
- package/src/models/checkpoints-names.js.map +1 -0
- package/src/resources.js +2 -0
- package/src/resources.js.map +1 -1
- package/src/services/checkpoints.service.js +16 -0
- package/src/services/checkpoints.service.js.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noldova/checkpoints.protocol",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"description": "The checkpoints module's protocol: the requests, results and events of its runtime methods, with the folders and checkpoints they name.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"@noldova/context.exceptions": ">=0.0.18 <0.1.0",
|
|
35
35
|
"@noldova/context.json": ">=0.0.18 <0.1.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "2990911cd9601211738ba774267f594369b47db5"
|
|
38
38
|
}
|
package/src/api/index.d.ts
CHANGED
|
@@ -3786,3 +3786,297 @@ export declare class RestoreHeldUpEvent {
|
|
|
3786
3786
|
*/
|
|
3787
3787
|
public toJson(): JsonObject;
|
|
3788
3788
|
}
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* The names a module uses to find the checkpoints service: its name, and the key of the brand every instance carries.
|
|
3792
|
+
*/
|
|
3793
|
+
export declare class CheckpointsNames {
|
|
3794
|
+
/**
|
|
3795
|
+
* The name the runtime part publishes the service under, `checkpoints.service`.
|
|
3796
|
+
*
|
|
3797
|
+
* @example
|
|
3798
|
+
* ```ts
|
|
3799
|
+
* import { CheckpointsNames, CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
3800
|
+
* import type { IRuntimePartContext } from "@noldova/desktop.runtime";
|
|
3801
|
+
*
|
|
3802
|
+
* export function findCheckpoints(context: IRuntimePartContext): CheckpointsService | null {
|
|
3803
|
+
* return context.findService(CheckpointsNames.service, t => CheckpointsService.is(t));
|
|
3804
|
+
* }
|
|
3805
|
+
* ```
|
|
3806
|
+
*/
|
|
3807
|
+
public static readonly service: string;
|
|
3808
|
+
|
|
3809
|
+
/**
|
|
3810
|
+
* The key of the service's brand, `Symbol.for("noldova.checkpoints.service.v1")`, which every copy of this protocol shares; its
|
|
3811
|
+
* version changes only with a change to the service that breaks its callers.
|
|
3812
|
+
*/
|
|
3813
|
+
public static readonly serviceBrand: unique symbol;
|
|
3814
|
+
}
|
|
3815
|
+
|
|
3816
|
+
/**
|
|
3817
|
+
* The checkpoints service, which the runtime part publishes as `checkpoints.service` for other runtime parts, and with which it
|
|
3818
|
+
* answers the `checkpoints.*` methods. Each folder's operations run one at a time; a request that arrives during one waits for it.
|
|
3819
|
+
* Each first finishes or undoes any restore of the folder that was interrupted; while that can't finish, the folder's captures and
|
|
3820
|
+
* restores are refused with the outcome `HeldUp`.
|
|
3821
|
+
*
|
|
3822
|
+
* Each call takes an optional signal, such as its request's. A call whose signal aborts while it waits never runs; one that runs
|
|
3823
|
+
* stops before its next file or Git command, ends the Git commands it started, and rejects with the signal's reason once they have
|
|
3824
|
+
* exited, and the folder's next call runs. A capture so stopped leaves no checkpoint and the folder's index as it was. A restore
|
|
3825
|
+
* stops so only until it starts writing its journal; from then on it runs to its end. The recovery of an interrupted restore that a
|
|
3826
|
+
* call starts with always runs to its end.
|
|
3827
|
+
*
|
|
3828
|
+
* It is abstract: the runtime part publishes the module's own instance under {@link CheckpointsNames.service}. A module that lists
|
|
3829
|
+
* `checkpoints` among its dependencies or its optional ones finds it with `findService` and {@link CheckpointsService.is}, which
|
|
3830
|
+
* takes the instance by its brand, so it holds when the app has two copies of this protocol, as it does whenever the module's pin
|
|
3831
|
+
* of the protocol and the other module's differ. `getService` with this class checks with `instanceof`, which refuses an instance
|
|
3832
|
+
* that another copy of the protocol made.
|
|
3833
|
+
*
|
|
3834
|
+
* @example
|
|
3835
|
+
* ```ts
|
|
3836
|
+
* import { CaptureRequest, CheckpointsNames, CheckpointsService, FolderReference } from "@noldova/checkpoints.protocol";
|
|
3837
|
+
* import type { IRuntimePartContext } from "@noldova/desktop.runtime";
|
|
3838
|
+
*
|
|
3839
|
+
* export async function captureAsync(context: IRuntimePartContext): Promise<void> {
|
|
3840
|
+
* const checkpoints = context.findService(CheckpointsNames.service, t => CheckpointsService.is(t));
|
|
3841
|
+
* if (Object.isNull(checkpoints))
|
|
3842
|
+
* return;
|
|
3843
|
+
* const result = await checkpoints.captureAsync(new CaptureRequest(new FolderReference("project-1", "/work/project"), "Turn 3"));
|
|
3844
|
+
* console.log(result.outcome.value);
|
|
3845
|
+
* }
|
|
3846
|
+
* ```
|
|
3847
|
+
*/
|
|
3848
|
+
export declare abstract class CheckpointsService {
|
|
3849
|
+
/**
|
|
3850
|
+
* The brand that {@link CheckpointsService.is} looks for, under {@link CheckpointsNames.serviceBrand}; every instance has it.
|
|
3851
|
+
*/
|
|
3852
|
+
public readonly [CheckpointsNames.serviceBrand]: true;
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* Tells whether a value is the checkpoints service, by its brand rather than by `instanceof`, so it takes an instance that another
|
|
3856
|
+
* copy of this protocol made.
|
|
3857
|
+
*
|
|
3858
|
+
* @param value Any value, such as what `findService` passes its guard.
|
|
3859
|
+
* @returns `true` when the value is an object whose {@link CheckpointsNames.serviceBrand} is `true`.
|
|
3860
|
+
* @example
|
|
3861
|
+
* ```ts
|
|
3862
|
+
* import { CheckpointsNames, CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
3863
|
+
* import type { IRuntimePartContext } from "@noldova/desktop.runtime";
|
|
3864
|
+
*
|
|
3865
|
+
* export function findCheckpoints(context: IRuntimePartContext): CheckpointsService | null {
|
|
3866
|
+
* return context.findService(CheckpointsNames.service, t => CheckpointsService.is(t));
|
|
3867
|
+
* }
|
|
3868
|
+
* ```
|
|
3869
|
+
*/
|
|
3870
|
+
public static is(value: unknown): value is CheckpointsService;
|
|
3871
|
+
|
|
3872
|
+
/**
|
|
3873
|
+
* Takes a checkpoint of a folder: every file, link and folder in it but each `.git`, or, while the setting
|
|
3874
|
+
* `checkpoints.followIgnoreFiles` is on, only those its `.gitignore` files don't ignore, matched as Git matches them. The
|
|
3875
|
+
* checkpoint's `mode` says which. It needs, on the store's volume, 2 GiB free beyond the size of the new and changed files it
|
|
3876
|
+
* adds, before it streams and while it does; one without the space takes no checkpoint, posts the folder's
|
|
3877
|
+
* `checkpoints.lowDiskSpace` notification and raises `checkpoints.capturePaused`, and the folder's next capture that is taken
|
|
3878
|
+
* dismisses the notification and raises `checkpoints.captureResumed`. It leaves out each file over 10 MiB, listing it as
|
|
3879
|
+
* `TooLarge`, and takes no checkpoint when the new and changed files come to over 1 GiB. With the request's `asOf`, it keeps each
|
|
3880
|
+
* file changed at or after that time, less two seconds, as the folder's last checkpoint had it, and leaves out one that checkpoint
|
|
3881
|
+
* didn't hold, so an app can take a turn's checkpoint after the turn has started, without holding the turn. With the request's
|
|
3882
|
+
* `paths`, it reads only those paths and keeps every other path as the folder's last checkpoint had it, and the size of the new and
|
|
3883
|
+
* changed files, for the limit and the free space, counts only what it reads, so a capture of a few files succeeds in a folder too
|
|
3884
|
+
* large to capture whole.
|
|
3885
|
+
*
|
|
3886
|
+
* @param request The folder, the label to attach, the time the turn started, if any, and the paths to read, if limited.
|
|
3887
|
+
* @param signal Stops the call; none by default.
|
|
3888
|
+
* @returns The checkpoint taken; or the outcome `LowDiskSpace`, with the space free and the space needed in bytes, `TooLarge`,
|
|
3889
|
+
* with the size of the new and changed files and its limit, `FolderMissing` when the folder's path is missing, or `HeldUp` while an interrupted restore of the folder can't finish.
|
|
3890
|
+
* @throws {GitException} When a Git command fails; no checkpoint is left.
|
|
3891
|
+
* @throws {StoreException} When the folder's store holds a file the module can't read.
|
|
3892
|
+
* @throws {Error} When the system refuses the module a step of its own, such as reading the folder itself (EACCES), writing its
|
|
3893
|
+
* store (ENOSPC) or finishing an interrupted restore of the folder; a path the capture can't read is listed in the checkpoint instead.
|
|
3894
|
+
* @example
|
|
3895
|
+
* ```ts
|
|
3896
|
+
* import { CaptureRequest, FolderReference, type CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
3897
|
+
*
|
|
3898
|
+
* export async function captureAsync(checkpoints: CheckpointsService, signal: AbortSignal): Promise<string | null> {
|
|
3899
|
+
* const result = await checkpoints.captureAsync(new CaptureRequest(new FolderReference("project-1", "/work/project"), "Turn 3"), signal);
|
|
3900
|
+
* return result.checkpoint?.id ?? null;
|
|
3901
|
+
* }
|
|
3902
|
+
* ```
|
|
3903
|
+
*/
|
|
3904
|
+
public abstract captureAsync(request: CaptureRequest, signal?: AbortSignal): Promise<CaptureResult>;
|
|
3905
|
+
|
|
3906
|
+
/**
|
|
3907
|
+
* Compares one of a folder's checkpoints with another, or with the folder now, which it walks in the checkpoint's own mode. A path
|
|
3908
|
+
* either side's rules ignore is on neither side, a `.git` never is, and a path the module couldn't read on either side is
|
|
3909
|
+
* `Unknown`, never `Deleted`. It writes nothing.
|
|
3910
|
+
*
|
|
3911
|
+
* @param request The folder, the checkpoint the changes start from, and the one they lead to, or `null` for the folder now.
|
|
3912
|
+
* @param signal Stops the call; none by default.
|
|
3913
|
+
* @returns The changes, in the byte order of their paths; or the outcome `CheckpointMissing` when either checkpoint is missing,
|
|
3914
|
+
* or `FolderMissing` when the folder now is asked for and its path is missing.
|
|
3915
|
+
* @throws {GitException} When a Git command fails.
|
|
3916
|
+
* @throws {StoreException} When the folder's store holds a checkpoint the module can't read.
|
|
3917
|
+
* @throws {Error} When the system refuses the module a step of its own, such as reading its store, finishing an interrupted restore of the folder, or,
|
|
3918
|
+
* for the folder now, reading the folder itself (EACCES).
|
|
3919
|
+
* @example
|
|
3920
|
+
* ```ts
|
|
3921
|
+
* import { CompareRequest, FolderReference, type CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
3922
|
+
*
|
|
3923
|
+
* export async function changedPathsAsync(checkpoints: CheckpointsService, from: string): Promise<readonly string[]> {
|
|
3924
|
+
* const result = await checkpoints.compareAsync(new CompareRequest(new FolderReference("project-1", "/work/project"), from, null));
|
|
3925
|
+
* return result.changes.map(t => t.path);
|
|
3926
|
+
* }
|
|
3927
|
+
* ```
|
|
3928
|
+
*/
|
|
3929
|
+
public abstract compareAsync(request: CompareRequest, signal?: AbortSignal): Promise<CompareResult>;
|
|
3930
|
+
|
|
3931
|
+
/**
|
|
3932
|
+
* Deletes all of a folder's checkpoints by removing its store whole, after the folder's earlier calls; a housekeeping pass running
|
|
3933
|
+
* on the store is stopped first. It first finishes or undoes a restore of the folder that was interrupted, and while that can't
|
|
3934
|
+
* finish it deletes nothing, since the restore's journal is what puts the folder's files right. A crash mid-delete never leaves a
|
|
3935
|
+
* half store: the store is moved aside whole before it is removed, once a `storageAsync` reading it has, and what a crash leaves
|
|
3936
|
+
* there is removed when the module next starts. The folder's next capture starts a new store. The module stopping stops the call as
|
|
3937
|
+
* its signal would, and waits for it.
|
|
3938
|
+
*
|
|
3939
|
+
* @param request The folder.
|
|
3940
|
+
* @param signal Stops the call until the store is moved aside; none by default.
|
|
3941
|
+
* @returns The outcome `Deleted`, also for a folder that has no checkpoints, or `HeldUp` while an interrupted restore of the folder
|
|
3942
|
+
* can't finish.
|
|
3943
|
+
* @throws {Error} When the system refuses to move the store aside, after trying for about 5 s while it holds a file; the store is
|
|
3944
|
+
* left whole.
|
|
3945
|
+
* @example
|
|
3946
|
+
* ```ts
|
|
3947
|
+
* import { DeleteFolderRequest, FolderReference, type CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
3948
|
+
*
|
|
3949
|
+
* export async function forgetAsync(checkpoints: CheckpointsService): Promise<string> {
|
|
3950
|
+
* const result = await checkpoints.deleteFolderAsync(new DeleteFolderRequest(new FolderReference("project-1", "/work/project")));
|
|
3951
|
+
* return result.outcome.value;
|
|
3952
|
+
* }
|
|
3953
|
+
* ```
|
|
3954
|
+
*/
|
|
3955
|
+
public abstract deleteFolderAsync(request: DeleteFolderRequest, signal?: AbortSignal): Promise<DeleteFolderResult>;
|
|
3956
|
+
|
|
3957
|
+
/**
|
|
3958
|
+
* Lists a folder's checkpoints.
|
|
3959
|
+
*
|
|
3960
|
+
* @param request The folder.
|
|
3961
|
+
* @param signal Stops the call; none by default.
|
|
3962
|
+
* @returns The folder's checkpoints, newest first; none for a folder never captured.
|
|
3963
|
+
* @throws {GitException} When a Git command fails.
|
|
3964
|
+
* @throws {StoreException} When the folder's store holds a checkpoint the module can't read.
|
|
3965
|
+
* @throws {Error} When the system refuses the module a step of its own, such as reading its store or finishing an interrupted restore of the folder.
|
|
3966
|
+
* @example
|
|
3967
|
+
* ```ts
|
|
3968
|
+
* import { FolderReference, ListRequest, type CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
3969
|
+
*
|
|
3970
|
+
* export async function newestAsync(checkpoints: CheckpointsService): Promise<string | null> {
|
|
3971
|
+
* const list = await checkpoints.listAsync(new ListRequest(new FolderReference("project-1", "/work/project")));
|
|
3972
|
+
* return list.checkpoints[0]?.id ?? null;
|
|
3973
|
+
* }
|
|
3974
|
+
* ```
|
|
3975
|
+
*/
|
|
3976
|
+
public abstract listAsync(request: ListRequest, signal?: AbortSignal): Promise<CheckpointList>;
|
|
3977
|
+
|
|
3978
|
+
/**
|
|
3979
|
+
* Plans a restore of one of a folder's checkpoints over the folder now, which it walks in the checkpoint's own mode: each path the
|
|
3980
|
+
* restore writes, replaces or deletes, with its side now and in the checkpoint, and each path that stays as it is, with its reason:
|
|
3981
|
+
* a `.git` or another name for one, a folder that holds a `.git` at any depth or one above it, a path either side's rules ignore,
|
|
3982
|
+
* one either side couldn't read, or a link this system won't let the module create. It writes nothing to the folder.
|
|
3983
|
+
*
|
|
3984
|
+
* @param request The folder and the checkpoint to restore.
|
|
3985
|
+
* @param signal Stops the call; none by default.
|
|
3986
|
+
* @returns The plan, with the state of the folder it was planned on; or the outcome `HeldUp` while a restore holds the folder,
|
|
3987
|
+
* `CheckpointMissing` when the checkpoint is missing, or `FolderMissing` when the folder's path is missing.
|
|
3988
|
+
* @throws {GitException} When a Git command fails.
|
|
3989
|
+
* @throws {StoreException} When the folder's store holds a checkpoint the module can't read.
|
|
3990
|
+
* @throws {Error} When the system refuses the module a step of its own, such as reading its store, finishing an interrupted restore of the folder or
|
|
3991
|
+
* reading the folder itself (EACCES).
|
|
3992
|
+
* @example
|
|
3993
|
+
* ```ts
|
|
3994
|
+
* import { FolderReference, PreviewRequest, type CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
3995
|
+
*
|
|
3996
|
+
* export async function stepCountAsync(checkpoints: CheckpointsService, checkpoint: string): Promise<number> {
|
|
3997
|
+
* const result = await checkpoints.previewRestoreAsync(new PreviewRequest(new FolderReference("project-1", "/work/project"), checkpoint, ["src"]));
|
|
3998
|
+
* return result.plan?.steps.length ?? 0;
|
|
3999
|
+
* }
|
|
4000
|
+
* ```
|
|
4001
|
+
*/
|
|
4002
|
+
public abstract previewRestoreAsync(request: PreviewRequest, signal?: AbortSignal): Promise<PreviewResult>;
|
|
4003
|
+
|
|
4004
|
+
/**
|
|
4005
|
+
* Reads one file of a checkpoint: its content, or its line diff to another checkpoint or to the folder now, cut at the request's
|
|
4006
|
+
* limit. A diff to the folder now writes the file's content there into the store as one object no checkpoint names; nothing else
|
|
4007
|
+
* is written.
|
|
4008
|
+
*
|
|
4009
|
+
* @param request The folder, the checkpoint, the path, what to diff against, if anything, and the most bytes to give.
|
|
4010
|
+
* @param signal Stops the call; none by default.
|
|
4011
|
+
* @returns The content or the diff, with its whole size, so a result shorter than its size is cut; or why there's none.
|
|
4012
|
+
* @throws {GitException} When a Git command fails.
|
|
4013
|
+
* @throws {StoreException} When the folder's store holds a checkpoint the module can't read.
|
|
4014
|
+
* @throws {Error} When the system refuses the module a step of its own, such as reading its store, finishing an interrupted restore of the folder, or,
|
|
4015
|
+
* for the folder now, reading the folder itself (EACCES).
|
|
4016
|
+
* @example
|
|
4017
|
+
* ```ts
|
|
4018
|
+
* import { DiffTarget, FolderReference, ReadRequest, type CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
4019
|
+
*
|
|
4020
|
+
* export async function diffToNowAsync(checkpoints: CheckpointsService, checkpoint: string): Promise<Uint8Array> {
|
|
4021
|
+
* const request = new ReadRequest(new FolderReference("project-1", "/work/project"), checkpoint, "src/main.ts", new DiffTarget(null), 65536);
|
|
4022
|
+
* return (await checkpoints.readAsync(request)).content;
|
|
4023
|
+
* }
|
|
4024
|
+
* ```
|
|
4025
|
+
*/
|
|
4026
|
+
public abstract readAsync(request: ReadRequest, signal?: AbortSignal): Promise<ReadResult>;
|
|
4027
|
+
|
|
4028
|
+
/**
|
|
4029
|
+
* Restores one of a folder's checkpoints by the plan its preview gave, whole or not at all. It plans again and refuses a plan the
|
|
4030
|
+
* folder has moved on from, then takes a checkpoint of the folder labelled `Before restore`, limited to the paths the restore may
|
|
4031
|
+
* change when it is limited, which undoes the restore. A checkpoint captured with paths restores only those. It stages
|
|
4032
|
+
* new content in a folder of its own at the folder's root, moves each file it replaces or deletes aside and compares it with that
|
|
4033
|
+
* checkpoint, so a file another program wrote is never lost; it never writes through a link, never changes a `.git`, and never
|
|
4034
|
+
* moves, renames or removes a folder that holds one. A restore that fails rolls back; one interrupted is finished or undone when the folder is next
|
|
4035
|
+
* opened. It raises `checkpoints.restored` when it finishes, and `checkpoints.restoreHeldUp` when its rollback can't.
|
|
4036
|
+
*
|
|
4037
|
+
* @param request The folder and the plan its preview gave.
|
|
4038
|
+
* @param signal Stops the call until the restore starts writing its journal; none by default.
|
|
4039
|
+
* @returns The outcome, with the checkpoint taken before the restore when it restored or rolled back, and, when it restored, the
|
|
4040
|
+
* checkpoint labelled `Recovered after restore` that keeps what another program changed in a file the restore had moved aside;
|
|
4041
|
+
* or `MovedOn` when the folder no longer matches the plan, `LowDiskSpace`, `TooLarge`, with the size of the new and changed files
|
|
4042
|
+
* and its limit, when the checkpoint taken before the restore would add over 1 GiB, `CheckpointMissing`, `FolderMissing` or `HeldUp`.
|
|
4043
|
+
* @throws {GitException} When a Git command fails before the restore changes anything.
|
|
4044
|
+
* @throws {StoreException} When the folder's store holds a file the module can't read.
|
|
4045
|
+
* @throws {Error} When the system refuses the module a step of its own before the restore changes anything, such as reading the
|
|
4046
|
+
* folder itself (EACCES), writing its store (ENOSPC) or finishing an interrupted restore of the folder.
|
|
4047
|
+
* @example
|
|
4048
|
+
* ```ts
|
|
4049
|
+
* import { FolderReference, PreviewRequest, RestoreRequest, type CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
4050
|
+
*
|
|
4051
|
+
* export async function restoreAsync(checkpoints: CheckpointsService, checkpoint: string): Promise<string> {
|
|
4052
|
+
* const folder = new FolderReference("project-1", "/work/project");
|
|
4053
|
+
* const preview = await checkpoints.previewRestoreAsync(new PreviewRequest(folder, checkpoint, null));
|
|
4054
|
+
* if (Object.isNull(preview.plan))
|
|
4055
|
+
* return preview.outcome.value;
|
|
4056
|
+
* return (await checkpoints.restoreAsync(new RestoreRequest(folder, preview.plan))).outcome.value;
|
|
4057
|
+
* }
|
|
4058
|
+
* ```
|
|
4059
|
+
*/
|
|
4060
|
+
public abstract restoreAsync(request: RestoreRequest, signal?: AbortSignal): Promise<RestoreResult>;
|
|
4061
|
+
|
|
4062
|
+
/**
|
|
4063
|
+
* Lists every folder's space used: the sum of the sizes of its store's files, and the path the folder had at its last capture. It
|
|
4064
|
+
* reads outside the folders' calls, so it never waits for one; a capture or a housekeeping pass running meanwhile may change the
|
|
4065
|
+
* sizes at once. A folder whose store a delete is moving aside is left out, and a delete waits for a call reading it. Space a delete
|
|
4066
|
+
* couldn't free yet isn't listed.
|
|
4067
|
+
*
|
|
4068
|
+
* @param signal Stops the call; none by default.
|
|
4069
|
+
* @returns The folders, the largest first; none when no folder was ever captured.
|
|
4070
|
+
* @throws {Error} When the system refuses to list the module's stores, or a store's files, other than one that is gone.
|
|
4071
|
+
* @example
|
|
4072
|
+
* ```ts
|
|
4073
|
+
* import type { CheckpointsService } from "@noldova/checkpoints.protocol";
|
|
4074
|
+
*
|
|
4075
|
+
* export async function usedBytesAsync(checkpoints: CheckpointsService): Promise<number> {
|
|
4076
|
+
* const list = await checkpoints.storageAsync();
|
|
4077
|
+
* return list.folders.reduce((total, t) => total + t.bytes, 0);
|
|
4078
|
+
* }
|
|
4079
|
+
* ```
|
|
4080
|
+
*/
|
|
4081
|
+
public abstract storageAsync(signal?: AbortSignal): Promise<StorageList>;
|
|
4082
|
+
}
|
package/src/api/index.js
CHANGED
|
@@ -56,6 +56,7 @@ export { ChangeSide } from "../models/change-side.js";
|
|
|
56
56
|
export { ChangeStatus } from "../models/change-status.js";
|
|
57
57
|
export { Checkpoint } from "../models/checkpoint.js";
|
|
58
58
|
export { CheckpointList } from "../models/checkpoint-list.js";
|
|
59
|
+
export { CheckpointsNames } from "../models/checkpoints-names.js";
|
|
59
60
|
export { CompareOutcome } from "../models/compare-outcome.js";
|
|
60
61
|
export { CompareRequest } from "../models/compare-request.js";
|
|
61
62
|
export { CompareResult } from "../models/compare-result.js";
|
|
@@ -87,4 +88,5 @@ export { StorageList } from "../models/storage-list.js";
|
|
|
87
88
|
export { StorageRequest } from "../models/storage-request.js";
|
|
88
89
|
export { UnreadPath } from "../models/unread-path.js";
|
|
89
90
|
export { UnreadReason } from "../models/unread-reason.js";
|
|
91
|
+
export { CheckpointsService } from "../services/checkpoints.service.js";
|
|
90
92
|
//# sourceMappingURL=index.js.map
|
package/src/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints.protocol/src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,kCAAkC,EAAE,MA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AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
export class CheckpointsNames {
|
|
10
|
+
static service = Resources.serviceName;
|
|
11
|
+
static serviceBrand = Symbol.for(Resources.serviceBrandKey);
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=checkpoints-names.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkpoints-names.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints.protocol/src/models/checkpoints-names.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,MAAM,OAAO,gBAAgB;IACpB,MAAM,CAAU,OAAO,GAAW,SAAS,CAAC,WAAW,CAAC;IACxD,MAAM,CAAU,YAAY,GAAkB,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;CAC5F"}
|
package/src/resources.js
CHANGED
|
@@ -97,6 +97,8 @@ export class Resources {
|
|
|
97
97
|
static restoreRequestModel = "RestoreRequest";
|
|
98
98
|
static restoreResultModel = "RestoreResult";
|
|
99
99
|
static restoreStepModel = "RestoreStep";
|
|
100
|
+
static serviceBrandKey = "noldova.checkpoints.service.v1";
|
|
101
|
+
static serviceName = "checkpoints.service";
|
|
100
102
|
static sizeField = "size";
|
|
101
103
|
static spaceFreeField = "spaceFree";
|
|
102
104
|
static spaceNeededField = "spaceNeeded";
|
package/src/resources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../../src/noldova.checkpoints.protocol/src/resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,SAAS;IACb,MAAM,CAAU,mBAAmB,GAAW,gDAAgD,CAAC;IAC/F,MAAM,CAAU,WAAW,GAAW,QAAQ,CAAC;IAC/C,MAAM,CAAU,UAAU,GAAW,OAAO,CAAC;IAC7C,MAAM,CAAU,YAAY,GAAW,SAAS,CAAC;IACjD,MAAM,CAAU,aAAa,GAAW,oBAAoB,CAAC;IAC7D,MAAM,CAAU,cAAc,GAAW,kEAAkE,CAAC;IAC5G,MAAM,CAAU,eAAe,GAAW,IAAI,CAAC;IAC/C,MAAM,CAAU,iBAAiB,GAAW,CAAC,CAAC;IAC9C,MAAM,CAAU,aAAa,GAAW,GAAG,CAAC;IAC5C,MAAM,CAAU,aAAa,GAAW,kEAAkE,CAAC;IAC3G,MAAM,CAAU,qBAAqB,GAAW,KAAK,CAAC;IACtD,MAAM,CAAU,SAAS,GAAW,MAAM,CAAC;IAC3C,MAAM,CAAU,WAAW,GAAW,QAAQ,CAAC;IAC/C,MAAM,CAAU,kBAAkB,GAAW,CAAC,CAAC;IAC/C,MAAM,CAAU,WAAW,GAAW,CAAC,CAAC;IACxC,MAAM,CAAU,QAAQ,GAAW,IAAI,CAAC;IACxC,MAAM,CAAU,UAAU,GAAW,OAAO,CAAC;IAC7C,MAAM,CAAU,iBAAiB,GAAW,cAAc,CAAC;IAC3D,MAAM,CAAU,aAAa,GAAW,qBAAqB,CAAC;IAC9D,MAAM,CAAU,kBAAkB,GAAW,2BAA2B,CAAC;IACzE,MAAM,CAAU,uBAAuB,GAAW,oBAAoB,CAAC;IACvE,MAAM,CAAU,mBAAmB,GAAW,gBAAgB,CAAC;IAC/D,MAAM,CAAU,kBAAkB,GAAW,eAAe,CAAC;IAC7D,MAAM,CAAU,mBAAm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,IAAI,KAAK,2DAA2D,CAAC;IAC9E,CAAC;IAEM,MAAM,CAAC,wBAAwB,CAAC,MAAc;QACnD,OAAO,uGAAuG,MAAM,GAAG,CAAC;IAC1H,CAAC;IAEM,MAAM,CAAC,0BAA0B,CAAC,MAAc;QACrD,OAAO,+FAA+F,MAAM,GAAG,CAAC;IAClH,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 "@noldova/context.core";
|
|
9
|
+
import { CheckpointsNames } from "../models/checkpoints-names.js";
|
|
10
|
+
export class CheckpointsService {
|
|
11
|
+
[CheckpointsNames.serviceBrand] = true;
|
|
12
|
+
static is(value) {
|
|
13
|
+
return Object.isObject(value) && CheckpointsNames.serviceBrand in value && value[CheckpointsNames.serviceBrand] === true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=checkpoints.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkpoints.service.js","sourceRoot":"","sources":["../../../../../src/noldova.checkpoints.protocol/src/services/checkpoints.service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,uBAAuB,CAAC;AAK/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAclE,MAAM,OAAgB,kBAAkB;IACtB,CAAC,gBAAgB,CAAC,YAAY,CAAC,GAAS,IAAI,CAAC;IAEtD,MAAM,CAAC,EAAE,CAAC,KAAc;QAC7B,OAAO,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,gBAAgB,CAAC,YAAY,IAAI,KAAK,IAAI,KAAK,CAAC,gBAAgB,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;IAC3H,CAAC;CAiBF"}
|