@chisquare-tech/origine-ngx-apps-code 0.11.1 → 0.11.2
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chisquare-tech/origine-ngx-apps-code",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Origine's Code module screens: repositories, files, commits, branches, pull requests and review, repository settings.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -859,9 +859,16 @@ declare class CommitBox {
|
|
|
859
859
|
protected readonly toNew: _angular_core.WritableSignal<boolean>;
|
|
860
860
|
protected readonly newBranch: _angular_core.WritableSignal<string>;
|
|
861
861
|
private readonly rules;
|
|
862
|
-
/**
|
|
862
|
+
/** Whether the branch's rules are known yet. */
|
|
863
|
+
protected readonly rulesState: _angular_core.WritableSignal<"loading" | "loaded" | "failed">;
|
|
864
|
+
/**
|
|
865
|
+
* Direct commits are refused (or may be): the rules block direct pushes, or require signed
|
|
866
|
+
* commits (a browser commit is unsigned), or they could not be loaded.
|
|
867
|
+
*/
|
|
863
868
|
protected readonly blocked: _angular_core.Signal<boolean>;
|
|
869
|
+
private rulesFor;
|
|
864
870
|
constructor();
|
|
871
|
+
protected loadRules(): void;
|
|
865
872
|
protected send(): void;
|
|
866
873
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommitBox, never>;
|
|
867
874
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CommitBox, "o-commit-box", never, { "repo": { "alias": "repo"; "required": true; "isSignal": true; }; "branch": { "alias": "branch"; "required": true; "isSignal": true; }; "defaultMessage": { "alias": "defaultMessage"; "required": false; "isSignal": true; }; "busy": { "alias": "busy"; "required": false; "isSignal": true; }; }, { "commit": "commit"; "cancel": "cancel"; }, never, never, true, never>;
|
|
@@ -875,7 +882,7 @@ declare class FilePage extends RepoPage {
|
|
|
875
882
|
protected readonly ref: _angular_core.WritableSignal<string>;
|
|
876
883
|
protected readonly path: _angular_core.WritableSignal<string>;
|
|
877
884
|
protected readonly line: _angular_core.WritableSignal<number>;
|
|
878
|
-
protected readonly view: _angular_core.WritableSignal<"
|
|
885
|
+
protected readonly view: _angular_core.WritableSignal<"code" | "preview">;
|
|
879
886
|
protected readonly copied: _angular_core.WritableSignal<boolean>;
|
|
880
887
|
protected readonly ago: (s?: string) => string;
|
|
881
888
|
protected readonly initials: typeof initials;
|
|
@@ -885,7 +892,7 @@ declare class FilePage extends RepoPage {
|
|
|
885
892
|
path: string;
|
|
886
893
|
}[]>;
|
|
887
894
|
protected readonly meta: _angular_core.Signal<string>;
|
|
888
|
-
protected readonly mode: _angular_core.WritableSignal<"" | "
|
|
895
|
+
protected readonly mode: _angular_core.WritableSignal<"" | "delete" | "edit">;
|
|
889
896
|
protected readonly text: _angular_core.WritableSignal<string | null>;
|
|
890
897
|
protected readonly busy: _angular_core.WritableSignal<boolean>;
|
|
891
898
|
private readonly branches;
|