@streamlayer/sl-eslib 5.90.0 → 5.90.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
|
@@ -7,14 +7,58 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
|
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { QuestionType } from "../interactive.common_pb.js";
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message streamlayer.interactive.importer.CsvRow
|
|
12
|
+
*/
|
|
13
|
+
export declare class CsvRow extends Message<CsvRow> {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: uint32 row_number = 1;
|
|
16
|
+
*/
|
|
17
|
+
rowNumber: number;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string reason = 2;
|
|
21
|
+
*/
|
|
22
|
+
reason: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: streamlayer.interactive.QuestionType type = 3;
|
|
26
|
+
*/
|
|
27
|
+
type: QuestionType;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string row_id = 4;
|
|
31
|
+
*/
|
|
32
|
+
rowId: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string subject = 5;
|
|
36
|
+
*/
|
|
37
|
+
subject: string;
|
|
38
|
+
|
|
39
|
+
constructor(data?: PartialMessage<CsvRow>);
|
|
40
|
+
|
|
41
|
+
static readonly runtime: typeof proto3;
|
|
42
|
+
static readonly typeName = "streamlayer.interactive.importer.CsvRow";
|
|
43
|
+
static readonly fields: FieldList;
|
|
44
|
+
|
|
45
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CsvRow;
|
|
46
|
+
|
|
47
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CsvRow;
|
|
48
|
+
|
|
49
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CsvRow;
|
|
50
|
+
|
|
51
|
+
static equals(a: CsvRow | PlainMessage<CsvRow> | undefined, b: CsvRow | PlainMessage<CsvRow> | undefined): boolean;
|
|
52
|
+
}
|
|
53
|
+
|
|
10
54
|
/**
|
|
11
55
|
* @generated from message streamlayer.interactive.importer.CsvInvalidRow
|
|
12
56
|
*/
|
|
13
57
|
export declare class CsvInvalidRow extends Message<CsvInvalidRow> {
|
|
14
58
|
/**
|
|
15
|
-
* @generated from field:
|
|
59
|
+
* @generated from field: streamlayer.interactive.importer.CsvRow row = 1;
|
|
16
60
|
*/
|
|
17
|
-
row
|
|
61
|
+
row?: CsvRow;
|
|
18
62
|
|
|
19
63
|
/**
|
|
20
64
|
* @generated from field: uint32 row_number = 2;
|
|
@@ -6,13 +6,27 @@
|
|
|
6
6
|
import { proto3 } from "@bufbuild/protobuf";
|
|
7
7
|
import { QuestionType } from "../interactive.common_pb.js";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message streamlayer.interactive.importer.CsvRow
|
|
11
|
+
*/
|
|
12
|
+
export const CsvRow = proto3.makeMessageType(
|
|
13
|
+
"streamlayer.interactive.importer.CsvRow",
|
|
14
|
+
() => [
|
|
15
|
+
{ no: 1, name: "row_number", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
16
|
+
{ no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
17
|
+
{ no: 3, name: "type", kind: "enum", T: proto3.getEnumType(QuestionType) },
|
|
18
|
+
{ no: 4, name: "row_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
19
|
+
{ no: 5, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
20
|
+
],
|
|
21
|
+
);
|
|
22
|
+
|
|
9
23
|
/**
|
|
10
24
|
* @generated from message streamlayer.interactive.importer.CsvInvalidRow
|
|
11
25
|
*/
|
|
12
26
|
export const CsvInvalidRow = proto3.makeMessageType(
|
|
13
27
|
"streamlayer.interactive.importer.CsvInvalidRow",
|
|
14
28
|
() => [
|
|
15
|
-
{ no: 1, name: "row", kind: "
|
|
29
|
+
{ no: 1, name: "row", kind: "message", T: CsvRow },
|
|
16
30
|
{ no: 2, name: "row_number", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
17
31
|
{ no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
18
32
|
],
|