@gitbeaker/core 39.6.0 → 39.8.0
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.mts +18 -15
- package/dist/index.d.ts +18 -15
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -348,7 +348,7 @@ type CreateUserOptions = {
|
|
|
348
348
|
organization?: string;
|
|
349
349
|
password?: string;
|
|
350
350
|
privateProfile?: string;
|
|
351
|
-
projectsLimit?:
|
|
351
|
+
projectsLimit?: number;
|
|
352
352
|
provider?: string;
|
|
353
353
|
resetPassword?: boolean;
|
|
354
354
|
sharedRunnersMinutesLimit?: number;
|
|
@@ -4491,16 +4491,19 @@ interface RunnerSchema extends Record<string, unknown> {
|
|
|
4491
4491
|
status: 'online' | 'offline';
|
|
4492
4492
|
}
|
|
4493
4493
|
interface ExpandedRunnerSchema extends RunnerSchema {
|
|
4494
|
-
architecture
|
|
4494
|
+
architecture: string | null;
|
|
4495
4495
|
description: string;
|
|
4496
4496
|
contacted_at: string;
|
|
4497
|
-
platform
|
|
4498
|
-
projects
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4497
|
+
platform: string | null;
|
|
4498
|
+
projects: Pick<SimpleProjectSchema, 'id' | 'name' | 'name_with_namespace' | 'path' | 'path_with_namespace'>[];
|
|
4499
|
+
groups: CondensedGroupSchema[];
|
|
4500
|
+
revision: string | null;
|
|
4501
|
+
tag_list: string[] | null;
|
|
4502
|
+
version: string | null;
|
|
4502
4503
|
access_level: string;
|
|
4503
|
-
maximum_timeout
|
|
4504
|
+
maximum_timeout: number | null;
|
|
4505
|
+
run_untagged: boolean;
|
|
4506
|
+
locked: boolean;
|
|
4504
4507
|
}
|
|
4505
4508
|
type AllRunnersOptions = {
|
|
4506
4509
|
type?: 'instance_type' | 'group_type' | 'project_type';
|
|
@@ -5983,23 +5986,23 @@ interface ReleaseAssetLink {
|
|
|
5983
5986
|
}
|
|
5984
5987
|
interface ReleaseSchema extends Record<string, unknown> {
|
|
5985
5988
|
tag_name: string;
|
|
5986
|
-
description: string;
|
|
5987
|
-
name: string;
|
|
5989
|
+
description: string | null;
|
|
5990
|
+
name: string | null;
|
|
5988
5991
|
description_html: string;
|
|
5989
5992
|
created_at: string;
|
|
5990
|
-
released_at: string;
|
|
5993
|
+
released_at: string | null;
|
|
5991
5994
|
user: MappedOmit<UserSchema, 'created_at'>;
|
|
5992
5995
|
commit: CommitSchema;
|
|
5993
|
-
milestones
|
|
5996
|
+
milestones: MilestoneSchema[] | null;
|
|
5994
5997
|
commit_path: string;
|
|
5995
5998
|
tag_path: string;
|
|
5996
5999
|
assets: {
|
|
5997
6000
|
count: number;
|
|
5998
|
-
sources?: ReleaseAssetSource[];
|
|
5999
|
-
links
|
|
6001
|
+
sources?: ReleaseAssetSource[] | null;
|
|
6002
|
+
links: ReleaseAssetLink[] | null;
|
|
6000
6003
|
evidence_file_path: string;
|
|
6001
6004
|
};
|
|
6002
|
-
evidences
|
|
6005
|
+
evidences: ReleaseEvidence[] | null;
|
|
6003
6006
|
}
|
|
6004
6007
|
declare class ProjectReleases<C extends boolean = false> extends BaseResource<C> {
|
|
6005
6008
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema[], C, E, P>>;
|
package/dist/index.d.ts
CHANGED
|
@@ -348,7 +348,7 @@ type CreateUserOptions = {
|
|
|
348
348
|
organization?: string;
|
|
349
349
|
password?: string;
|
|
350
350
|
privateProfile?: string;
|
|
351
|
-
projectsLimit?:
|
|
351
|
+
projectsLimit?: number;
|
|
352
352
|
provider?: string;
|
|
353
353
|
resetPassword?: boolean;
|
|
354
354
|
sharedRunnersMinutesLimit?: number;
|
|
@@ -4491,16 +4491,19 @@ interface RunnerSchema extends Record<string, unknown> {
|
|
|
4491
4491
|
status: 'online' | 'offline';
|
|
4492
4492
|
}
|
|
4493
4493
|
interface ExpandedRunnerSchema extends RunnerSchema {
|
|
4494
|
-
architecture
|
|
4494
|
+
architecture: string | null;
|
|
4495
4495
|
description: string;
|
|
4496
4496
|
contacted_at: string;
|
|
4497
|
-
platform
|
|
4498
|
-
projects
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4497
|
+
platform: string | null;
|
|
4498
|
+
projects: Pick<SimpleProjectSchema, 'id' | 'name' | 'name_with_namespace' | 'path' | 'path_with_namespace'>[];
|
|
4499
|
+
groups: CondensedGroupSchema[];
|
|
4500
|
+
revision: string | null;
|
|
4501
|
+
tag_list: string[] | null;
|
|
4502
|
+
version: string | null;
|
|
4502
4503
|
access_level: string;
|
|
4503
|
-
maximum_timeout
|
|
4504
|
+
maximum_timeout: number | null;
|
|
4505
|
+
run_untagged: boolean;
|
|
4506
|
+
locked: boolean;
|
|
4504
4507
|
}
|
|
4505
4508
|
type AllRunnersOptions = {
|
|
4506
4509
|
type?: 'instance_type' | 'group_type' | 'project_type';
|
|
@@ -5983,23 +5986,23 @@ interface ReleaseAssetLink {
|
|
|
5983
5986
|
}
|
|
5984
5987
|
interface ReleaseSchema extends Record<string, unknown> {
|
|
5985
5988
|
tag_name: string;
|
|
5986
|
-
description: string;
|
|
5987
|
-
name: string;
|
|
5989
|
+
description: string | null;
|
|
5990
|
+
name: string | null;
|
|
5988
5991
|
description_html: string;
|
|
5989
5992
|
created_at: string;
|
|
5990
|
-
released_at: string;
|
|
5993
|
+
released_at: string | null;
|
|
5991
5994
|
user: MappedOmit<UserSchema, 'created_at'>;
|
|
5992
5995
|
commit: CommitSchema;
|
|
5993
|
-
milestones
|
|
5996
|
+
milestones: MilestoneSchema[] | null;
|
|
5994
5997
|
commit_path: string;
|
|
5995
5998
|
tag_path: string;
|
|
5996
5999
|
assets: {
|
|
5997
6000
|
count: number;
|
|
5998
|
-
sources?: ReleaseAssetSource[];
|
|
5999
|
-
links
|
|
6001
|
+
sources?: ReleaseAssetSource[] | null;
|
|
6002
|
+
links: ReleaseAssetLink[] | null;
|
|
6000
6003
|
evidence_file_path: string;
|
|
6001
6004
|
};
|
|
6002
|
-
evidences
|
|
6005
|
+
evidences: ReleaseEvidence[] | null;
|
|
6003
6006
|
}
|
|
6004
6007
|
declare class ProjectReleases<C extends boolean = false> extends BaseResource<C> {
|
|
6005
6008
|
all<E extends boolean = false, P extends PaginationTypes = 'offset'>(projectId: string | number, options?: PaginationRequestOptions<P> & BaseRequestOptions<E>): Promise<GitlabAPIResponse<ReleaseSchema[], C, E, P>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitbeaker/core",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.8.0",
|
|
4
4
|
"description": "Core API implementation of the GitLab API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"release": "auto shipit"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@gitbeaker/requester-utils": "^39.
|
|
58
|
+
"@gitbeaker/requester-utils": "^39.8.0",
|
|
59
59
|
"qs": "^6.11.2",
|
|
60
60
|
"xcase": "^2.0.1"
|
|
61
61
|
},
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"tsx": "^3.12.7",
|
|
67
67
|
"typescript": "^5.1.6"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "86724f338e9deee46bcc311a85a56b4c44883207"
|
|
70
70
|
}
|