@openfeature/flagd-provider 0.7.5 → 0.7.7
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/index.cjs +4478 -1544
- package/index.js +4479 -1542
- package/package.json +5 -6
- package/src/index.d.ts +1 -1
- package/src/lib/configuration.d.ts +55 -55
- package/src/lib/constants.d.ts +5 -5
- package/src/lib/flagd-provider.d.ts +25 -25
- package/src/lib/service/grpc/service.d.ts +50 -47
- package/src/lib/service/service.d.ts +8 -8
- package/src/package.json +1 -1
- package/src/proto/ts/google/protobuf/struct.d.ts +184 -184
- package/src/proto/ts/schema/v1/schema.client.d.ts +96 -96
- package/src/proto/ts/schema/v1/schema.d.ts +490 -490
- package/src/proto/ts/sync/v1/sync_service.client.d.ts +46 -46
- package/src/proto/ts/sync/v1/sync_service.d.ts +183 -153
|
@@ -1,184 +1,184 @@
|
|
|
1
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
-
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
-
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
-
import type { JsonValue } from "@protobuf-ts/runtime";
|
|
7
|
-
import type { JsonReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
-
import type { JsonWriteOptions } from "@protobuf-ts/runtime";
|
|
9
|
-
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
|
-
/**
|
|
11
|
-
* `Struct` represents a structured data value, consisting of fields
|
|
12
|
-
* which map to dynamically typed values. In some languages, `Struct`
|
|
13
|
-
* might be supported by a native representation. For example, in
|
|
14
|
-
* scripting languages like JS a struct is represented as an
|
|
15
|
-
* object. The details of that representation are described together
|
|
16
|
-
* with the proto support for the language.
|
|
17
|
-
*
|
|
18
|
-
* The JSON representation for `Struct` is JSON object.
|
|
19
|
-
*
|
|
20
|
-
* @generated from protobuf message google.protobuf.Struct
|
|
21
|
-
*/
|
|
22
|
-
export interface Struct {
|
|
23
|
-
/**
|
|
24
|
-
* Unordered map of dynamically typed values.
|
|
25
|
-
*
|
|
26
|
-
* @generated from protobuf field: map<string, google.protobuf.Value> fields = 1;
|
|
27
|
-
*/
|
|
28
|
-
fields: {
|
|
29
|
-
[key: string]: Value;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* `Value` represents a dynamically typed value which can be either
|
|
34
|
-
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
35
|
-
* list of values. A producer of value is expected to set one of these
|
|
36
|
-
* variants. Absence of any variant indicates an error.
|
|
37
|
-
*
|
|
38
|
-
* The JSON representation for `Value` is JSON value.
|
|
39
|
-
*
|
|
40
|
-
* @generated from protobuf message google.protobuf.Value
|
|
41
|
-
*/
|
|
42
|
-
export interface Value {
|
|
43
|
-
/**
|
|
44
|
-
* @generated from protobuf oneof: kind
|
|
45
|
-
*/
|
|
46
|
-
kind: {
|
|
47
|
-
oneofKind: "nullValue";
|
|
48
|
-
/**
|
|
49
|
-
* Represents a null value.
|
|
50
|
-
*
|
|
51
|
-
* @generated from protobuf field: google.protobuf.NullValue null_value = 1;
|
|
52
|
-
*/
|
|
53
|
-
nullValue: NullValue;
|
|
54
|
-
} | {
|
|
55
|
-
oneofKind: "numberValue";
|
|
56
|
-
/**
|
|
57
|
-
* Represents a double value.
|
|
58
|
-
*
|
|
59
|
-
* @generated from protobuf field: double number_value = 2;
|
|
60
|
-
*/
|
|
61
|
-
numberValue: number;
|
|
62
|
-
} | {
|
|
63
|
-
oneofKind: "stringValue";
|
|
64
|
-
/**
|
|
65
|
-
* Represents a string value.
|
|
66
|
-
*
|
|
67
|
-
* @generated from protobuf field: string string_value = 3;
|
|
68
|
-
*/
|
|
69
|
-
stringValue: string;
|
|
70
|
-
} | {
|
|
71
|
-
oneofKind: "boolValue";
|
|
72
|
-
/**
|
|
73
|
-
* Represents a boolean value.
|
|
74
|
-
*
|
|
75
|
-
* @generated from protobuf field: bool bool_value = 4;
|
|
76
|
-
*/
|
|
77
|
-
boolValue: boolean;
|
|
78
|
-
} | {
|
|
79
|
-
oneofKind: "structValue";
|
|
80
|
-
/**
|
|
81
|
-
* Represents a structured value.
|
|
82
|
-
*
|
|
83
|
-
* @generated from protobuf field: google.protobuf.Struct struct_value = 5;
|
|
84
|
-
*/
|
|
85
|
-
structValue: Struct;
|
|
86
|
-
} | {
|
|
87
|
-
oneofKind: "listValue";
|
|
88
|
-
/**
|
|
89
|
-
* Represents a repeated `Value`.
|
|
90
|
-
*
|
|
91
|
-
* @generated from protobuf field: google.protobuf.ListValue list_value = 6;
|
|
92
|
-
*/
|
|
93
|
-
listValue: ListValue;
|
|
94
|
-
} | {
|
|
95
|
-
oneofKind: undefined;
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* `ListValue` is a wrapper around a repeated field of values.
|
|
100
|
-
*
|
|
101
|
-
* The JSON representation for `ListValue` is JSON array.
|
|
102
|
-
*
|
|
103
|
-
* @generated from protobuf message google.protobuf.ListValue
|
|
104
|
-
*/
|
|
105
|
-
export interface ListValue {
|
|
106
|
-
/**
|
|
107
|
-
* Repeated field of dynamically typed values.
|
|
108
|
-
*
|
|
109
|
-
* @generated from protobuf field: repeated google.protobuf.Value values = 1;
|
|
110
|
-
*/
|
|
111
|
-
values: Value[];
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
115
|
-
* `Value` type union.
|
|
116
|
-
*
|
|
117
|
-
* The JSON representation for `NullValue` is JSON `null`.
|
|
118
|
-
*
|
|
119
|
-
* @generated from protobuf enum google.protobuf.NullValue
|
|
120
|
-
*/
|
|
121
|
-
export declare enum NullValue {
|
|
122
|
-
/**
|
|
123
|
-
* Null value.
|
|
124
|
-
*
|
|
125
|
-
* @generated from protobuf enum value: NULL_VALUE = 0;
|
|
126
|
-
*/
|
|
127
|
-
NULL_VALUE = 0
|
|
128
|
-
}
|
|
129
|
-
declare class Struct$Type extends MessageType<Struct> {
|
|
130
|
-
constructor();
|
|
131
|
-
/**
|
|
132
|
-
* Encode `Struct` to JSON object.
|
|
133
|
-
*/
|
|
134
|
-
internalJsonWrite(message: Struct, options: JsonWriteOptions): JsonValue;
|
|
135
|
-
/**
|
|
136
|
-
* Decode `Struct` from JSON object.
|
|
137
|
-
*/
|
|
138
|
-
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Struct): Struct;
|
|
139
|
-
create(value?: PartialMessage<Struct>): Struct;
|
|
140
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Struct): Struct;
|
|
141
|
-
private binaryReadMap1;
|
|
142
|
-
internalBinaryWrite(message: Struct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* @generated MessageType for protobuf message google.protobuf.Struct
|
|
146
|
-
*/
|
|
147
|
-
export declare const Struct: Struct$Type;
|
|
148
|
-
declare class Value$Type extends MessageType<Value> {
|
|
149
|
-
constructor();
|
|
150
|
-
/**
|
|
151
|
-
* Encode `Value` to JSON value.
|
|
152
|
-
*/
|
|
153
|
-
internalJsonWrite(message: Value, options: JsonWriteOptions): JsonValue;
|
|
154
|
-
/**
|
|
155
|
-
* Decode `Value` from JSON value.
|
|
156
|
-
*/
|
|
157
|
-
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Value): Value;
|
|
158
|
-
create(value?: PartialMessage<Value>): Value;
|
|
159
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Value): Value;
|
|
160
|
-
internalBinaryWrite(message: Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* @generated MessageType for protobuf message google.protobuf.Value
|
|
164
|
-
*/
|
|
165
|
-
export declare const Value: Value$Type;
|
|
166
|
-
declare class ListValue$Type extends MessageType<ListValue> {
|
|
167
|
-
constructor();
|
|
168
|
-
/**
|
|
169
|
-
* Encode `ListValue` to JSON array.
|
|
170
|
-
*/
|
|
171
|
-
internalJsonWrite(message: ListValue, options: JsonWriteOptions): JsonValue;
|
|
172
|
-
/**
|
|
173
|
-
* Decode `ListValue` from JSON array.
|
|
174
|
-
*/
|
|
175
|
-
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: ListValue): ListValue;
|
|
176
|
-
create(value?: PartialMessage<ListValue>): ListValue;
|
|
177
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListValue): ListValue;
|
|
178
|
-
internalBinaryWrite(message: ListValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* @generated MessageType for protobuf message google.protobuf.ListValue
|
|
182
|
-
*/
|
|
183
|
-
export declare const ListValue: ListValue$Type;
|
|
184
|
-
export {};
|
|
1
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
2
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
3
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
4
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { JsonValue } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { JsonReadOptions } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { JsonWriteOptions } from "@protobuf-ts/runtime";
|
|
9
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
|
+
/**
|
|
11
|
+
* `Struct` represents a structured data value, consisting of fields
|
|
12
|
+
* which map to dynamically typed values. In some languages, `Struct`
|
|
13
|
+
* might be supported by a native representation. For example, in
|
|
14
|
+
* scripting languages like JS a struct is represented as an
|
|
15
|
+
* object. The details of that representation are described together
|
|
16
|
+
* with the proto support for the language.
|
|
17
|
+
*
|
|
18
|
+
* The JSON representation for `Struct` is JSON object.
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf message google.protobuf.Struct
|
|
21
|
+
*/
|
|
22
|
+
export interface Struct {
|
|
23
|
+
/**
|
|
24
|
+
* Unordered map of dynamically typed values.
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: map<string, google.protobuf.Value> fields = 1;
|
|
27
|
+
*/
|
|
28
|
+
fields: {
|
|
29
|
+
[key: string]: Value;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* `Value` represents a dynamically typed value which can be either
|
|
34
|
+
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
35
|
+
* list of values. A producer of value is expected to set one of these
|
|
36
|
+
* variants. Absence of any variant indicates an error.
|
|
37
|
+
*
|
|
38
|
+
* The JSON representation for `Value` is JSON value.
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf message google.protobuf.Value
|
|
41
|
+
*/
|
|
42
|
+
export interface Value {
|
|
43
|
+
/**
|
|
44
|
+
* @generated from protobuf oneof: kind
|
|
45
|
+
*/
|
|
46
|
+
kind: {
|
|
47
|
+
oneofKind: "nullValue";
|
|
48
|
+
/**
|
|
49
|
+
* Represents a null value.
|
|
50
|
+
*
|
|
51
|
+
* @generated from protobuf field: google.protobuf.NullValue null_value = 1;
|
|
52
|
+
*/
|
|
53
|
+
nullValue: NullValue;
|
|
54
|
+
} | {
|
|
55
|
+
oneofKind: "numberValue";
|
|
56
|
+
/**
|
|
57
|
+
* Represents a double value.
|
|
58
|
+
*
|
|
59
|
+
* @generated from protobuf field: double number_value = 2;
|
|
60
|
+
*/
|
|
61
|
+
numberValue: number;
|
|
62
|
+
} | {
|
|
63
|
+
oneofKind: "stringValue";
|
|
64
|
+
/**
|
|
65
|
+
* Represents a string value.
|
|
66
|
+
*
|
|
67
|
+
* @generated from protobuf field: string string_value = 3;
|
|
68
|
+
*/
|
|
69
|
+
stringValue: string;
|
|
70
|
+
} | {
|
|
71
|
+
oneofKind: "boolValue";
|
|
72
|
+
/**
|
|
73
|
+
* Represents a boolean value.
|
|
74
|
+
*
|
|
75
|
+
* @generated from protobuf field: bool bool_value = 4;
|
|
76
|
+
*/
|
|
77
|
+
boolValue: boolean;
|
|
78
|
+
} | {
|
|
79
|
+
oneofKind: "structValue";
|
|
80
|
+
/**
|
|
81
|
+
* Represents a structured value.
|
|
82
|
+
*
|
|
83
|
+
* @generated from protobuf field: google.protobuf.Struct struct_value = 5;
|
|
84
|
+
*/
|
|
85
|
+
structValue: Struct;
|
|
86
|
+
} | {
|
|
87
|
+
oneofKind: "listValue";
|
|
88
|
+
/**
|
|
89
|
+
* Represents a repeated `Value`.
|
|
90
|
+
*
|
|
91
|
+
* @generated from protobuf field: google.protobuf.ListValue list_value = 6;
|
|
92
|
+
*/
|
|
93
|
+
listValue: ListValue;
|
|
94
|
+
} | {
|
|
95
|
+
oneofKind: undefined;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* `ListValue` is a wrapper around a repeated field of values.
|
|
100
|
+
*
|
|
101
|
+
* The JSON representation for `ListValue` is JSON array.
|
|
102
|
+
*
|
|
103
|
+
* @generated from protobuf message google.protobuf.ListValue
|
|
104
|
+
*/
|
|
105
|
+
export interface ListValue {
|
|
106
|
+
/**
|
|
107
|
+
* Repeated field of dynamically typed values.
|
|
108
|
+
*
|
|
109
|
+
* @generated from protobuf field: repeated google.protobuf.Value values = 1;
|
|
110
|
+
*/
|
|
111
|
+
values: Value[];
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
115
|
+
* `Value` type union.
|
|
116
|
+
*
|
|
117
|
+
* The JSON representation for `NullValue` is JSON `null`.
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf enum google.protobuf.NullValue
|
|
120
|
+
*/
|
|
121
|
+
export declare enum NullValue {
|
|
122
|
+
/**
|
|
123
|
+
* Null value.
|
|
124
|
+
*
|
|
125
|
+
* @generated from protobuf enum value: NULL_VALUE = 0;
|
|
126
|
+
*/
|
|
127
|
+
NULL_VALUE = 0
|
|
128
|
+
}
|
|
129
|
+
declare class Struct$Type extends MessageType<Struct> {
|
|
130
|
+
constructor();
|
|
131
|
+
/**
|
|
132
|
+
* Encode `Struct` to JSON object.
|
|
133
|
+
*/
|
|
134
|
+
internalJsonWrite(message: Struct, options: JsonWriteOptions): JsonValue;
|
|
135
|
+
/**
|
|
136
|
+
* Decode `Struct` from JSON object.
|
|
137
|
+
*/
|
|
138
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Struct): Struct;
|
|
139
|
+
create(value?: PartialMessage<Struct>): Struct;
|
|
140
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Struct): Struct;
|
|
141
|
+
private binaryReadMap1;
|
|
142
|
+
internalBinaryWrite(message: Struct, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @generated MessageType for protobuf message google.protobuf.Struct
|
|
146
|
+
*/
|
|
147
|
+
export declare const Struct: Struct$Type;
|
|
148
|
+
declare class Value$Type extends MessageType<Value> {
|
|
149
|
+
constructor();
|
|
150
|
+
/**
|
|
151
|
+
* Encode `Value` to JSON value.
|
|
152
|
+
*/
|
|
153
|
+
internalJsonWrite(message: Value, options: JsonWriteOptions): JsonValue;
|
|
154
|
+
/**
|
|
155
|
+
* Decode `Value` from JSON value.
|
|
156
|
+
*/
|
|
157
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: Value): Value;
|
|
158
|
+
create(value?: PartialMessage<Value>): Value;
|
|
159
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Value): Value;
|
|
160
|
+
internalBinaryWrite(message: Value, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @generated MessageType for protobuf message google.protobuf.Value
|
|
164
|
+
*/
|
|
165
|
+
export declare const Value: Value$Type;
|
|
166
|
+
declare class ListValue$Type extends MessageType<ListValue> {
|
|
167
|
+
constructor();
|
|
168
|
+
/**
|
|
169
|
+
* Encode `ListValue` to JSON array.
|
|
170
|
+
*/
|
|
171
|
+
internalJsonWrite(message: ListValue, options: JsonWriteOptions): JsonValue;
|
|
172
|
+
/**
|
|
173
|
+
* Decode `ListValue` from JSON array.
|
|
174
|
+
*/
|
|
175
|
+
internalJsonRead(json: JsonValue, options: JsonReadOptions, target?: ListValue): ListValue;
|
|
176
|
+
create(value?: PartialMessage<ListValue>): ListValue;
|
|
177
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListValue): ListValue;
|
|
178
|
+
internalBinaryWrite(message: ListValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* @generated MessageType for protobuf message google.protobuf.ListValue
|
|
182
|
+
*/
|
|
183
|
+
export declare const ListValue: ListValue$Type;
|
|
184
|
+
export {};
|
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
|
-
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
-
import type { EventStreamResponse } from "./schema";
|
|
4
|
-
import type { EventStreamRequest } from "./schema";
|
|
5
|
-
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
6
|
-
import type { ResolveObjectResponse } from "./schema";
|
|
7
|
-
import type { ResolveObjectRequest } from "./schema";
|
|
8
|
-
import type { ResolveIntResponse } from "./schema";
|
|
9
|
-
import type { ResolveIntRequest } from "./schema";
|
|
10
|
-
import type { ResolveFloatResponse } from "./schema";
|
|
11
|
-
import type { ResolveFloatRequest } from "./schema";
|
|
12
|
-
import type { ResolveStringResponse } from "./schema";
|
|
13
|
-
import type { ResolveStringRequest } from "./schema";
|
|
14
|
-
import type { ResolveBooleanResponse } from "./schema";
|
|
15
|
-
import type { ResolveBooleanRequest } from "./schema";
|
|
16
|
-
import type { ResolveAllResponse } from "./schema";
|
|
17
|
-
import type { ResolveAllRequest } from "./schema";
|
|
18
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
19
|
-
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
20
|
-
/**
|
|
21
|
-
* Service defines the exposed rpcs of flagd
|
|
22
|
-
*
|
|
23
|
-
* @generated from protobuf service schema.v1.Service
|
|
24
|
-
*/
|
|
25
|
-
export interface IServiceClient {
|
|
26
|
-
/**
|
|
27
|
-
* @generated from protobuf rpc: ResolveAll(schema.v1.ResolveAllRequest) returns (schema.v1.ResolveAllResponse);
|
|
28
|
-
*/
|
|
29
|
-
resolveAll(input: ResolveAllRequest, options?: RpcOptions): UnaryCall<ResolveAllRequest, ResolveAllResponse>;
|
|
30
|
-
/**
|
|
31
|
-
* @generated from protobuf rpc: ResolveBoolean(schema.v1.ResolveBooleanRequest) returns (schema.v1.ResolveBooleanResponse);
|
|
32
|
-
*/
|
|
33
|
-
resolveBoolean(input: ResolveBooleanRequest, options?: RpcOptions): UnaryCall<ResolveBooleanRequest, ResolveBooleanResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @generated from protobuf rpc: ResolveString(schema.v1.ResolveStringRequest) returns (schema.v1.ResolveStringResponse);
|
|
36
|
-
*/
|
|
37
|
-
resolveString(input: ResolveStringRequest, options?: RpcOptions): UnaryCall<ResolveStringRequest, ResolveStringResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @generated from protobuf rpc: ResolveFloat(schema.v1.ResolveFloatRequest) returns (schema.v1.ResolveFloatResponse);
|
|
40
|
-
*/
|
|
41
|
-
resolveFloat(input: ResolveFloatRequest, options?: RpcOptions): UnaryCall<ResolveFloatRequest, ResolveFloatResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* @generated from protobuf rpc: ResolveInt(schema.v1.ResolveIntRequest) returns (schema.v1.ResolveIntResponse);
|
|
44
|
-
*/
|
|
45
|
-
resolveInt(input: ResolveIntRequest, options?: RpcOptions): UnaryCall<ResolveIntRequest, ResolveIntResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* @generated from protobuf rpc: ResolveObject(schema.v1.ResolveObjectRequest) returns (schema.v1.ResolveObjectResponse);
|
|
48
|
-
*/
|
|
49
|
-
resolveObject(input: ResolveObjectRequest, options?: RpcOptions): UnaryCall<ResolveObjectRequest, ResolveObjectResponse>;
|
|
50
|
-
/**
|
|
51
|
-
* @generated from protobuf rpc: EventStream(schema.v1.EventStreamRequest) returns (stream schema.v1.EventStreamResponse);
|
|
52
|
-
*/
|
|
53
|
-
eventStream(input: EventStreamRequest, options?: RpcOptions): ServerStreamingCall<EventStreamRequest, EventStreamResponse>;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Service defines the exposed rpcs of flagd
|
|
57
|
-
*
|
|
58
|
-
* @generated from protobuf service schema.v1.Service
|
|
59
|
-
*/
|
|
60
|
-
export declare class ServiceClient implements IServiceClient, ServiceInfo {
|
|
61
|
-
private readonly _transport;
|
|
62
|
-
typeName: string;
|
|
63
|
-
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
64
|
-
options: {
|
|
65
|
-
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
66
|
-
};
|
|
67
|
-
constructor(_transport: RpcTransport);
|
|
68
|
-
/**
|
|
69
|
-
* @generated from protobuf rpc: ResolveAll(schema.v1.ResolveAllRequest) returns (schema.v1.ResolveAllResponse);
|
|
70
|
-
*/
|
|
71
|
-
resolveAll(input: ResolveAllRequest, options?: RpcOptions): UnaryCall<ResolveAllRequest, ResolveAllResponse>;
|
|
72
|
-
/**
|
|
73
|
-
* @generated from protobuf rpc: ResolveBoolean(schema.v1.ResolveBooleanRequest) returns (schema.v1.ResolveBooleanResponse);
|
|
74
|
-
*/
|
|
75
|
-
resolveBoolean(input: ResolveBooleanRequest, options?: RpcOptions): UnaryCall<ResolveBooleanRequest, ResolveBooleanResponse>;
|
|
76
|
-
/**
|
|
77
|
-
* @generated from protobuf rpc: ResolveString(schema.v1.ResolveStringRequest) returns (schema.v1.ResolveStringResponse);
|
|
78
|
-
*/
|
|
79
|
-
resolveString(input: ResolveStringRequest, options?: RpcOptions): UnaryCall<ResolveStringRequest, ResolveStringResponse>;
|
|
80
|
-
/**
|
|
81
|
-
* @generated from protobuf rpc: ResolveFloat(schema.v1.ResolveFloatRequest) returns (schema.v1.ResolveFloatResponse);
|
|
82
|
-
*/
|
|
83
|
-
resolveFloat(input: ResolveFloatRequest, options?: RpcOptions): UnaryCall<ResolveFloatRequest, ResolveFloatResponse>;
|
|
84
|
-
/**
|
|
85
|
-
* @generated from protobuf rpc: ResolveInt(schema.v1.ResolveIntRequest) returns (schema.v1.ResolveIntResponse);
|
|
86
|
-
*/
|
|
87
|
-
resolveInt(input: ResolveIntRequest, options?: RpcOptions): UnaryCall<ResolveIntRequest, ResolveIntResponse>;
|
|
88
|
-
/**
|
|
89
|
-
* @generated from protobuf rpc: ResolveObject(schema.v1.ResolveObjectRequest) returns (schema.v1.ResolveObjectResponse);
|
|
90
|
-
*/
|
|
91
|
-
resolveObject(input: ResolveObjectRequest, options?: RpcOptions): UnaryCall<ResolveObjectRequest, ResolveObjectResponse>;
|
|
92
|
-
/**
|
|
93
|
-
* @generated from protobuf rpc: EventStream(schema.v1.EventStreamRequest) returns (stream schema.v1.EventStreamResponse);
|
|
94
|
-
*/
|
|
95
|
-
eventStream(input: EventStreamRequest, options?: RpcOptions): ServerStreamingCall<EventStreamRequest, EventStreamResponse>;
|
|
96
|
-
}
|
|
1
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
2
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
3
|
+
import type { EventStreamResponse } from "./schema";
|
|
4
|
+
import type { EventStreamRequest } from "./schema";
|
|
5
|
+
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import type { ResolveObjectResponse } from "./schema";
|
|
7
|
+
import type { ResolveObjectRequest } from "./schema";
|
|
8
|
+
import type { ResolveIntResponse } from "./schema";
|
|
9
|
+
import type { ResolveIntRequest } from "./schema";
|
|
10
|
+
import type { ResolveFloatResponse } from "./schema";
|
|
11
|
+
import type { ResolveFloatRequest } from "./schema";
|
|
12
|
+
import type { ResolveStringResponse } from "./schema";
|
|
13
|
+
import type { ResolveStringRequest } from "./schema";
|
|
14
|
+
import type { ResolveBooleanResponse } from "./schema";
|
|
15
|
+
import type { ResolveBooleanRequest } from "./schema";
|
|
16
|
+
import type { ResolveAllResponse } from "./schema";
|
|
17
|
+
import type { ResolveAllRequest } from "./schema";
|
|
18
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
19
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
20
|
+
/**
|
|
21
|
+
* Service defines the exposed rpcs of flagd
|
|
22
|
+
*
|
|
23
|
+
* @generated from protobuf service schema.v1.Service
|
|
24
|
+
*/
|
|
25
|
+
export interface IServiceClient {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf rpc: ResolveAll(schema.v1.ResolveAllRequest) returns (schema.v1.ResolveAllResponse);
|
|
28
|
+
*/
|
|
29
|
+
resolveAll(input: ResolveAllRequest, options?: RpcOptions): UnaryCall<ResolveAllRequest, ResolveAllResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf rpc: ResolveBoolean(schema.v1.ResolveBooleanRequest) returns (schema.v1.ResolveBooleanResponse);
|
|
32
|
+
*/
|
|
33
|
+
resolveBoolean(input: ResolveBooleanRequest, options?: RpcOptions): UnaryCall<ResolveBooleanRequest, ResolveBooleanResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf rpc: ResolveString(schema.v1.ResolveStringRequest) returns (schema.v1.ResolveStringResponse);
|
|
36
|
+
*/
|
|
37
|
+
resolveString(input: ResolveStringRequest, options?: RpcOptions): UnaryCall<ResolveStringRequest, ResolveStringResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* @generated from protobuf rpc: ResolveFloat(schema.v1.ResolveFloatRequest) returns (schema.v1.ResolveFloatResponse);
|
|
40
|
+
*/
|
|
41
|
+
resolveFloat(input: ResolveFloatRequest, options?: RpcOptions): UnaryCall<ResolveFloatRequest, ResolveFloatResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf rpc: ResolveInt(schema.v1.ResolveIntRequest) returns (schema.v1.ResolveIntResponse);
|
|
44
|
+
*/
|
|
45
|
+
resolveInt(input: ResolveIntRequest, options?: RpcOptions): UnaryCall<ResolveIntRequest, ResolveIntResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf rpc: ResolveObject(schema.v1.ResolveObjectRequest) returns (schema.v1.ResolveObjectResponse);
|
|
48
|
+
*/
|
|
49
|
+
resolveObject(input: ResolveObjectRequest, options?: RpcOptions): UnaryCall<ResolveObjectRequest, ResolveObjectResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from protobuf rpc: EventStream(schema.v1.EventStreamRequest) returns (stream schema.v1.EventStreamResponse);
|
|
52
|
+
*/
|
|
53
|
+
eventStream(input: EventStreamRequest, options?: RpcOptions): ServerStreamingCall<EventStreamRequest, EventStreamResponse>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Service defines the exposed rpcs of flagd
|
|
57
|
+
*
|
|
58
|
+
* @generated from protobuf service schema.v1.Service
|
|
59
|
+
*/
|
|
60
|
+
export declare class ServiceClient implements IServiceClient, ServiceInfo {
|
|
61
|
+
private readonly _transport;
|
|
62
|
+
typeName: string;
|
|
63
|
+
methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
|
|
64
|
+
options: {
|
|
65
|
+
[extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
|
|
66
|
+
};
|
|
67
|
+
constructor(_transport: RpcTransport);
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf rpc: ResolveAll(schema.v1.ResolveAllRequest) returns (schema.v1.ResolveAllResponse);
|
|
70
|
+
*/
|
|
71
|
+
resolveAll(input: ResolveAllRequest, options?: RpcOptions): UnaryCall<ResolveAllRequest, ResolveAllResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* @generated from protobuf rpc: ResolveBoolean(schema.v1.ResolveBooleanRequest) returns (schema.v1.ResolveBooleanResponse);
|
|
74
|
+
*/
|
|
75
|
+
resolveBoolean(input: ResolveBooleanRequest, options?: RpcOptions): UnaryCall<ResolveBooleanRequest, ResolveBooleanResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* @generated from protobuf rpc: ResolveString(schema.v1.ResolveStringRequest) returns (schema.v1.ResolveStringResponse);
|
|
78
|
+
*/
|
|
79
|
+
resolveString(input: ResolveStringRequest, options?: RpcOptions): UnaryCall<ResolveStringRequest, ResolveStringResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* @generated from protobuf rpc: ResolveFloat(schema.v1.ResolveFloatRequest) returns (schema.v1.ResolveFloatResponse);
|
|
82
|
+
*/
|
|
83
|
+
resolveFloat(input: ResolveFloatRequest, options?: RpcOptions): UnaryCall<ResolveFloatRequest, ResolveFloatResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* @generated from protobuf rpc: ResolveInt(schema.v1.ResolveIntRequest) returns (schema.v1.ResolveIntResponse);
|
|
86
|
+
*/
|
|
87
|
+
resolveInt(input: ResolveIntRequest, options?: RpcOptions): UnaryCall<ResolveIntRequest, ResolveIntResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from protobuf rpc: ResolveObject(schema.v1.ResolveObjectRequest) returns (schema.v1.ResolveObjectResponse);
|
|
90
|
+
*/
|
|
91
|
+
resolveObject(input: ResolveObjectRequest, options?: RpcOptions): UnaryCall<ResolveObjectRequest, ResolveObjectResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* @generated from protobuf rpc: EventStream(schema.v1.EventStreamRequest) returns (stream schema.v1.EventStreamResponse);
|
|
94
|
+
*/
|
|
95
|
+
eventStream(input: EventStreamRequest, options?: RpcOptions): ServerStreamingCall<EventStreamRequest, EventStreamResponse>;
|
|
96
|
+
}
|