clarifai-web-grpc 3.0.0 → 4.2.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.
Files changed (67) hide show
  1. package/.github/workflows/ci.yml +0 -2
  2. package/CHANGELOG.md +3 -10
  3. package/README.md +2 -2
  4. package/VERSION +1 -1
  5. package/dist/cjs/index.d.ts +3 -3
  6. package/dist/cjs/index.js +6 -4
  7. package/dist/cjs/proto/clarifai/api/resources_pb.js +8300 -1715
  8. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.d.ts +5 -0
  9. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +6999 -0
  10. package/dist/cjs/proto/clarifai/api/service_pb.js +20160 -8780
  11. package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +37 -1
  12. package/dist/cjs/proto/clarifai/api/status/status_pb.js +255 -2
  13. package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +18 -1
  14. package/dist/cjs/proto/clarifai/api/utils/matrix_pb.d.ts +1 -0
  15. package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +206 -0
  16. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +18 -1
  17. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +38 -5
  18. package/dist/cjs/proto/clarifai/auth/types/types_pb.js +18 -1
  19. package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +18 -1
  20. package/dist/esm/index.d.ts +3 -3
  21. package/dist/esm/index.js +3 -3
  22. package/dist/esm/proto/clarifai/api/resources_pb.js +8300 -1715
  23. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.d.ts +5 -0
  24. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +6999 -0
  25. package/dist/esm/proto/clarifai/api/service_pb.js +20160 -8780
  26. package/dist/esm/proto/clarifai/api/status/status_code_pb.js +37 -1
  27. package/dist/esm/proto/clarifai/api/status/status_pb.js +255 -2
  28. package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +18 -1
  29. package/dist/esm/proto/clarifai/api/utils/matrix_pb.d.ts +1 -0
  30. package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +206 -0
  31. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +18 -1
  32. package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +38 -5
  33. package/dist/esm/proto/clarifai/auth/types/types_pb.js +18 -1
  34. package/dist/esm/proto/clarifai/auth/util/extension_pb.js +18 -1
  35. package/index.ts +3 -3
  36. package/package.json +3 -8
  37. package/package.json-E +52 -0
  38. package/proto/clarifai/api/resources_pb.d.ts +2022 -1020
  39. package/proto/clarifai/api/resources_pb.js +21288 -13035
  40. package/proto/clarifai/api/service_grpc_web_pb.d.ts +2000 -0
  41. package/proto/clarifai/api/service_grpc_web_pb.js +10160 -0
  42. package/proto/clarifai/api/service_pb.d.ts +2788 -1161
  43. package/proto/clarifai/api/service_pb.js +23741 -9706
  44. package/proto/clarifai/api/status/status_code_pb.d.ts +22 -1
  45. package/proto/clarifai/api/status/status_code_pb.js +29 -1
  46. package/proto/clarifai/api/status/status_pb.d.ts +50 -13
  47. package/proto/clarifai/api/status/status_pb.js +304 -2
  48. package/proto/clarifai/api/utils/extensions_pb.d.ts +2 -1
  49. package/proto/clarifai/api/utils/extensions_pb.js +10 -1
  50. package/proto/clarifai/api/utils/matrix_pb.d.ts +28 -0
  51. package/proto/clarifai/api/utils/matrix_pb.js +234 -0
  52. package/proto/clarifai/api/utils/test_proto_pb.d.ts +12 -11
  53. package/proto/clarifai/api/utils/test_proto_pb.js +10 -1
  54. package/proto/clarifai/auth/scope/scope_pb.d.ts +23 -8
  55. package/proto/clarifai/auth/scope/scope_pb.js +30 -5
  56. package/proto/clarifai/auth/types/types_pb.d.ts +3 -1
  57. package/proto/clarifai/auth/types/types_pb.js +10 -1
  58. package/proto/clarifai/auth/util/extension_pb.d.ts +2 -1
  59. package/proto/clarifai/auth/util/extension_pb.js +10 -1
  60. package/.husky/pre-commit +0 -4
  61. package/dist/cjs/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -275
  62. package/dist/cjs/proto/clarifai/api/serviceServiceClientPb.js +0 -908
  63. package/dist/esm/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -275
  64. package/dist/esm/proto/clarifai/api/serviceServiceClientPb.js +0 -904
  65. package/proto/clarifai/api/serviceServiceClientPb.ts +0 -3002
  66. package/tests/basic.test.ts +0 -41
  67. package/tests/package.test.ts +0 -0
@@ -0,0 +1,234 @@
1
+ // source: proto/clarifai/api/utils/matrix.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 = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
23
+
24
+ goog.exportSymbol('proto.MatrixUint64', null, global);
25
+ /**
26
+ * Generated by JsPbCodeGenerator.
27
+ * @param {Array=} opt_data Optional initial data array, typically from a
28
+ * server response, or constructed directly in Javascript. The array is used
29
+ * in place and becomes part of the constructed object. It is not cloned.
30
+ * If no data is provided, the constructed object will be empty, but still
31
+ * valid.
32
+ * @extends {jspb.Message}
33
+ * @constructor
34
+ */
35
+ proto.MatrixUint64 = function(opt_data) {
36
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.MatrixUint64.repeatedFields_, null);
37
+ };
38
+ goog.inherits(proto.MatrixUint64, jspb.Message);
39
+ if (goog.DEBUG && !COMPILED) {
40
+ /**
41
+ * @public
42
+ * @override
43
+ */
44
+ proto.MatrixUint64.displayName = 'proto.MatrixUint64';
45
+ }
46
+
47
+ /**
48
+ * List of repeated fields within this message type.
49
+ * @private {!Array<number>}
50
+ * @const
51
+ */
52
+ proto.MatrixUint64.repeatedFields_ = [2];
53
+
54
+
55
+
56
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57
+ /**
58
+ * Creates an object representation of this proto.
59
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
60
+ * Optional fields that are not set will be set to undefined.
61
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
62
+ * For the list of reserved names please see:
63
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
65
+ * JSPB instance for transitional soy proto support:
66
+ * http://goto/soy-param-migration
67
+ * @return {!Object}
68
+ */
69
+ proto.MatrixUint64.prototype.toObject = function(opt_includeInstance) {
70
+ return proto.MatrixUint64.toObject(opt_includeInstance, this);
71
+ };
72
+
73
+
74
+ /**
75
+ * Static version of the {@see toObject} method.
76
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
77
+ * the JSPB instance for transitional soy proto support:
78
+ * http://goto/soy-param-migration
79
+ * @param {!proto.MatrixUint64} msg The msg instance to transform.
80
+ * @return {!Object}
81
+ * @suppress {unusedLocalVariables} f is only used for nested messages
82
+ */
83
+ proto.MatrixUint64.toObject = function(includeInstance, msg) {
84
+ var f, obj = {
85
+ nCols: jspb.Message.getFieldWithDefault(msg, 1, 0),
86
+ dataList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
87
+ };
88
+
89
+ if (includeInstance) {
90
+ obj.$jspbMessageInstance = msg;
91
+ }
92
+ return obj;
93
+ };
94
+ }
95
+
96
+
97
+ /**
98
+ * Deserializes binary data (in protobuf wire format).
99
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
100
+ * @return {!proto.MatrixUint64}
101
+ */
102
+ proto.MatrixUint64.deserializeBinary = function(bytes) {
103
+ var reader = new jspb.BinaryReader(bytes);
104
+ var msg = new proto.MatrixUint64;
105
+ return proto.MatrixUint64.deserializeBinaryFromReader(msg, reader);
106
+ };
107
+
108
+
109
+ /**
110
+ * Deserializes binary data (in protobuf wire format) from the
111
+ * given reader into the given message object.
112
+ * @param {!proto.MatrixUint64} msg The message object to deserialize into.
113
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
114
+ * @return {!proto.MatrixUint64}
115
+ */
116
+ proto.MatrixUint64.deserializeBinaryFromReader = function(msg, reader) {
117
+ while (reader.nextField()) {
118
+ if (reader.isEndGroup()) {
119
+ break;
120
+ }
121
+ var field = reader.getFieldNumber();
122
+ switch (field) {
123
+ case 1:
124
+ var value = /** @type {number} */ (reader.readUint64());
125
+ msg.setNCols(value);
126
+ break;
127
+ case 2:
128
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint64() : [reader.readUint64()]);
129
+ for (var i = 0; i < values.length; i++) {
130
+ msg.addData(values[i]);
131
+ }
132
+ break;
133
+ default:
134
+ reader.skipField();
135
+ break;
136
+ }
137
+ }
138
+ return msg;
139
+ };
140
+
141
+
142
+ /**
143
+ * Serializes the message to binary data (in protobuf wire format).
144
+ * @return {!Uint8Array}
145
+ */
146
+ proto.MatrixUint64.prototype.serializeBinary = function() {
147
+ var writer = new jspb.BinaryWriter();
148
+ proto.MatrixUint64.serializeBinaryToWriter(this, writer);
149
+ return writer.getResultBuffer();
150
+ };
151
+
152
+
153
+ /**
154
+ * Serializes the given message to binary data (in protobuf wire
155
+ * format), writing to the given BinaryWriter.
156
+ * @param {!proto.MatrixUint64} message
157
+ * @param {!jspb.BinaryWriter} writer
158
+ * @suppress {unusedLocalVariables} f is only used for nested messages
159
+ */
160
+ proto.MatrixUint64.serializeBinaryToWriter = function(message, writer) {
161
+ var f = undefined;
162
+ f = message.getNCols();
163
+ if (f !== 0) {
164
+ writer.writeUint64(
165
+ 1,
166
+ f
167
+ );
168
+ }
169
+ f = message.getDataList();
170
+ if (f.length > 0) {
171
+ writer.writePackedUint64(
172
+ 2,
173
+ f
174
+ );
175
+ }
176
+ };
177
+
178
+
179
+ /**
180
+ * optional uint64 n_cols = 1;
181
+ * @return {number}
182
+ */
183
+ proto.MatrixUint64.prototype.getNCols = function() {
184
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
185
+ };
186
+
187
+
188
+ /**
189
+ * @param {number} value
190
+ * @return {!proto.MatrixUint64} returns this
191
+ */
192
+ proto.MatrixUint64.prototype.setNCols = function(value) {
193
+ return jspb.Message.setProto3IntField(this, 1, value);
194
+ };
195
+
196
+
197
+ /**
198
+ * repeated uint64 data = 2;
199
+ * @return {!Array<number>}
200
+ */
201
+ proto.MatrixUint64.prototype.getDataList = function() {
202
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
203
+ };
204
+
205
+
206
+ /**
207
+ * @param {!Array<number>} value
208
+ * @return {!proto.MatrixUint64} returns this
209
+ */
210
+ proto.MatrixUint64.prototype.setDataList = function(value) {
211
+ return jspb.Message.setField(this, 2, value || []);
212
+ };
213
+
214
+
215
+ /**
216
+ * @param {number} value
217
+ * @param {number=} opt_index
218
+ * @return {!proto.MatrixUint64} returns this
219
+ */
220
+ proto.MatrixUint64.prototype.addData = function(value, opt_index) {
221
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
222
+ };
223
+
224
+
225
+ /**
226
+ * Clears the list making it empty but non-null.
227
+ * @return {!proto.MatrixUint64} returns this
228
+ */
229
+ proto.MatrixUint64.prototype.clearDataList = function() {
230
+ return this.setDataList([]);
231
+ };
232
+
233
+
234
+ goog.object.extend(exports, proto);
@@ -1,32 +1,33 @@
1
- import * as jspb from "google-protobuf"
1
+ import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as proto_clarifai_api_utils_extensions_pb from '../../../../proto/clarifai/api/utils/extensions_pb';
4
4
 
5
+
5
6
  export class TestProto extends jspb.Message {
6
7
  getId(): string;
7
- setId(value: string): void;
8
+ setId(value: string): TestProto;
8
9
 
9
10
  getMessage(): string;
10
- setMessage(value: string): void;
11
+ setMessage(value: string): TestProto;
11
12
 
12
13
  getValue(): number;
13
- setValue(value: number): void;
14
+ setValue(value: number): TestProto;
14
15
 
15
16
  getImageBytes(): Uint8Array | string;
16
17
  getImageBytes_asU8(): Uint8Array;
17
18
  getImageBytes_asB64(): string;
18
- setImageBytes(value: Uint8Array | string): void;
19
+ setImageBytes(value: Uint8Array | string): TestProto;
19
20
 
20
21
  getStringOneof(): string;
21
- setStringOneof(value: string): void;
22
+ setStringOneof(value: string): TestProto;
22
23
 
23
24
  getBoolOneof(): boolean;
24
- setBoolOneof(value: boolean): void;
25
+ setBoolOneof(value: boolean): TestProto;
25
26
 
26
27
  getMessageOneof(): TestProto2 | undefined;
27
- setMessageOneof(value?: TestProto2): void;
28
+ setMessageOneof(value?: TestProto2): TestProto;
28
29
  hasMessageOneof(): boolean;
29
- clearMessageOneof(): void;
30
+ clearMessageOneof(): TestProto;
30
31
 
31
32
  getOneOfFieldCase(): TestProto.OneOfFieldCase;
32
33
 
@@ -59,10 +60,10 @@ export namespace TestProto {
59
60
 
60
61
  export class TestProto2 extends jspb.Message {
61
62
  getId(): string;
62
- setId(value: string): void;
63
+ setId(value: string): TestProto2;
63
64
 
64
65
  getFlip(): boolean;
65
- setFlip(value: boolean): void;
66
+ setFlip(value: boolean): TestProto2;
66
67
 
67
68
  serializeBinary(): Uint8Array;
68
69
  toObject(includeInstance?: boolean): TestProto2.AsObject;
@@ -2,15 +2,24 @@
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
5
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
6
7
  * field starts with 'MSG_' and isn't a translatable message.
7
8
  * @public
8
9
  */
9
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
10
13
 
11
14
  var jspb = require('google-protobuf');
12
15
  var goog = jspb;
13
- var global = Function('return this')();
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
14
23
 
15
24
  var proto_clarifai_api_utils_extensions_pb = require('../../../../proto/clarifai/api/utils/extensions_pb.js');
16
25
  goog.object.extend(proto, proto_clarifai_api_utils_extensions_pb);
@@ -1,17 +1,18 @@
1
- import * as jspb from "google-protobuf"
1
+ import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
4
4
 
5
+
5
6
  export class ScopeList extends jspb.Message {
6
7
  getScopesList(): Array<S>;
7
- setScopesList(value: Array<S>): void;
8
- clearScopesList(): void;
9
- addScopes(value: S, index?: number): void;
8
+ setScopesList(value: Array<S>): ScopeList;
9
+ clearScopesList(): ScopeList;
10
+ addScopes(value: S, index?: number): ScopeList;
10
11
 
11
12
  getEndpointsList(): Array<string>;
12
- setEndpointsList(value: Array<string>): void;
13
- clearEndpointsList(): void;
14
- addEndpoints(value: string, index?: number): void;
13
+ setEndpointsList(value: Array<string>): ScopeList;
14
+ clearEndpointsList(): ScopeList;
15
+ addEndpoints(value: string, index?: number): ScopeList;
15
16
 
16
17
  serializeBinary(): Uint8Array;
17
18
  toObject(includeInstance?: boolean): ScopeList.AsObject;
@@ -32,7 +33,6 @@ export enum S {
32
33
  UNDEF = 0,
33
34
  ALL = 1,
34
35
  PREDICT = 2,
35
- SEARCH = 3,
36
36
  INPUTS_ADD = 4,
37
37
  INPUTS_GET = 5,
38
38
  INPUTS_PATCH = 7,
@@ -89,4 +89,19 @@ export enum S {
89
89
  FINDDUPLICATEANNOTATIONSJOBS_ADD = 102,
90
90
  FINDDUPLICATEANNOTATIONSJOBS_GET = 103,
91
91
  FINDDUPLICATEANNOTATIONSJOBS_DELETE = 104,
92
+ DATASETS_GET = 105,
93
+ DATASETS_ADD = 106,
94
+ DATASETS_DELETE = 107,
95
+ SEARCH = 3,
96
+ SAVEDSEARCH_GET = 114,
97
+ SAVEDSEARCH_ADD = 115,
98
+ SAVEDSEARCH_DELETE = 116,
99
+ MODELVERSIONPUBLICATIONS_ADD = 117,
100
+ MODELVERSIONPUBLICATIONS_DELETE = 118,
101
+ WORKFLOWPUBLICATIONS_ADD = 119,
102
+ WORKFLOWPUBLICATIONS_DELETE = 120,
103
+ BULKOPERATION_ADD = 121,
104
+ BULKOPERATION_GET = 122,
105
+ BULKOPERATION_DELETE = 123,
106
+ HISTORICALUSAGE_GET = 124,
92
107
  }
@@ -2,15 +2,24 @@
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
5
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
6
7
  * field starts with 'MSG_' and isn't a translatable message.
7
8
  * @public
8
9
  */
9
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
10
13
 
11
14
  var jspb = require('google-protobuf');
12
15
  var goog = jspb;
13
- var global = Function('return this')();
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
14
23
 
15
24
  var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
16
25
  goog.object.extend(proto, google_protobuf_descriptor_pb);
@@ -117,8 +126,10 @@ proto.clarifai.auth.scope.ScopeList.deserializeBinaryFromReader = function(msg,
117
126
  var field = reader.getFieldNumber();
118
127
  switch (field) {
119
128
  case 1:
120
- var value = /** @type {!Array<!proto.clarifai.auth.scope.S>} */ (reader.readPackedEnum());
121
- msg.setScopesList(value);
129
+ var values = /** @type {!Array<!proto.clarifai.auth.scope.S>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
130
+ for (var i = 0; i < values.length; i++) {
131
+ msg.addScopes(values[i]);
132
+ }
122
133
  break;
123
134
  case 2:
124
135
  var value = /** @type {string} */ (reader.readString());
@@ -251,7 +262,6 @@ proto.clarifai.auth.scope.S = {
251
262
  UNDEF: 0,
252
263
  ALL: 1,
253
264
  PREDICT: 2,
254
- SEARCH: 3,
255
265
  INPUTS_ADD: 4,
256
266
  INPUTS_GET: 5,
257
267
  INPUTS_PATCH: 7,
@@ -307,7 +317,22 @@ proto.clarifai.auth.scope.S = {
307
317
  USERFEATURECONFIGS_GET: 71,
308
318
  FINDDUPLICATEANNOTATIONSJOBS_ADD: 102,
309
319
  FINDDUPLICATEANNOTATIONSJOBS_GET: 103,
310
- FINDDUPLICATEANNOTATIONSJOBS_DELETE: 104
320
+ FINDDUPLICATEANNOTATIONSJOBS_DELETE: 104,
321
+ DATASETS_GET: 105,
322
+ DATASETS_ADD: 106,
323
+ DATASETS_DELETE: 107,
324
+ SEARCH: 3,
325
+ SAVEDSEARCH_GET: 114,
326
+ SAVEDSEARCH_ADD: 115,
327
+ SAVEDSEARCH_DELETE: 116,
328
+ MODELVERSIONPUBLICATIONS_ADD: 117,
329
+ MODELVERSIONPUBLICATIONS_DELETE: 118,
330
+ WORKFLOWPUBLICATIONS_ADD: 119,
331
+ WORKFLOWPUBLICATIONS_DELETE: 120,
332
+ BULKOPERATION_ADD: 121,
333
+ BULKOPERATION_GET: 122,
334
+ BULKOPERATION_DELETE: 123,
335
+ HISTORICALUSAGE_GET: 124
311
336
  };
312
337
 
313
338
 
@@ -1,4 +1,6 @@
1
- import * as jspb from "google-protobuf"
1
+ import * as jspb from 'google-protobuf'
2
+
3
+
2
4
 
3
5
  export enum AuthType {
4
6
  UNDEF = 0,
@@ -2,15 +2,24 @@
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
5
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
6
7
  * field starts with 'MSG_' and isn't a translatable message.
7
8
  * @public
8
9
  */
9
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
10
13
 
11
14
  var jspb = require('google-protobuf');
12
15
  var goog = jspb;
13
- var global = Function('return this')();
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
14
23
 
15
24
  goog.exportSymbol('proto.clarifai.auth.types.AuthType', null, global);
16
25
  /**
@@ -1,6 +1,7 @@
1
- import * as jspb from "google-protobuf"
1
+ import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as proto_clarifai_auth_scope_scope_pb from '../../../../proto/clarifai/auth/scope/scope_pb';
4
4
  import * as proto_clarifai_auth_types_types_pb from '../../../../proto/clarifai/auth/types/types_pb';
5
5
  import * as google_protobuf_descriptor_pb from 'google-protobuf/google/protobuf/descriptor_pb';
6
6
 
7
+
@@ -2,15 +2,24 @@
2
2
  /**
3
3
  * @fileoverview
4
4
  * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
5
6
  * @suppress {messageConventions} JS Compiler reports an error if a variable or
6
7
  * field starts with 'MSG_' and isn't a translatable message.
7
8
  * @public
8
9
  */
9
10
  // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
10
13
 
11
14
  var jspb = require('google-protobuf');
12
15
  var goog = jspb;
13
- var global = Function('return this')();
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
14
23
 
15
24
  var proto_clarifai_auth_scope_scope_pb = require('../../../../proto/clarifai/auth/scope/scope_pb.js');
16
25
  goog.object.extend(proto, proto_clarifai_auth_scope_scope_pb);
package/.husky/pre-commit DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- yarn test