@chisquare-tech/origine-ngx-apps-code 0.10.0 → 0.11.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chisquare-tech/origine-ngx-apps-code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
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",
|
|
@@ -125,12 +125,20 @@ interface Comparison {
|
|
|
125
125
|
commits: Commit[];
|
|
126
126
|
files: FileChange[];
|
|
127
127
|
}
|
|
128
|
+
/** A file Git keeps as a Git LFS pointer (DEV-02): the object it names. */
|
|
129
|
+
interface LfsObject {
|
|
130
|
+
oid: string;
|
|
131
|
+
size: number;
|
|
132
|
+
/** Whether the object was uploaded (a pointer can name one that never was). */
|
|
133
|
+
stored: boolean;
|
|
134
|
+
}
|
|
128
135
|
interface Entry {
|
|
129
136
|
name: string;
|
|
130
137
|
path: string;
|
|
131
138
|
type: 'tree' | 'blob' | 'commit';
|
|
132
139
|
size?: number;
|
|
133
140
|
lastCommit?: Commit;
|
|
141
|
+
lfs?: LfsObject;
|
|
134
142
|
}
|
|
135
143
|
interface Tree {
|
|
136
144
|
ref: string;
|
|
@@ -162,6 +170,8 @@ interface Blob {
|
|
|
162
170
|
lastCommit?: Commit;
|
|
163
171
|
/** The file as it is (asked for by the editor; UTF-8 text shown in full). */
|
|
164
172
|
text?: string;
|
|
173
|
+
/** Set for a Git LFS file: the view (size, lines, links) is of the object. */
|
|
174
|
+
lfs?: LfsObject;
|
|
165
175
|
}
|
|
166
176
|
interface CommitRequest {
|
|
167
177
|
branch: string;
|
|
@@ -865,16 +875,17 @@ declare class FilePage extends RepoPage {
|
|
|
865
875
|
protected readonly ref: _angular_core.WritableSignal<string>;
|
|
866
876
|
protected readonly path: _angular_core.WritableSignal<string>;
|
|
867
877
|
protected readonly line: _angular_core.WritableSignal<number>;
|
|
868
|
-
protected readonly view: _angular_core.WritableSignal<"
|
|
878
|
+
protected readonly view: _angular_core.WritableSignal<"preview" | "code">;
|
|
869
879
|
protected readonly copied: _angular_core.WritableSignal<boolean>;
|
|
870
880
|
protected readonly ago: (s?: string) => string;
|
|
871
881
|
protected readonly initials: typeof initials;
|
|
882
|
+
protected readonly size: typeof size;
|
|
872
883
|
protected readonly crumbs: _angular_core.Signal<{
|
|
873
884
|
name: string;
|
|
874
885
|
path: string;
|
|
875
886
|
}[]>;
|
|
876
887
|
protected readonly meta: _angular_core.Signal<string>;
|
|
877
|
-
protected readonly mode: _angular_core.WritableSignal<"" | "
|
|
888
|
+
protected readonly mode: _angular_core.WritableSignal<"" | "edit" | "delete">;
|
|
878
889
|
protected readonly text: _angular_core.WritableSignal<string | null>;
|
|
879
890
|
protected readonly busy: _angular_core.WritableSignal<boolean>;
|
|
880
891
|
private readonly branches;
|
|
@@ -1285,4 +1296,4 @@ declare class CodeSearchPage extends RepoPage {
|
|
|
1285
1296
|
}
|
|
1286
1297
|
|
|
1287
1298
|
export { BranchesPage, CodeApi, CodeHost, CodeSearchPage, CommitBox, CommitPage, CommitsPage, CurrentRepo, CurrentRepoPage, DiffView, FilePage, NewFilePage, NewRepoPage, People, PullPage, PullsPage, RefPicker, ReleasesPage, RepoHomePage, RepoPage, RepoSettingsPage, ReposPage, TOKEN_CSS, ago, apiMessage, checkDot, copy, dayLabel, initials, langColour, matchesPattern, pair, shortDate, size, verifyWhy };
|
|
1288
|
-
export type { BlameHunk, Blob, CheckStatus, CodeHit, CodePerson, CodeProject, Collaborator, Commit, CommitChoice, CommitDetail, CommitRequest, CommitResult, Comparison, DiffHunk, DiffLine, Entry, FileChange, FileDiff, Gate, GateRow, GitPerson, Language, LineComment, NewComment, PRComment, Protection, Pull, PullBrief, Ref, Release, ReleaseAsset, ReleaseInput, Repo, Review, ReviewBrief, SplitRow, Thread, ThreadReply, Timeline, Tree };
|
|
1299
|
+
export type { BlameHunk, Blob, CheckStatus, CodeHit, CodePerson, CodeProject, Collaborator, Commit, CommitChoice, CommitDetail, CommitRequest, CommitResult, Comparison, DiffHunk, DiffLine, Entry, FileChange, FileDiff, Gate, GateRow, GitPerson, Language, LfsObject, LineComment, NewComment, PRComment, Protection, Pull, PullBrief, Ref, Release, ReleaseAsset, ReleaseInput, Repo, Review, ReviewBrief, SplitRow, Thread, ThreadReply, Timeline, Tree };
|