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.
Files changed (66) hide show
  1. package/.github/workflows/ci.yml +0 -6
  2. package/CHANGELOG.md +11 -2
  3. package/{lib/google → google}/api/annotations_grpc_pb.js +0 -0
  4. package/{lib/google → google}/api/annotations_pb.js +0 -0
  5. package/{lib/google → google}/api/http_grpc_pb.js +0 -0
  6. package/{lib/google → google}/api/http_pb.js +0 -0
  7. package/package.json +5 -26
  8. package/{lib/proto → proto}/clarifai/api/resources_pb.d.ts +0 -0
  9. package/{lib/proto → proto}/clarifai/api/resources_pb.js +0 -0
  10. package/{lib/proto → proto}/clarifai/api/serviceServiceClientPb.ts +0 -0
  11. package/{lib/proto → proto}/clarifai/api/service_pb.d.ts +0 -0
  12. package/{lib/proto → proto}/clarifai/api/service_pb.js +0 -0
  13. package/{lib/proto → proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
  14. package/{lib/proto → proto}/clarifai/api/status/status_code_pb.js +0 -0
  15. package/{lib/proto → proto}/clarifai/api/status/status_pb.d.ts +0 -0
  16. package/{lib/proto → proto}/clarifai/api/status/status_pb.js +0 -0
  17. package/{lib/proto → proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
  18. package/{lib/proto → proto}/clarifai/api/utils/extensions_pb.js +0 -0
  19. package/{lib/proto → proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
  20. package/{lib/proto → proto}/clarifai/api/utils/test_proto_pb.js +0 -0
  21. package/{lib/proto → proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
  22. package/{lib/proto → proto}/clarifai/auth/scope/scope_pb.js +0 -0
  23. package/{lib/proto → proto}/clarifai/auth/types/types_pb.d.ts +0 -0
  24. package/{lib/proto → proto}/clarifai/auth/types/types_pb.js +0 -0
  25. package/{lib/proto → proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
  26. package/{lib/proto → proto}/clarifai/auth/util/extension_pb.js +0 -0
  27. package/.husky/pre-commit +0 -4
  28. package/.mocharc.yml +0 -5
  29. package/lib/google/api/annotations_grpc_pb.d.ts +0 -0
  30. package/lib/google/api/annotations_pb.d.ts +0 -1
  31. package/lib/google/api/http_grpc_pb.d.ts +0 -0
  32. package/lib/google/api/http_pb.d.ts +0 -1
  33. package/lib/index.d.ts +0 -5
  34. package/lib/index.js +0 -7
  35. package/lib/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -275
  36. package/lib/proto/clarifai/api/serviceServiceClientPb.js +0 -904
  37. package/lib/resources.d.ts +0 -12
  38. package/lib/resources.js +0 -11
  39. package/lib/service.d.ts +0 -1
  40. package/lib/service.js +0 -1
  41. package/src/google/api/annotations_grpc_pb.js +0 -1
  42. package/src/google/api/annotations_pb.js +0 -47
  43. package/src/google/api/http_grpc_pb.js +0 -1
  44. package/src/google/api/http_pb.js +0 -1005
  45. package/src/proto/clarifai/api/resources_pb.d.ts +0 -5052
  46. package/src/proto/clarifai/api/resources_pb.js +0 -41204
  47. package/src/proto/clarifai/api/serviceServiceClientPb.ts +0 -3002
  48. package/src/proto/clarifai/api/service_pb.d.ts +0 -5582
  49. package/src/proto/clarifai/api/service_pb.js +0 -47897
  50. package/src/proto/clarifai/api/status/status_code_pb.d.ts +0 -296
  51. package/src/proto/clarifai/api/status/status_code_pb.js +0 -314
  52. package/src/proto/clarifai/api/status/status_pb.d.ts +0 -73
  53. package/src/proto/clarifai/api/status/status_pb.js +0 -580
  54. package/src/proto/clarifai/api/utils/extensions_pb.d.ts +0 -4
  55. package/src/proto/clarifai/api/utils/extensions_pb.js +0 -95
  56. package/src/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -81
  57. package/src/proto/clarifai/api/utils/test_proto_pb.js +0 -640
  58. package/src/proto/clarifai/auth/scope/scope_pb.d.ts +0 -92
  59. package/src/proto/clarifai/auth/scope/scope_pb.js +0 -363
  60. package/src/proto/clarifai/auth/types/types_pb.d.ts +0 -10
  61. package/src/proto/clarifai/auth/types/types_pb.js +0 -28
  62. package/src/proto/clarifai/auth/util/extension_pb.d.ts +0 -6
  63. package/src/proto/clarifai/auth/util/extension_pb.js +0 -151
  64. package/tests/basic.test.ts +0 -15
  65. package/tests/helpers.test.ts +0 -31
  66. package/tsconfig.json +0 -23
@@ -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