@legit-sdk/core 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +62 -61
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -734,9 +734,11 @@ type Operation = {
|
|
|
734
734
|
oid: string;
|
|
735
735
|
parentOids: string[];
|
|
736
736
|
message: string;
|
|
737
|
+
originBranchOid?: string;
|
|
737
738
|
};
|
|
738
739
|
declare const gitBranchOperationsVirtualFile: VirtualFileDefinition;
|
|
739
740
|
|
|
741
|
+
declare function initMemFSLegitFs(): Promise<CompositeFs>;
|
|
740
742
|
declare function initLegitFs(storageFs: typeof nodeFs, gitRoot: string): Promise<CompositeFs>;
|
|
741
743
|
/**
|
|
742
744
|
* Creates and configures a LegitFs instance with CompositeFs, GitSubFs, HiddenFileSubFs, and EphemeralSubFs.
|
|
@@ -776,5 +778,5 @@ type HistoryItem = {
|
|
|
776
778
|
author: User;
|
|
777
779
|
};
|
|
778
780
|
|
|
779
|
-
export { CompositeFs, EphemeralSubFs, GitSubFs, HiddenFileSubFs, PassThroughSubFs, createGitSyncService, getLegitFsAccess, gitBranchOperationsVirtualFile, initLegitFs, openLegitFs };
|
|
781
|
+
export { CompositeFs, EphemeralSubFs, GitSubFs, HiddenFileSubFs, PassThroughSubFs, createGitSyncService, getLegitFsAccess, gitBranchOperationsVirtualFile, initLegitFs, initMemFSLegitFs, openLegitFs };
|
|
780
782
|
export type { HistoryItem, Operation, User };
|