geniebox-shared-lib 1.0.74 → 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/dist/ai/ai.interface.d.ts +1 -1
- package/dist/ai/ai.interface.js +7 -1
- package/dist/ai.client.d.ts +12 -0
- package/dist/ai.client.js +42 -0
- package/dist/ai.interface.d.ts +133 -0
- package/dist/ai.interface.js +526 -0
- package/dist/auth.client.d.ts +11 -0
- package/dist/auth.client.js +44 -0
- package/dist/auth.interface.d.ts +248 -0
- package/dist/auth.interface.js +974 -0
- package/dist/event.client.d.ts +13 -0
- package/dist/event.client.js +48 -0
- package/dist/event.interface.d.ts +42 -0
- package/dist/event.interface.js +126 -0
- package/dist/file.interface.d.ts +90 -0
- package/dist/file.interface.js +332 -0
- package/dist/google/protobuf/empty.interface.d.ts +19 -0
- package/dist/google/protobuf/empty.interface.js +35 -0
- package/dist/index.d.ts +14 -14
- package/dist/index.js +25 -25
- package/dist/key.client.d.ts +12 -0
- package/dist/key.client.js +42 -0
- package/dist/key.interface.d.ts +134 -0
- package/dist/key.interface.js +430 -0
- package/dist/openai.client.d.ts +12 -0
- package/dist/openai.client.js +43 -0
- package/dist/openai.interface.d.ts +41 -0
- package/dist/openai.interface.js +116 -0
- package/dist/shared.module.d.ts +1 -1
- package/dist/shared.module.js +19 -19
- package/dist/storage.client.d.ts +12 -0
- package/dist/storage.client.js +43 -0
- package/dist/storage.interface.d.ts +90 -0
- package/dist/storage.interface.js +332 -0
- package/dist/user.client.d.ts +12 -0
- package/dist/user.client.js +42 -0
- package/dist/user.interface.d.ts +289 -0
- package/dist/user.interface.js +1264 -0
- package/package.json +2 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geniebox-shared-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Shared NestJS library with gRPC clients",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,14 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "tsc",
|
|
12
|
-
"proto:gen
|
|
13
|
-
"proto:gen:auth": "mkdir -p src/auth && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src/auth --ts_proto_opt=nestJs=true,outputServices=grpc-js,returnObservable=false,addGrpcMetadata=true,fileSuffix=.interface,esModuleInterop=true,useOptionals=true -I=../../libs/protos ../../libs/protos/auth.proto",
|
|
14
|
-
"proto:gen:ai": "mkdir -p src/ai && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src/ai --ts_proto_opt=nestJs=true,outputServices=grpc-js,returnObservable=false,addGrpcMetadata=true,fileSuffix=.interface,esModuleInterop=true,useOptionals=true -I=../../libs/protos ../../libs/protos/ai.proto",
|
|
15
|
-
"proto:gen:openai": "mkdir -p src/openai && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src/openai --ts_proto_opt=nestJs=true,outputServices=grpc-js,returnObservable=false,addGrpcMetadata=true,fileSuffix=.interface,esModuleInterop=true,useOptionals=true -I=../../libs/protos ../../libs/protos/openai.proto",
|
|
16
|
-
"proto:gen:file": "mkdir -p src/file && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src/file --ts_proto_opt=nestJs=true,outputServices=grpc-js,returnObservable=false,addGrpcMetadata=true,fileSuffix=.interface,esModuleInterop=true,useOptionals=true -I=../../libs/protos ../../libs/protos/file.proto",
|
|
17
|
-
"proto:gen:event": "mkdir -p src/event && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src/event --ts_proto_opt=nestJs=true,outputServices=grpc-js,returnObservable=false,addGrpcMetadata=true,fileSuffix=.interface,esModuleInterop=true,useOptionals=true -I=../../libs/protos ../../libs/protos/event.proto",
|
|
18
|
-
"proto:gen:key": "mkdir -p src/key && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src/key --ts_proto_opt=nestJs=true,outputServices=grpc-js,returnObservable=false,addGrpcMetadata=true,fileSuffix=.interface,esModuleInterop=true,useOptionals=true -I=../../libs/protos ../../libs/protos/key.proto",
|
|
19
|
-
"proto:gen": "npm run proto:gen:user && npm run proto:gen:auth && npm run proto:gen:openai && npm run proto:gen:ai && npm run proto:gen:file && npm run proto:gen:event && npm run proto:gen:key",
|
|
12
|
+
"proto:gen": "mkdir -p src && protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=src --ts_proto_opt=nestJs=true,outputServices=grpc-js,returnObservable=false,addGrpcMetadata=true,fileSuffix=.interface,esModuleInterop=true,useOptionals=messages,usePackagePath=true -I=../../protos ../../protos/*.proto",
|
|
20
13
|
"generate": "npm run proto:gen && npm run build",
|
|
21
14
|
"prepublishOnly": "npm run build"
|
|
22
15
|
},
|