@aneoconsultingfr/armonik.api.angular 3.11.0-edge.28.34a9809 → 3.11.0-edge.30.e4e5e2b

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,7 +1,7 @@
1
1
  import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
2
2
  import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
3
3
  import * as armonikApiGrpcV1Sort_direction000 from './sort-direction.pb';
4
- export declare enum PartitionRawField {
4
+ export declare enum PartitionRawEnumField {
5
5
  PARTITION_RAW_FIELD_UNSPECIFIED = 0,
6
6
  PARTITION_RAW_FIELD_ID = 1,
7
7
  PARTITION_RAW_FIELD_PARENT_PARTITION_IDS = 2,
@@ -191,6 +191,75 @@ export declare module PartitionRaw {
191
191
  }
192
192
  }
193
193
  }
194
+ /**
195
+ * Message implementation for armonik.api.grpc.v1.partitions.PartitionRawField
196
+ */
197
+ export declare class PartitionRawField implements GrpcMessage {
198
+ static id: string;
199
+ /**
200
+ * Deserialize binary data to message
201
+ * @param instance message instance
202
+ */
203
+ static deserializeBinary(bytes: ByteSource): PartitionRawField;
204
+ /**
205
+ * Check all the properties and set default protobuf values if necessary
206
+ * @param _instance message instance
207
+ */
208
+ static refineValues(_instance: PartitionRawField): void;
209
+ /**
210
+ * Deserializes / reads binary message into message instance using provided binary reader
211
+ * @param _instance message instance
212
+ * @param _reader binary reader instance
213
+ */
214
+ static deserializeBinaryFromReader(_instance: PartitionRawField, _reader: BinaryReader): void;
215
+ /**
216
+ * Serializes a message to binary format using provided binary reader
217
+ * @param _instance message instance
218
+ * @param _writer binary writer instance
219
+ */
220
+ static serializeBinaryToWriter(_instance: PartitionRawField, _writer: BinaryWriter): void;
221
+ private _field;
222
+ /**
223
+ * Message constructor. Initializes the properties and applies default Protobuf values if necessary
224
+ * @param _value initial values object or instance of PartitionRawField to deeply clone from
225
+ */
226
+ constructor(_value?: RecursivePartial<PartitionRawField.AsObject>);
227
+ get field(): PartitionRawEnumField;
228
+ set field(value: PartitionRawEnumField);
229
+ /**
230
+ * Serialize message to binary data
231
+ * @param instance message instance
232
+ */
233
+ serializeBinary(): Uint8Array;
234
+ /**
235
+ * Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
236
+ */
237
+ toObject(): PartitionRawField.AsObject;
238
+ /**
239
+ * Convenience method to support JSON.stringify(message), replicates the structure of toObject()
240
+ */
241
+ toJSON(): PartitionRawField.AsObject;
242
+ /**
243
+ * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
244
+ * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
245
+ * If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
246
+ */
247
+ toProtobufJSON(options?: ToProtobufJSONOptions): PartitionRawField.AsProtobufJSON;
248
+ }
249
+ export declare module PartitionRawField {
250
+ /**
251
+ * Standard JavaScript object representation for PartitionRawField
252
+ */
253
+ interface AsObject {
254
+ field: PartitionRawEnumField;
255
+ }
256
+ /**
257
+ * Protobuf JSON representation for PartitionRawField
258
+ */
259
+ interface AsProtobufJSON {
260
+ field: string;
261
+ }
262
+ }
194
263
  /**
195
264
  * Message implementation for armonik.api.grpc.v1.partitions.PartitionField
196
265
  */
@@ -218,15 +287,15 @@ export declare class PartitionField implements GrpcMessage {
218
287
  * @param _writer binary writer instance
219
288
  */
220
289
  static serializeBinaryToWriter(_instance: PartitionField, _writer: BinaryWriter): void;
221
- private _partitionRawField;
290
+ private _partitionRawField?;
222
291
  private _field;
223
292
  /**
224
293
  * Message constructor. Initializes the properties and applies default Protobuf values if necessary
225
294
  * @param _value initial values object or instance of PartitionField to deeply clone from
226
295
  */
227
296
  constructor(_value?: RecursivePartial<PartitionField.AsObject>);
228
- get partitionRawField(): PartitionRawField;
229
- set partitionRawField(value: PartitionRawField);
297
+ get partitionRawField(): PartitionRawField | undefined;
298
+ set partitionRawField(value: PartitionRawField | undefined);
230
299
  get field(): PartitionField.FieldCase;
231
300
  /**
232
301
  * Serialize message to binary data
@@ -253,13 +322,13 @@ export declare module PartitionField {
253
322
  * Standard JavaScript object representation for PartitionField
254
323
  */
255
324
  interface AsObject {
256
- partitionRawField: PartitionRawField;
325
+ partitionRawField?: PartitionRawField.AsObject;
257
326
  }
258
327
  /**
259
328
  * Protobuf JSON representation for PartitionField
260
329
  */
261
330
  interface AsProtobufJSON {
262
- partitionRawField: string | null;
331
+ partitionRawField: PartitionRawField.AsProtobufJSON | null;
263
332
  }
264
333
  enum FieldCase {
265
334
  none = 0,
package/lib/index.d.ts CHANGED
@@ -12,7 +12,7 @@ export { SessionsClient } from "./generated/sessions-service.pbsc";
12
12
  export { TaskStatus } from "./generated/task-status.pb";
13
13
  export { CancelTasksRequest, CancelTasksResponse, GetResultIdsRequest, GetResultIdsResponse, GetTaskRequest, GetTaskResponse, ListTasksRequest, ListTasksResponse, CountTasksByStatusRequest, CountTasksByStatusResponse, TaskRaw, TaskSummary, TaskField, TaskOptionEnumField, TaskSummaryEnumField, TaskSummaryField, TaskOptionField, TaskOptionGenericField, } from "./generated/tasks-common.pb";
14
14
  export { TasksClient } from "./generated/tasks-service.pbsc";
15
- export { GetPartitionRequest, GetPartitionResponse, ListPartitionsRequest, ListPartitionsResponse, PartitionRaw, PartitionRawField, PartitionField, } from "./generated/partitions-common.pb";
15
+ export { GetPartitionRequest, GetPartitionResponse, ListPartitionsRequest, ListPartitionsResponse, PartitionRaw, PartitionRawEnumField, PartitionRawField, PartitionField, } from "./generated/partitions-common.pb";
16
16
  export { PartitionsClient } from "./generated/partitions-service.pbsc";
17
17
  export { StatusCount } from "./generated/objects.pb";
18
18
  export { ListVersionsRequest, ListVersionsResponse } from "./generated/versions-common.pb";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneoconsultingfr/armonik.api.angular",
3
- "version": "3.11.0-edge.28.34a9809",
3
+ "version": "3.11.0-edge.30.e4e5e2b",
4
4
  "description": "gRPC API to interact with ArmoniK built for Angular",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^16.1.3",