clarifai-web-grpc 1.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 +41 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +4 -0
- package/.mocharc.yml +5 -0
- package/CHANGELOG.md +6 -0
- package/LICENCE +13 -0
- package/README.md +43 -0
- package/VERSION +1 -0
- package/dist/google/api/annotations_pb.d.ts +1 -0
- package/dist/google/api/annotations_pb.js +32 -0
- package/dist/google/api/http_pb.d.ts +1 -0
- package/dist/google/api/http_pb.js +813 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +7 -0
- package/dist/proto/clarifai/api/resources_pb.d.ts +1 -0
- package/dist/proto/clarifai/api/resources_pb.js +32957 -0
- package/dist/proto/clarifai/api/serviceServiceClientPb.d.ts +275 -0
- package/dist/proto/clarifai/api/serviceServiceClientPb.js +904 -0
- package/dist/proto/clarifai/api/service_pb.d.ts +1 -0
- package/dist/proto/clarifai/api/service_pb.js +38791 -0
- package/dist/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/dist/proto/clarifai/api/status/status_code_pb.js +312 -0
- package/dist/proto/clarifai/api/status/status_pb.d.ts +1 -0
- package/dist/proto/clarifai/api/status/status_pb.js +473 -0
- package/dist/proto/clarifai/api/utils/extensions_pb.d.ts +1 -0
- package/dist/proto/clarifai/api/utils/extensions_pb.js +52 -0
- package/dist/proto/clarifai/api/utils/test_proto_pb.d.ts +1 -0
- package/dist/proto/clarifai/api/utils/test_proto_pb.js +521 -0
- package/dist/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/dist/proto/clarifai/auth/scope/scope_pb.js +294 -0
- package/dist/proto/clarifai/auth/types/types_pb.d.ts +1 -0
- package/dist/proto/clarifai/auth/types/types_pb.js +26 -0
- package/dist/proto/clarifai/auth/util/extension_pb.d.ts +1 -0
- package/dist/proto/clarifai/auth/util/extension_pb.js +80 -0
- package/dist/resources.d.ts +1 -0
- package/dist/resources.js +1 -0
- package/dist/service.d.ts +1 -0
- package/dist/service.js +1 -0
- package/google/api/annotations_grpc_pb.js +1 -0
- package/google/api/annotations_pb.js +47 -0
- package/google/api/http_grpc_pb.js +1 -0
- package/google/api/http_pb.js +1005 -0
- package/index.ts +9 -0
- package/package.json +52 -0
- package/proto/clarifai/api/resources_pb.d.ts +5052 -0
- package/proto/clarifai/api/resources_pb.js +41204 -0
- package/proto/clarifai/api/serviceServiceClientPb.ts +3002 -0
- package/proto/clarifai/api/service_pb.d.ts +5582 -0
- package/proto/clarifai/api/service_pb.js +47897 -0
- package/proto/clarifai/api/status/status_code_pb.d.ts +296 -0
- package/proto/clarifai/api/status/status_code_pb.js +314 -0
- package/proto/clarifai/api/status/status_pb.d.ts +73 -0
- package/proto/clarifai/api/status/status_pb.js +580 -0
- package/proto/clarifai/api/utils/extensions_pb.d.ts +4 -0
- package/proto/clarifai/api/utils/extensions_pb.js +95 -0
- package/proto/clarifai/api/utils/test_proto_pb.d.ts +81 -0
- package/proto/clarifai/api/utils/test_proto_pb.js +640 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +92 -0
- package/proto/clarifai/auth/scope/scope_pb.js +363 -0
- package/proto/clarifai/auth/types/types_pb.d.ts +10 -0
- package/proto/clarifai/auth/types/types_pb.js +28 -0
- package/proto/clarifai/auth/util/extension_pb.d.ts +6 -0
- package/proto/clarifai/auth/util/extension_pb.js +151 -0
- package/resources.ts +1 -0
- package/service.desc +10 -0
- package/service.ts +1 -0
- package/tests/basic.test.ts +14 -0
- package/tsconfig.json +25 -0
package/index.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "clarifai-web-grpc",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "The official Clarifai gRPC-web client",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"repository": "https://github.com/Clarifai/clarifai-web-grpc",
|
|
8
|
+
"author": "Clarifai Inc.",
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"keywords": [],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"test": "mocha",
|
|
13
|
+
"clean": "rm -rf dist clarifai-web-grpc-*.tgz",
|
|
14
|
+
"build": "tsc -b",
|
|
15
|
+
"prepack": "yarn clean && yarn build",
|
|
16
|
+
"release": "semantic-release",
|
|
17
|
+
"prepare": "husky install"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"google-protobuf": "~3.14.0",
|
|
21
|
+
"grpc-web": "~1.0.5"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@commitlint/cli": "^16.0.1",
|
|
25
|
+
"@commitlint/config-conventional": "^16.0.0",
|
|
26
|
+
"@semantic-release/changelog": "^6.0.1",
|
|
27
|
+
"@types/chai": "^4.3.0",
|
|
28
|
+
"@types/google-protobuf": "~3.7.0",
|
|
29
|
+
"@types/mocha": "^9.0.0",
|
|
30
|
+
"@types/node": "~10.17.0",
|
|
31
|
+
"chai": "^4.3.4",
|
|
32
|
+
"husky": "^7.0.4",
|
|
33
|
+
"mocha": "^9.1.3",
|
|
34
|
+
"semantic-release": "^18.0.1",
|
|
35
|
+
"ts-node": "^10.4.0",
|
|
36
|
+
"typescript": "^4.5.4"
|
|
37
|
+
},
|
|
38
|
+
"release": {
|
|
39
|
+
"plugins": [
|
|
40
|
+
"@semantic-release/commit-analyzer",
|
|
41
|
+
"@semantic-release/release-notes-generator",
|
|
42
|
+
"@semantic-release/changelog",
|
|
43
|
+
"@semantic-release/npm",
|
|
44
|
+
"@semantic-release/github"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"commitlint": {
|
|
48
|
+
"extends": [
|
|
49
|
+
"@commitlint/config-conventional"
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
}
|