diff --git a/package.json b/package.json index 11901be..47547d3 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ }, "dependencies": { "@apache-arrow/esnext-esm": "^21.0.0", - "@cloudquery/plugin-pb-javascript": "^0.0.40", + "@cloudquery/plugin-pb-javascript": "^0.0.42", "@grpc/grpc-js": "^1.9.0", "@types/luxon": "^3.3.1", "ajv": "^8.12.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aa4d8e0..a765299 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -170,8 +170,8 @@ importers: specifier: ^21.0.0 version: 21.2.0 '@cloudquery/plugin-pb-javascript': - specifier: ^0.0.40 - version: 0.0.40 + specifier: ^0.0.42 + version: 0.0.42 '@grpc/grpc-js': specifier: ^1.9.0 version: 1.14.5 @@ -319,8 +319,8 @@ packages: '@cacheable/utils@2.5.0': resolution: {integrity: sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==} - '@cloudquery/plugin-pb-javascript@0.0.40': - resolution: {integrity: sha512-OeI3kM5jPnolv91YRaI3YamYVL7JLgleTGWxyqcVnrGZAqHvfA2eELRJb52bW4PU3W4F2GXWkXMCuSBHHx3+cg==} + '@cloudquery/plugin-pb-javascript@0.0.42': + resolution: {integrity: sha512-yu38V5HmfAiZ29vtRo5sS/FMsggJwVPdU0rOYIXv/8Ey4ZDSZtaOeUqXpBopHoqRbwDJodcaTa2F056Fhp6SIw==} engines: {node: '>=16.17.0'} '@colors/colors@1.6.0': @@ -2720,7 +2720,7 @@ snapshots: hashery: 1.5.1 keyv: 5.6.0 - '@cloudquery/plugin-pb-javascript@0.0.40': + '@cloudquery/plugin-pb-javascript@0.0.42': dependencies: google-protobuf: 4.0.2 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 6d13889..cadbf43 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -7,3 +7,5 @@ minimumReleaseAge: 10080 # 7 days minimumReleaseAgeExclude: # Renovate security update: uuid@14.0.0 - uuid@14.0.0 + # First-party package + - '@cloudquery/plugin-pb-javascript' diff --git a/src/grpc/plugin.ts b/src/grpc/plugin.ts index 0f41d37..5e08aeb 100644 --- a/src/grpc/plugin.ts +++ b/src/grpc/plugin.ts @@ -181,6 +181,25 @@ export class PluginServer extends pluginV3.cloudquery.plugin.v3.UnimplementedPlu throw new Error('Method not implemented.'); } + AssessTables( + call: grpc.ServerUnaryCall< + pluginV3.cloudquery.plugin.v3.AssessTables.Request, + pluginV3.cloudquery.plugin.v3.AssessTables.Response + >, + callback: grpc.sendUnaryData, + ): void { + return callback({ code: grpc.status.UNIMPLEMENTED, details: 'Method not implemented.' }, null); + } + + WriteStream( + call: grpc.ServerDuplexStream< + pluginV3.cloudquery.plugin.v3.Write.Request, + pluginV3.cloudquery.plugin.v3.Write.Response + >, + ): void { + call.emit('error', { code: grpc.status.UNIMPLEMENTED, details: 'Method not implemented.' }); + } + TestConnection( call: grpc.ServerUnaryCall< pluginV3.cloudquery.plugin.v3.TestConnection.Request,