Skip to content

Commit

Permalink
fix: @types/ws version
Browse files Browse the repository at this point in the history
  • Loading branch information
loopingz committed Jun 25, 2023
1 parent a0df6b3 commit f63b002
Show file tree
Hide file tree
Showing 5 changed files with 246 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"typescript": "~4.9.3"
},
"resolutions": {
"typescript": "~4.9.3"
"typescript": "~4.9.3",
"@types/ws": "=8.5.4"
},
"author": "loopingz",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/aws/src/services/lambdacaller.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LambdaCallerTest extends WebdaTest {
const mock = mockClient(Lambda)
.on(InvokeCommand)
.resolves({
Payload: Buffer.from(JSON.stringify({ plop: true }))
Payload: <any>Buffer.from(JSON.stringify({ plop: true }))
});
try {
lambdaCaller.resolve();
Expand Down
231 changes: 231 additions & 0 deletions packages/gcp/webda.module.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,39 @@
}
],
"description": "PushConfig oidcToken"
},
"pubsubWrapper": {
"anyOf": [
{
"type": "object",
"description": "Properties of a PubsubWrapper."
},
{
"type": "null"
}
],
"description": "PushConfig pubsubWrapper"
},
"noWrapper": {
"anyOf": [
{
"type": "object",
"properties": {
"writeMetadata": {
"type": [
"boolean",
"null"
],
"description": "NoWrapper writeMetadata"
}
},
"description": "Properties of a NoWrapper."
},
{
"type": "null"
}
],
"description": "PushConfig noWrapper"
}
},
"description": "Properties of a PushConfig."
Expand Down Expand Up @@ -486,6 +519,194 @@
],
"description": "Subscription bigqueryConfig"
},
"cloudStorageConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"bucket": {
"type": [
"string",
"null"
],
"description": "CloudStorageConfig bucket"
},
"filenamePrefix": {
"type": [
"string",
"null"
],
"description": "CloudStorageConfig filenamePrefix"
},
"filenameSuffix": {
"type": [
"string",
"null"
],
"description": "CloudStorageConfig filenameSuffix"
},
"textConfig": {
"anyOf": [
{
"type": "object",
"description": "Properties of a TextConfig."
},
{
"type": "null"
}
],
"description": "CloudStorageConfig textConfig"
},
"avroConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"writeMetadata": {
"type": [
"boolean",
"null"
],
"description": "AvroConfig writeMetadata"
}
},
"description": "Properties of an AvroConfig."
},
{
"type": "null"
}
],
"description": "CloudStorageConfig avroConfig"
},
"maxDuration": {
"anyOf": [
{
"type": "object",
"properties": {
"seconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "object",
"properties": {
"high": {
"type": "number",
"description": "The high 32 bits as a signed value."
},
"low": {
"type": "number",
"description": "The low 32 bits as a signed value."
},
"unsigned": {
"type": "boolean",
"description": "Whether unsigned or not."
}
},
"required": [
"high",
"low",
"unsigned"
]
},
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Duration seconds"
},
"nanos": {
"type": [
"number",
"null"
],
"description": "Duration nanos"
}
},
"description": "Properties of a Duration."
},
{
"type": "null"
}
],
"description": "CloudStorageConfig maxDuration"
},
"maxBytes": {
"anyOf": [
{
"type": "number"
},
{
"type": "object",
"properties": {
"high": {
"type": "number",
"description": "The high 32 bits as a signed value."
},
"low": {
"type": "number",
"description": "The low 32 bits as a signed value."
},
"unsigned": {
"type": "boolean",
"description": "Whether unsigned or not."
}
},
"required": [
"high",
"low",
"unsigned"
]
},
{
"type": "string"
},
{
"type": "null"
}
],
"description": "CloudStorageConfig maxBytes"
},
"state": {
"anyOf": [
{
"$ref": "#/definitions/google.pubsub.v1.CloudStorageConfig.State"
},
{
"type": "string",
"const": "STATE_UNSPECIFIED"
},
{
"type": "string",
"const": "ACTIVE"
},
{
"type": "string",
"const": "PERMISSION_DENIED"
},
{
"type": "string",
"const": "NOT_FOUND"
},
{
"type": "null"
}
],
"description": "CloudStorageConfig state"
}
},
"description": "Properties of a CloudStorageConfig."
},
{
"type": "null"
}
],
"description": "Subscription cloudStorageConfig"
},
"ackDeadlineSeconds": {
"type": [
"number",
Expand Down Expand Up @@ -981,6 +1202,16 @@
],
"description": "State enum."
},
"google.pubsub.v1.CloudStorageConfig.State": {
"type": "number",
"enum": [
0,
1,
2,
3
],
"description": "State enum."
},
"google.pubsub.v1.Subscription.State": {
"type": "number",
"enum": [
Expand Down
12 changes: 9 additions & 3 deletions packages/graphql/webda.module.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"beans": {},
"deployers": {},
"moddas": {
"Webda/GraphQLService": "lib/graphql:GraphQLService"
},
"beans": {},
"models": {},
"deployers": {},
"models": {
"graph": {},
"tree": {},
"plurals": {},
"list": {},
"reflections": {}
},
"schemas": {
"Webda/GraphQLService": {
"type": "object",
Expand Down
6 changes: 3 additions & 3 deletions packages/mongodb/webda.module.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
},
"useBigInt64": {
"type": "boolean",
"description": "when deserializing a Long will return as a BigInt."
"description": "when deserializing a Long return as a BigInt."
},
"promoteLongs": {
"type": "boolean",
Expand Down Expand Up @@ -187,11 +187,11 @@
},
"serializeFunctions": {
"type": "boolean",
"description": "serialize the javascript functions **(default:false)**."
"description": "serialize the javascript functions"
},
"ignoreUndefined": {
"type": "boolean",
"description": "serialize will not emit undefined fields **(default:true)**"
"description": "serialize will not emit undefined fields note that the driver sets this to `false`"
},
"enableUtf8Validation": {
"type": "boolean",
Expand Down

0 comments on commit f63b002

Please sign in to comment.