attlaz-client 1.10.24 → 1.10.26

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.
@@ -1,17 +1,16 @@
1
1
  import { DataValueValue } from '../DataValue.js';
2
2
  export declare class WorkerConfig {
3
+ readonly projectEnvironmentId: string;
4
+ readonly key: string;
5
+ readonly value: DataValueValue | null;
3
6
  static KEY_STATE: string;
4
7
  static KEY_SCALE: string;
5
8
  static KEY_MEMORY_LIMIT: string;
6
9
  static KEY_CPU_LIMIT: string;
7
- static KEY_PLATFORM: string;
8
- static KEY_WORKER_VERSION: string;
10
+ static KEY_RUNNER_IMAGE: string;
9
11
  static KEY_API_ENDPOINT: string;
10
12
  static KEY_API_CLIENT_ID: string;
11
13
  static KEY_API_CLIENT_SECRET: string;
12
- projectEnvironmentId: string;
13
- key: string;
14
- value: DataValueValue | null;
15
14
  constructor(projectEnvironmentId: string, key: string, value: DataValueValue | null);
16
15
  static parse(raw: any): WorkerConfig;
17
16
  }
@@ -1,16 +1,15 @@
1
1
  export class WorkerConfig {
2
+ projectEnvironmentId;
3
+ key;
4
+ value;
2
5
  static KEY_STATE = 'state';
3
6
  static KEY_SCALE = 'scale';
4
7
  static KEY_MEMORY_LIMIT = 'memory_limit';
5
8
  static KEY_CPU_LIMIT = 'cpu_limit';
6
- static KEY_PLATFORM = 'platform';
7
- static KEY_WORKER_VERSION = 'worker_version';
9
+ static KEY_RUNNER_IMAGE = 'runner_image';
8
10
  static KEY_API_ENDPOINT = 'api_endpoint';
9
11
  static KEY_API_CLIENT_ID = 'api_client_id';
10
12
  static KEY_API_CLIENT_SECRET = 'api_client_secret';
11
- projectEnvironmentId;
12
- key;
13
- value;
14
13
  constructor(projectEnvironmentId, key, value) {
15
14
  this.projectEnvironmentId = projectEnvironmentId;
16
15
  this.key = key;
@@ -1,7 +1,7 @@
1
1
  import { Endpoint } from './Endpoint.js';
2
2
  import { Worker } from '../Model/Worker/Worker.js';
3
- import { RunnerImage } from '../Model/Runner/RunnerImage';
4
- import { CollectionResult } from '../Model/Result/CollectionResult';
3
+ import { RunnerImage } from '../Model/Runner/RunnerImage.js';
4
+ import { CollectionResult } from '../Model/Result/CollectionResult.js';
5
5
  export declare class WorkerEndpoint extends Endpoint {
6
6
  getByProjectEnvironment(projectEnvironmentId: string): Promise<Worker | null>;
7
7
  update(projectEnvironmentId: string): Promise<boolean>;
@@ -1,8 +1,8 @@
1
1
  import { Endpoint } from './Endpoint.js';
2
2
  import { Worker } from '../Model/Worker/Worker.js';
3
- import { RunnerImage } from '../Model/Runner/RunnerImage';
4
- import { Utils } from '../Utils';
5
- import { State } from '../Model/State';
3
+ import { RunnerImage } from '../Model/Runner/RunnerImage.js';
4
+ import { Utils } from '../Utils.js';
5
+ import { State } from '../Model/State.js';
6
6
  export class WorkerEndpoint extends Endpoint {
7
7
  async getByProjectEnvironment(projectEnvironmentId) {
8
8
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.10.24",
3
+ "version": "1.10.26",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",