@superblocksteam/sabs-types-js 0.127.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.
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,11 @@
1
+ // package: google.api
2
+ // file: google/api/annotations.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as jspb from "google-protobuf";
8
+ import * as google_api_http_pb from "../../google/api/http_pb";
9
+ import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb";
10
+
11
+ export const http: jspb.ExtensionFieldInfo<google_api_http_pb.HttpRule>;
@@ -0,0 +1,54 @@
1
+ // source: google/api/annotations.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global =
17
+ (typeof globalThis !== 'undefined' && globalThis) ||
18
+ (typeof window !== 'undefined' && window) ||
19
+ (typeof global !== 'undefined' && global) ||
20
+ (typeof self !== 'undefined' && self) ||
21
+ (function () { return this; }).call(null) ||
22
+ Function('return this')();
23
+
24
+ var google_api_http_pb = require('../../google/api/http_pb');
25
+ goog.object.extend(proto, google_api_http_pb);
26
+ var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb');
27
+ goog.object.extend(proto, google_protobuf_descriptor_pb);
28
+ goog.exportSymbol('proto.google.api.http', null, global);
29
+
30
+ /**
31
+ * A tuple of {field number, class constructor} for the extension
32
+ * field named `http`.
33
+ * @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
34
+ */
35
+ proto.google.api.http = new jspb.ExtensionFieldInfo(
36
+ 72295728,
37
+ {http: 0},
38
+ google_api_http_pb.HttpRule,
39
+ /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
40
+ google_api_http_pb.HttpRule.toObject),
41
+ 0);
42
+
43
+ google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo(
44
+ proto.google.api.http,
45
+ jspb.BinaryReader.prototype.readMessage,
46
+ jspb.BinaryWriter.prototype.writeMessage,
47
+ google_api_http_pb.HttpRule.serializeBinaryToWriter,
48
+ google_api_http_pb.HttpRule.deserializeBinaryFromReader,
49
+ false);
50
+ // This registers the extension field with the extended class, so that
51
+ // toObject() will function correctly.
52
+ google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
53
+
54
+ goog.object.extend(exports, proto.google.api);
@@ -0,0 +1 @@
1
+ // GENERATED CODE -- NO SERVICES IN PROTO
@@ -0,0 +1,135 @@
1
+ // package: google.api
2
+ // file: google/api/http.proto
3
+
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+
7
+ import * as jspb from "google-protobuf";
8
+
9
+ export class Http extends jspb.Message {
10
+ clearRulesList(): void;
11
+ getRulesList(): Array<HttpRule>;
12
+ setRulesList(value: Array<HttpRule>): Http;
13
+ addRules(value?: HttpRule, index?: number): HttpRule;
14
+ getFullyDecodeReservedExpansion(): boolean;
15
+ setFullyDecodeReservedExpansion(value: boolean): Http;
16
+
17
+ serializeBinary(): Uint8Array;
18
+ toObject(includeInstance?: boolean): Http.AsObject;
19
+ static toObject(includeInstance: boolean, msg: Http): Http.AsObject;
20
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
21
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
22
+ static serializeBinaryToWriter(message: Http, writer: jspb.BinaryWriter): void;
23
+ static deserializeBinary(bytes: Uint8Array): Http;
24
+ static deserializeBinaryFromReader(message: Http, reader: jspb.BinaryReader): Http;
25
+ }
26
+
27
+ export namespace Http {
28
+ export type AsObject = {
29
+ rulesList: Array<HttpRule.AsObject>,
30
+ fullyDecodeReservedExpansion: boolean,
31
+ }
32
+ }
33
+
34
+ export class HttpRule extends jspb.Message {
35
+ getSelector(): string;
36
+ setSelector(value: string): HttpRule;
37
+
38
+ hasGet(): boolean;
39
+ clearGet(): void;
40
+ getGet(): string;
41
+ setGet(value: string): HttpRule;
42
+
43
+ hasPut(): boolean;
44
+ clearPut(): void;
45
+ getPut(): string;
46
+ setPut(value: string): HttpRule;
47
+
48
+ hasPost(): boolean;
49
+ clearPost(): void;
50
+ getPost(): string;
51
+ setPost(value: string): HttpRule;
52
+
53
+ hasDelete(): boolean;
54
+ clearDelete(): void;
55
+ getDelete(): string;
56
+ setDelete(value: string): HttpRule;
57
+
58
+ hasPatch(): boolean;
59
+ clearPatch(): void;
60
+ getPatch(): string;
61
+ setPatch(value: string): HttpRule;
62
+
63
+ hasCustom(): boolean;
64
+ clearCustom(): void;
65
+ getCustom(): CustomHttpPattern | undefined;
66
+ setCustom(value?: CustomHttpPattern): HttpRule;
67
+ getBody(): string;
68
+ setBody(value: string): HttpRule;
69
+ getResponseBody(): string;
70
+ setResponseBody(value: string): HttpRule;
71
+ clearAdditionalBindingsList(): void;
72
+ getAdditionalBindingsList(): Array<HttpRule>;
73
+ setAdditionalBindingsList(value: Array<HttpRule>): HttpRule;
74
+ addAdditionalBindings(value?: HttpRule, index?: number): HttpRule;
75
+
76
+ getPatternCase(): HttpRule.PatternCase;
77
+
78
+ serializeBinary(): Uint8Array;
79
+ toObject(includeInstance?: boolean): HttpRule.AsObject;
80
+ static toObject(includeInstance: boolean, msg: HttpRule): HttpRule.AsObject;
81
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
82
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
83
+ static serializeBinaryToWriter(message: HttpRule, writer: jspb.BinaryWriter): void;
84
+ static deserializeBinary(bytes: Uint8Array): HttpRule;
85
+ static deserializeBinaryFromReader(message: HttpRule, reader: jspb.BinaryReader): HttpRule;
86
+ }
87
+
88
+ export namespace HttpRule {
89
+ export type AsObject = {
90
+ selector: string,
91
+ get: string,
92
+ put: string,
93
+ post: string,
94
+ pb_delete: string,
95
+ patch: string,
96
+ custom?: CustomHttpPattern.AsObject,
97
+ body: string,
98
+ responseBody: string,
99
+ additionalBindingsList: Array<HttpRule.AsObject>,
100
+ }
101
+
102
+ export enum PatternCase {
103
+ PATTERN_NOT_SET = 0,
104
+ GET = 2,
105
+ PUT = 3,
106
+ POST = 4,
107
+ DELETE = 5,
108
+ PATCH = 6,
109
+ CUSTOM = 8,
110
+ }
111
+
112
+ }
113
+
114
+ export class CustomHttpPattern extends jspb.Message {
115
+ getKind(): string;
116
+ setKind(value: string): CustomHttpPattern;
117
+ getPath(): string;
118
+ setPath(value: string): CustomHttpPattern;
119
+
120
+ serializeBinary(): Uint8Array;
121
+ toObject(includeInstance?: boolean): CustomHttpPattern.AsObject;
122
+ static toObject(includeInstance: boolean, msg: CustomHttpPattern): CustomHttpPattern.AsObject;
123
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
124
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
125
+ static serializeBinaryToWriter(message: CustomHttpPattern, writer: jspb.BinaryWriter): void;
126
+ static deserializeBinary(bytes: Uint8Array): CustomHttpPattern;
127
+ static deserializeBinaryFromReader(message: CustomHttpPattern, reader: jspb.BinaryReader): CustomHttpPattern;
128
+ }
129
+
130
+ export namespace CustomHttpPattern {
131
+ export type AsObject = {
132
+ kind: string,
133
+ path: string,
134
+ }
135
+ }