clarifai-web-grpc 1.1.5 → 2.0.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.
- package/.github/workflows/ci.yml +0 -6
- package/CHANGELOG.md +11 -2
- package/{lib/google → google}/api/annotations_grpc_pb.js +0 -0
- package/{lib/google → google}/api/annotations_pb.js +0 -0
- package/{lib/google → google}/api/http_grpc_pb.js +0 -0
- package/{lib/google → google}/api/http_pb.js +0 -0
- package/package.json +5 -26
- package/{lib/proto → proto}/clarifai/api/resources_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/resources_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/serviceServiceClientPb.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/service_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/service_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_code_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/status/status_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/extensions_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/api/utils/test_proto_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/auth/scope/scope_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/auth/types/types_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/auth/types/types_pb.js +0 -0
- package/{lib/proto → proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
- package/{lib/proto → proto}/clarifai/auth/util/extension_pb.js +0 -0
- package/.husky/pre-commit +0 -4
- package/.mocharc.yml +0 -5
- package/lib/google/api/annotations_grpc_pb.d.ts +0 -0
- package/lib/google/api/annotations_pb.d.ts +0 -1
- package/lib/google/api/http_grpc_pb.d.ts +0 -0
- package/lib/google/api/http_pb.d.ts +0 -1
- package/lib/index.d.ts +0 -5
- package/lib/index.js +0 -7
- package/lib/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -275
- package/lib/proto/clarifai/api/serviceServiceClientPb.js +0 -904
- package/lib/resources.d.ts +0 -12
- package/lib/resources.js +0 -11
- package/lib/service.d.ts +0 -1
- package/lib/service.js +0 -1
- package/src/google/api/annotations_grpc_pb.js +0 -1
- package/src/google/api/annotations_pb.js +0 -47
- package/src/google/api/http_grpc_pb.js +0 -1
- package/src/google/api/http_pb.js +0 -1005
- package/src/proto/clarifai/api/resources_pb.d.ts +0 -5052
- package/src/proto/clarifai/api/resources_pb.js +0 -41204
- package/src/proto/clarifai/api/serviceServiceClientPb.ts +0 -3002
- package/src/proto/clarifai/api/service_pb.d.ts +0 -5582
- package/src/proto/clarifai/api/service_pb.js +0 -47897
- package/src/proto/clarifai/api/status/status_code_pb.d.ts +0 -296
- package/src/proto/clarifai/api/status/status_code_pb.js +0 -314
- package/src/proto/clarifai/api/status/status_pb.d.ts +0 -73
- package/src/proto/clarifai/api/status/status_pb.js +0 -580
- package/src/proto/clarifai/api/utils/extensions_pb.d.ts +0 -4
- package/src/proto/clarifai/api/utils/extensions_pb.js +0 -95
- package/src/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -81
- package/src/proto/clarifai/api/utils/test_proto_pb.js +0 -640
- package/src/proto/clarifai/auth/scope/scope_pb.d.ts +0 -92
- package/src/proto/clarifai/auth/scope/scope_pb.js +0 -363
- package/src/proto/clarifai/auth/types/types_pb.d.ts +0 -10
- package/src/proto/clarifai/auth/types/types_pb.js +0 -28
- package/src/proto/clarifai/auth/util/extension_pb.d.ts +0 -6
- package/src/proto/clarifai/auth/util/extension_pb.js +0 -151
- package/tests/basic.test.ts +0 -15
- package/tests/helpers.test.ts +0 -31
- package/tsconfig.json +0 -23
package/lib/resources.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from './proto/clarifai/api/resources_pb';
|
|
2
|
-
export { Any } from 'google-protobuf/google/protobuf/any_pb';
|
|
3
|
-
export { Api } from 'google-protobuf/google/protobuf/api_pb';
|
|
4
|
-
export { Duration } from 'google-protobuf/google/protobuf/duration_pb';
|
|
5
|
-
export { Empty } from 'google-protobuf/google/protobuf/empty_pb';
|
|
6
|
-
export { Struct } from 'google-protobuf/google/protobuf/struct_pb';
|
|
7
|
-
export { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
8
|
-
export { Type, Field, Enum, EnumValue, Option } from 'google-protobuf/google/protobuf/type_pb';
|
|
9
|
-
export { DoubleValue, FloatValue, Int64Value, UInt64Value, Int32Value, UInt32Value, BoolValue, StringValue, BytesValue } from 'google-protobuf/google/protobuf/wrappers_pb';
|
|
10
|
-
export type { Error, Metadata } from 'grpc-web';
|
|
11
|
-
export { Status, BaseResponse } from './proto/clarifai/api/status/status_pb';
|
|
12
|
-
export { StatusCode } from './proto/clarifai/api/status/status_code_pb';
|
package/lib/resources.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from './proto/clarifai/api/resources_pb';
|
|
2
|
-
export { Any } from 'google-protobuf/google/protobuf/any_pb';
|
|
3
|
-
export { Api } from 'google-protobuf/google/protobuf/api_pb';
|
|
4
|
-
export { Duration } from 'google-protobuf/google/protobuf/duration_pb';
|
|
5
|
-
export { Empty } from 'google-protobuf/google/protobuf/empty_pb';
|
|
6
|
-
export { Struct } from 'google-protobuf/google/protobuf/struct_pb';
|
|
7
|
-
export { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
|
|
8
|
-
export { Type, Field, Enum, EnumValue, Option } from 'google-protobuf/google/protobuf/type_pb';
|
|
9
|
-
export { DoubleValue, FloatValue, Int64Value, UInt64Value, Int32Value, UInt32Value, BoolValue, StringValue, BytesValue } from 'google-protobuf/google/protobuf/wrappers_pb';
|
|
10
|
-
export { Status, BaseResponse } from './proto/clarifai/api/status/status_pb';
|
|
11
|
-
export { StatusCode } from './proto/clarifai/api/status/status_code_pb';
|
package/lib/service.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './proto/clarifai/api/service_pb';
|
package/lib/service.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './proto/clarifai/api/service_pb';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// GENERATED CODE -- NO SERVICES IN PROTO
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// source: google/api/annotations.proto
|
|
2
|
-
/**
|
|
3
|
-
* @fileoverview
|
|
4
|
-
* @enhanceable
|
|
5
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
6
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
10
|
-
/* eslint-disable */
|
|
11
|
-
// @ts-nocheck
|
|
12
|
-
|
|
13
|
-
var jspb = require('google-protobuf');
|
|
14
|
-
var goog = jspb;
|
|
15
|
-
var global = Function('return this')();
|
|
16
|
-
|
|
17
|
-
var google_api_http_pb = require('../../google/api/http_pb.js');
|
|
18
|
-
goog.object.extend(proto, google_api_http_pb);
|
|
19
|
-
var google_protobuf_descriptor_pb = require('google-protobuf/google/protobuf/descriptor_pb.js');
|
|
20
|
-
goog.object.extend(proto, google_protobuf_descriptor_pb);
|
|
21
|
-
goog.exportSymbol('proto.google.api.http', null, global);
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* A tuple of {field number, class constructor} for the extension
|
|
25
|
-
* field named `http`.
|
|
26
|
-
* @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>}
|
|
27
|
-
*/
|
|
28
|
-
proto.google.api.http = new jspb.ExtensionFieldInfo(
|
|
29
|
-
72295728,
|
|
30
|
-
{http: 0},
|
|
31
|
-
google_api_http_pb.HttpRule,
|
|
32
|
-
/** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ (
|
|
33
|
-
google_api_http_pb.HttpRule.toObject),
|
|
34
|
-
0);
|
|
35
|
-
|
|
36
|
-
google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo(
|
|
37
|
-
proto.google.api.http,
|
|
38
|
-
jspb.BinaryReader.prototype.readMessage,
|
|
39
|
-
jspb.BinaryWriter.prototype.writeMessage,
|
|
40
|
-
google_api_http_pb.HttpRule.serializeBinaryToWriter,
|
|
41
|
-
google_api_http_pb.HttpRule.deserializeBinaryFromReader,
|
|
42
|
-
false);
|
|
43
|
-
// This registers the extension field with the extended class, so that
|
|
44
|
-
// toObject() will function correctly.
|
|
45
|
-
google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http;
|
|
46
|
-
|
|
47
|
-
goog.object.extend(exports, proto.google.api);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// GENERATED CODE -- NO SERVICES IN PROTO
|