@gitbeaker/core 39.6.0 → 39.7.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 CHANGED
@@ -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?: string;
4494
+ architecture: string | null;
4495
4495
  description: string;
4496
4496
  contacted_at: string;
4497
- platform?: string;
4498
- projects?: Pick<SimpleProjectSchema, 'id' | 'name' | 'name_with_namespace' | 'path' | 'path_with_namespace'>;
4499
- revision?: string;
4500
- tag_list?: string[];
4501
- version?: string;
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?: number;
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?: MilestoneSchema[];
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?: ReleaseAssetLink[];
6001
+ sources?: ReleaseAssetSource[] | null;
6002
+ links: ReleaseAssetLink[] | null;
6000
6003
  evidence_file_path: string;
6001
6004
  };
6002
- evidences?: ReleaseEvidence[];
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
@@ -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?: string;
4494
+ architecture: string | null;
4495
4495
  description: string;
4496
4496
  contacted_at: string;
4497
- platform?: string;
4498
- projects?: Pick<SimpleProjectSchema, 'id' | 'name' | 'name_with_namespace' | 'path' | 'path_with_namespace'>;
4499
- revision?: string;
4500
- tag_list?: string[];
4501
- version?: string;
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?: number;
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?: MilestoneSchema[];
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?: ReleaseAssetLink[];
6001
+ sources?: ReleaseAssetSource[] | null;
6002
+ links: ReleaseAssetLink[] | null;
6000
6003
  evidence_file_path: string;
6001
6004
  };
6002
- evidences?: ReleaseEvidence[];
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.6.0",
3
+ "version": "39.7.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.6.0",
58
+ "@gitbeaker/requester-utils": "^39.7.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": "873a58b5c2b3849006484928990a01eb6dd457d3"
69
+ "gitHead": "2e51cfc78bbe14e990e907efa93505ba7f43cf6a"
70
70
  }