@dataclouder/nest-vertex 0.0.59 → 0.0.60

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.
@@ -68,7 +68,24 @@ let NestVertexModule = NestVertexModule_1 = class NestVertexModule {
68
68
  adapter_stt_controller_1.AdapterSttController,
69
69
  ]
70
70
  : [];
71
- const providers = [
71
+ return {
72
+ module: NestVertexModule_1,
73
+ providers: [
74
+ {
75
+ provide: ai_services_client_1.AI_SERVICES_CLIENT_OPTIONS,
76
+ useValue: clientOptions,
77
+ },
78
+ ],
79
+ controllers,
80
+ exports: [ai_services_client_1.AI_SERVICES_CLIENT_OPTIONS],
81
+ };
82
+ }
83
+ };
84
+ exports.NestVertexModule = NestVertexModule;
85
+ exports.NestVertexModule = NestVertexModule = NestVertexModule_1 = __decorate([
86
+ (0, common_1.Global)(),
87
+ (0, common_1.Module)({
88
+ providers: [
72
89
  vertex_image_video_service_1.VertexImageVideoService,
73
90
  vertex_tts_service_1.VertextTtsService,
74
91
  vertex_gemini_chat_service_1.GeminiChatService,
@@ -77,6 +94,7 @@ let NestVertexModule = NestVertexModule_1 = class NestVertexModule {
77
94
  adapter_llm_service_1.LLMAdapterService,
78
95
  adapter_image_gen_service_1.ImageGenAdapterService,
79
96
  adapter_audio_gen_service_1.AudioGenAdapterService,
97
+ vertex_tts_service_1.VertextTtsService,
80
98
  vertex_veo_gcp_service_1.VertexVeoGcpService,
81
99
  generated_asset_service_1.GeneratedAssetService,
82
100
  key_balancer_api_service_1.KeyBalancerClientService,
@@ -87,10 +105,6 @@ let NestVertexModule = NestVertexModule_1 = class NestVertexModule {
87
105
  comfy_sdk_service_1.ComfySDKService,
88
106
  vertex_gemini_tts_service_1.VertexGeminiTtsService,
89
107
  groq_llm_service_1.GroqLlmService,
90
- {
91
- provide: ai_services_client_1.AI_SERVICES_CLIENT_OPTIONS,
92
- useValue: clientOptions,
93
- },
94
108
  {
95
109
  provide: ai_services_client_1.AiServicesClient,
96
110
  useFactory: (httpService, opts) => {
@@ -98,46 +112,37 @@ let NestVertexModule = NestVertexModule_1 = class NestVertexModule {
98
112
  },
99
113
  inject: [axios_1.HttpService, ai_services_client_1.AI_SERVICES_CLIENT_OPTIONS],
100
114
  },
101
- ];
102
- return {
103
- module: NestVertexModule_1,
104
- imports: [
105
- nest_storage_1.NestStorageModule,
106
- axios_1.HttpModule,
107
- nest_mongo_1.DCMongoDBModule,
108
- mongoose_1.MongooseModule.forFeature([{ name: generated_asset_entity_1.GeneratedAsset.name, schema: generated_asset_entity_1.GeneratedAssetSchema }]),
109
- comfyui_module_1.ComfyUIModule,
110
- nest_auth_1.NestAuthModule,
111
- ],
112
- providers,
113
- exports: [
114
- vertex_image_video_service_1.VertexImageVideoService,
115
- vertex_tts_service_1.VertextTtsService,
116
- vertex_gemini_chat_service_1.GeminiChatService,
117
- vertex_image_service_1.ImageVertexService,
118
- ai_sdk_chat_service_1.AIChatService,
119
- adapter_llm_service_1.LLMAdapterService,
120
- adapter_image_gen_service_1.ImageGenAdapterService,
121
- adapter_audio_gen_service_1.AudioGenAdapterService,
122
- vertex_veo_gcp_service_1.VertexVeoGcpService,
123
- generated_asset_service_1.GeneratedAssetService,
124
- key_balancer_api_service_1.KeyBalancerClientService,
125
- vertex_veo_genai_service_1.VertexVeoGenaiService,
126
- google_genai_service_1.GoogleGenaiService,
127
- groq_service_1.GroqService,
128
- local_stt_service_1.LocalSttService,
129
- comfyui_module_1.ComfyUIModule,
130
- comfy_sdk_service_1.ComfySDKService,
131
- vertex_gemini_tts_service_1.VertexGeminiTtsService,
132
- groq_llm_service_1.GroqLlmService,
133
- ai_services_client_1.AiServicesClient,
134
- ],
135
- controllers,
136
- };
137
- }
138
- };
139
- exports.NestVertexModule = NestVertexModule;
140
- exports.NestVertexModule = NestVertexModule = NestVertexModule_1 = __decorate([
141
- (0, common_1.Module)({})
115
+ ],
116
+ exports: [
117
+ vertex_image_video_service_1.VertexImageVideoService,
118
+ vertex_gemini_chat_service_1.GeminiChatService,
119
+ vertex_image_service_1.ImageVertexService,
120
+ ai_sdk_chat_service_1.AIChatService,
121
+ adapter_llm_service_1.LLMAdapterService,
122
+ adapter_image_gen_service_1.ImageGenAdapterService,
123
+ adapter_audio_gen_service_1.AudioGenAdapterService,
124
+ vertex_tts_service_1.VertextTtsService,
125
+ vertex_veo_gcp_service_1.VertexVeoGcpService,
126
+ generated_asset_service_1.GeneratedAssetService,
127
+ key_balancer_api_service_1.KeyBalancerClientService,
128
+ vertex_veo_genai_service_1.VertexVeoGenaiService,
129
+ google_genai_service_1.GoogleGenaiService,
130
+ groq_service_1.GroqService,
131
+ local_stt_service_1.LocalSttService,
132
+ comfyui_module_1.ComfyUIModule,
133
+ comfy_sdk_service_1.ComfySDKService,
134
+ vertex_gemini_tts_service_1.VertexGeminiTtsService,
135
+ groq_llm_service_1.GroqLlmService,
136
+ ai_services_client_1.AiServicesClient,
137
+ ],
138
+ imports: [
139
+ nest_storage_1.NestStorageModule,
140
+ axios_1.HttpModule,
141
+ nest_mongo_1.DCMongoDBModule,
142
+ mongoose_1.MongooseModule.forFeature([{ name: generated_asset_entity_1.GeneratedAsset.name, schema: generated_asset_entity_1.GeneratedAssetSchema }]),
143
+ comfyui_module_1.ComfyUIModule,
144
+ nest_auth_1.NestAuthModule,
145
+ ],
146
+ })
142
147
  ], NestVertexModule);
143
148
  //# sourceMappingURL=nest-vertex.module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataclouder/nest-vertex",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "description": "NestJS Vertex AI library for Dataclouder",
5
5
  "author": "dataclouder",
6
6
  "license": "MIT",