diff --git a/packages/plugins/openapi/tests/baseline/rpc-type-coverage.baseline.yaml b/packages/plugins/openapi/tests/baseline/rpc-type-coverage.baseline.yaml index a5cc407bc..380d42e96 100644 --- a/packages/plugins/openapi/tests/baseline/rpc-type-coverage.baseline.yaml +++ b/packages/plugins/openapi/tests/baseline/rpc-type-coverage.baseline.yaml @@ -19,16 +19,16 @@ components: - decimal - boolean - bytes - QueryMode: - type: string - enum: - - default - - insensitive SortOrder: type: string enum: - asc - desc + QueryMode: + type: string + enum: + - default + - insensitive Foo: type: object properties: @@ -368,13 +368,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -401,13 +405,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -426,13 +434,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -452,15 +464,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -484,13 +502,17 @@ components: equals: type: number in: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number notIn: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number lt: type: number lte: @@ -511,17 +533,25 @@ components: - type: string - type: number in: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number notIn: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number lt: oneOf: - type: string @@ -560,15 +590,21 @@ components: type: string format: byte in: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte notIn: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte not: oneOf: - type: string @@ -580,13 +616,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -619,13 +659,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -654,13 +698,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -690,15 +738,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -728,13 +782,17 @@ components: equals: type: number in: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number notIn: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number lt: type: number lte: @@ -765,17 +823,25 @@ components: - type: string - type: number in: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number notIn: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number lt: oneOf: - type: string @@ -830,15 +896,21 @@ components: type: string format: byte in: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte notIn: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte not: oneOf: - type: string @@ -940,13 +1012,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -971,13 +1047,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -996,13 +1076,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -1022,15 +1106,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -1054,13 +1144,17 @@ components: equals: type: number in: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number notIn: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number lt: type: number lte: @@ -1081,17 +1175,25 @@ components: - type: string - type: number in: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number notIn: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number lt: oneOf: - type: string @@ -1130,15 +1232,21 @@ components: type: string format: byte in: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte notIn: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte not: oneOf: - type: string @@ -1150,13 +1258,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -1187,13 +1299,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -1222,13 +1338,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -1258,15 +1378,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -1296,13 +1422,17 @@ components: equals: type: number in: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number notIn: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number lt: type: number lte: @@ -1333,17 +1463,25 @@ components: - type: string - type: number in: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number notIn: - type: array - items: - oneOf: - - type: string - - type: number + oneOf: + - type: array + items: + oneOf: + - type: string + - type: number + - oneOf: + - type: string + - type: number lt: oneOf: - type: string @@ -1398,15 +1536,21 @@ components: type: string format: byte in: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte notIn: - type: array - items: - type: string - format: byte + oneOf: + - type: array + items: + type: string + format: byte + - type: string + format: byte not: oneOf: - type: string diff --git a/packages/plugins/openapi/tests/baseline/rpc.baseline.yaml b/packages/plugins/openapi/tests/baseline/rpc.baseline.yaml index 4e87045be..b3a1956ff 100644 --- a/packages/plugins/openapi/tests/baseline/rpc.baseline.yaml +++ b/packages/plugins/openapi/tests/baseline/rpc.baseline.yaml @@ -14,6 +14,14 @@ components: enum: - USER - ADMIN + UserScalarFieldEnum: + type: string + enum: + - id + - createdAt + - updatedAt + - email + - role Post_ItemScalarFieldEnum: type: string enum: @@ -24,24 +32,21 @@ components: - authorId - published - viewCount - QueryMode: - type: string - enum: - - default - - insensitive SortOrder: type: string enum: - asc - desc - UserScalarFieldEnum: + QueryMode: type: string enum: - - id - - createdAt - - updatedAt - - email - - role + - default + - insensitive + NullsOrder: + type: string + enum: + - first + - last User: type: object properties: @@ -238,10 +243,6 @@ components: oneOf: - $ref: '#/components/schemas/StringFilter' - type: string - author: - oneOf: - - $ref: '#/components/schemas/UserRelationFilter' - - $ref: '#/components/schemas/UserWhereInput' authorId: oneOf: - $ref: '#/components/schemas/StringNullableFilter' @@ -254,6 +255,10 @@ components: oneOf: - $ref: '#/components/schemas/IntFilter' - type: integer + author: + oneOf: + - $ref: '#/components/schemas/UserRelationFilter' + - $ref: '#/components/schemas/UserWhereInput' Post_ItemOrderByWithRelationInput: type: object properties: @@ -265,14 +270,16 @@ components: $ref: '#/components/schemas/SortOrder' title: $ref: '#/components/schemas/SortOrder' - author: - $ref: '#/components/schemas/UserOrderByWithRelationInput' authorId: - $ref: '#/components/schemas/SortOrder' + oneOf: + - $ref: '#/components/schemas/SortOrder' + - $ref: '#/components/schemas/SortOrderInput' published: $ref: '#/components/schemas/SortOrder' viewCount: $ref: '#/components/schemas/SortOrder' + author: + $ref: '#/components/schemas/UserOrderByWithRelationInput' Post_ItemWhereUniqueInput: type: object properties: @@ -430,12 +437,12 @@ components: format: date-time title: type: string - author: - $ref: '#/components/schemas/UserCreateNestedOneWithoutPostsInput' published: type: boolean viewCount: type: integer + author: + $ref: '#/components/schemas/UserCreateNestedOneWithoutPostsInput' required: - id - title @@ -460,8 +467,6 @@ components: oneOf: - type: string - $ref: '#/components/schemas/StringFieldUpdateOperationsInput' - author: - $ref: '#/components/schemas/UserUpdateOneWithoutPostsNestedInput' published: oneOf: - type: boolean @@ -470,6 +475,8 @@ components: oneOf: - type: integer - $ref: '#/components/schemas/IntFieldUpdateOperationsInput' + author: + $ref: '#/components/schemas/UserUpdateOneWithoutPostsNestedInput' Post_ItemCreateManyInput: type: object properties: @@ -527,13 +534,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -561,15 +572,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -593,13 +610,17 @@ components: equals: $ref: '#/components/schemas/Role' in: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' notIn: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' not: oneOf: - $ref: '#/components/schemas/Role' @@ -624,13 +645,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -664,15 +689,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -702,13 +733,17 @@ components: equals: $ref: '#/components/schemas/Role' in: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' notIn: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' not: oneOf: - $ref: '#/components/schemas/Role' @@ -719,26 +754,23 @@ components: $ref: '#/components/schemas/NestedEnumroleFilter' _max: $ref: '#/components/schemas/NestedEnumroleFilter' - UserRelationFilter: - type: object - properties: - is: - $ref: '#/components/schemas/UserWhereInput' - isNot: - $ref: '#/components/schemas/UserWhereInput' StringNullableFilter: type: object properties: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -774,13 +806,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -793,19 +829,39 @@ components: oneOf: - type: integer - $ref: '#/components/schemas/NestedIntFilter' + UserRelationFilter: + type: object + properties: + is: + $ref: '#/components/schemas/UserWhereInput' + isNot: + $ref: '#/components/schemas/UserWhereInput' + SortOrderInput: + type: object + properties: + sort: + $ref: '#/components/schemas/SortOrder' + nulls: + $ref: '#/components/schemas/NullsOrder' + required: + - sort StringNullableWithAggregatesFilter: type: object properties: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -853,13 +909,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -1005,6 +1065,24 @@ components: $ref: '#/components/schemas/UserCreateOrConnectWithoutPostsInput' connect: $ref: '#/components/schemas/UserWhereUniqueInput' + BoolFieldUpdateOperationsInput: + type: object + properties: + set: + type: boolean + IntFieldUpdateOperationsInput: + type: object + properties: + set: + type: integer + increment: + type: integer + decrement: + type: integer + multiply: + type: integer + divide: + type: integer UserUpdateOneWithoutPostsNestedInput: type: object properties: @@ -1026,37 +1104,23 @@ components: oneOf: - $ref: '#/components/schemas/UserUpdateWithoutPostsInput' - $ref: '#/components/schemas/UserUncheckedUpdateWithoutPostsInput' - BoolFieldUpdateOperationsInput: - type: object - properties: - set: - type: boolean - IntFieldUpdateOperationsInput: - type: object - properties: - set: - type: integer - increment: - type: integer - decrement: - type: integer - multiply: - type: integer - divide: - type: integer NestedStringFilter: type: object properties: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -1082,15 +1146,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -1114,13 +1184,17 @@ components: equals: $ref: '#/components/schemas/Role' in: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' notIn: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' not: oneOf: - $ref: '#/components/schemas/Role' @@ -1131,13 +1205,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -1168,13 +1246,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -1194,15 +1276,21 @@ components: type: string format: date-time in: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time notIn: - type: array - items: - type: string - format: date-time + oneOf: + - type: array + items: + type: string + format: date-time + - type: string + format: date-time lt: type: string format: date-time @@ -1232,13 +1320,17 @@ components: equals: $ref: '#/components/schemas/Role' in: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' notIn: - type: array - items: - $ref: '#/components/schemas/Role' + oneOf: + - type: array + items: + $ref: '#/components/schemas/Role' + - $ref: '#/components/schemas/Role' not: oneOf: - $ref: '#/components/schemas/Role' @@ -1255,13 +1347,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -1295,13 +1391,17 @@ components: equals: type: string in: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string notIn: - type: array - items: - type: string + oneOf: + - type: array + items: + type: string + - type: string lt: type: string lte: @@ -1332,13 +1432,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -1372,13 +1476,17 @@ components: equals: type: integer in: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer notIn: - type: array - items: - type: integer + oneOf: + - type: array + items: + type: integer + - type: integer lt: type: integer lte: @@ -1407,13 +1515,17 @@ components: equals: type: number in: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number notIn: - type: array - items: - type: number + oneOf: + - type: array + items: + type: number + - type: number lt: type: number lte: @@ -1482,9 +1594,11 @@ components: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/Post_ItemCreateManyAuthorInput' + oneOf: + - $ref: '#/components/schemas/Post_ItemCreateManyAuthorInput' + - type: array + items: + $ref: '#/components/schemas/Post_ItemCreateManyAuthorInput' skipDuplicates: type: boolean required: diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 0054ca4ca..2c4e729cc 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -20,7 +20,7 @@ "license": "MIT", "dependencies": { "@prisma/generator-helper": "^5.0.0", - "@prisma/internals": "4.10.0", + "@prisma/internals": "^4.16.0", "@prisma/internals-v5": "npm:@prisma/internals@^5.0.0", "@zenstackhq/language": "workspace:*", "@zenstackhq/runtime": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 39e590778..1c69f831b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -614,8 +614,8 @@ importers: specifier: ^5.0.0 version: 5.0.0 '@prisma/internals': - specifier: 4.10.0 - version: 4.10.0 + specifier: ^4.16.0 + version: 4.16.2 '@prisma/internals-v5': specifier: npm:@prisma/internals@^5.0.0 version: /@prisma/internals@5.0.0 @@ -2916,44 +2916,6 @@ packages: engines: {node: '>=8.0.0'} dev: false - /@opentelemetry/core@1.14.0(@opentelemetry/api@1.4.1): - resolution: {integrity: sha512-MnMZ+sxsnlzloeuXL2nm5QcNczt/iO82UOeQQDHhV83F2fP3sgntW2evvtoxJki0MBLxEsh5ADD7PR/Hn5uzjw==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.4.1 - '@opentelemetry/semantic-conventions': 1.14.0 - dev: false - - /@opentelemetry/resources@1.14.0(@opentelemetry/api@1.4.1): - resolution: {integrity: sha512-qRfWIgBxxl3z47E036Aey0Lj2ZjlFb27Q7Xnj1y1z/P293RXJZGLtcfn/w8JF7v1Q2hs3SDGxz7Wb9Dko1YUQA==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.4.1 - '@opentelemetry/core': 1.14.0(@opentelemetry/api@1.4.1) - '@opentelemetry/semantic-conventions': 1.14.0 - dev: false - - /@opentelemetry/sdk-trace-base@1.14.0(@opentelemetry/api@1.4.1): - resolution: {integrity: sha512-NzRGt3PS+HPKfQYMb6Iy8YYc5OKA73qDwci/6ujOIvyW9vcqBJSWbjZ8FeLEAmuatUB5WrRhEKu9b0sIiIYTrQ==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.4.1 - '@opentelemetry/core': 1.14.0(@opentelemetry/api@1.4.1) - '@opentelemetry/resources': 1.14.0(@opentelemetry/api@1.4.1) - '@opentelemetry/semantic-conventions': 1.14.0 - dev: false - - /@opentelemetry/semantic-conventions@1.14.0: - resolution: {integrity: sha512-rJfCY8rCWz3cb4KI6pEofnytvMPuj3YLQwoscCCYZ5DkdiPjo15IQ0US7+mjcWy9H3fcZIzf2pbJZ7ck/h4tug==} - engines: {node: '>=14'} - dev: false - /@paralleldrive/cuid2@2.2.0: resolution: {integrity: sha512-CVQDpPIUHrUGGLdrMGz1NmqZvqmsB2j2rCIQEu1EvxWjlFh4fhvEGmgR409cY20/67/WlJsggenq0no3p3kYsw==} dependencies: @@ -2985,10 +2947,10 @@ packages: resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==} dev: true - /@prisma/debug@4.10.0: - resolution: {integrity: sha512-rxVOZKsEyjlQCwN/pkkJO7wEdARt1yRyukSjLa+BF2QTvy2+VgtBmrfys4WDQSnj3jVWeHMpi5GeAoJjKkSKyA==} + /@prisma/debug@4.16.2: + resolution: {integrity: sha512-7L7WbG0qNNZYgLpsVB8rCHCXEyHFyIycRlRDNwkVfjQmACC2OW6AWCYCbfdjQhkF/t7+S3njj8wAWAocSs+Brw==} dependencies: - '@types/debug': 4.1.7 + '@types/debug': 4.1.8 debug: 4.3.4 strip-ansi: 6.0.1 transitivePeerDependencies: @@ -3005,30 +2967,8 @@ packages: - supports-color dev: false - /@prisma/engine-core@4.10.0: - resolution: {integrity: sha512-uKkUXcpqGX4LbTwnvLsEBhl0gfcfSE5jYWQqastFqoO+lVIEiVZ9aoDrDDy7ZUhjtCLmejsgVb7mXmCzA3nhMg==} - dependencies: - '@opentelemetry/api': 1.4.1 - '@opentelemetry/sdk-trace-base': 1.14.0(@opentelemetry/api@1.4.1) - '@prisma/debug': 4.10.0 - '@prisma/engines': 4.10.0 - '@prisma/generator-helper': 4.10.0 - '@prisma/get-platform': 4.10.0 - chalk: 4.1.2 - execa: 5.1.1 - get-stream: 6.0.1 - indent-string: 4.0.0 - new-github-issue-url: 0.2.1 - p-retry: 4.6.2 - strip-ansi: 6.0.1 - ts-pattern: 4.1.3 - undici: 5.16.0 - transitivePeerDependencies: - - supports-color - dev: false - - /@prisma/engines@4.10.0: - resolution: {integrity: sha512-ZPPo7q+nQZdTlPFedS7mFXPE3oZ2kWtTh3GO4sku0XQ8ikLqEyinuTPJbQCw/8qel2xglIEQicsK6yI4Jgh20A==} + /@prisma/engines@4.16.2: + resolution: {integrity: sha512-vx1nxVvN4QeT/cepQce68deh/Turxy5Mr+4L4zClFuK1GlxN3+ivxfuv+ej/gvidWn1cE1uAhW7ALLNlYbRUAw==} requiresBuild: true dev: false @@ -3037,19 +2977,19 @@ packages: requiresBuild: true dev: false - /@prisma/fetch-engine@4.10.0: - resolution: {integrity: sha512-DZaBIstNiubIuZHX3ul2piltE98MkPHelsCKub9NWqprdgTAd/1TBJQT2CVuVP1V5d+0JT0Nd+FmQY+oCWb5rw==} + /@prisma/fetch-engine@4.16.2: + resolution: {integrity: sha512-lnCnHcOaNn0kw8qTJbVcNhyfIf5Lus2GFXbj3qpkdKEIB9xLgqkkuTP+35q1xFaqwQ0vy4HFpdRUpFP7njE15g==} dependencies: - '@prisma/debug': 4.10.0 - '@prisma/get-platform': 4.10.0 - chalk: 4.1.2 + '@prisma/debug': 4.16.2 + '@prisma/get-platform': 4.16.2 execa: 5.1.1 find-cache-dir: 3.3.2 - fs-extra: 11.1.0 + fs-extra: 11.1.1 hasha: 5.2.2 - http-proxy-agent: 5.0.0 - https-proxy-agent: 5.0.1 - node-fetch: 2.6.9 + http-proxy-agent: 7.0.0 + https-proxy-agent: 7.0.0 + kleur: 4.1.5 + node-fetch: 2.6.11 p-filter: 2.1.0 p-map: 4.0.0 p-retry: 4.6.2 @@ -3087,13 +3027,13 @@ packages: - supports-color dev: false - /@prisma/generator-helper@4.10.0: - resolution: {integrity: sha512-NkQOfZpHUjVjqJ7NN2FymHSLkGd/E0fz5c3RkyESKvQqBy2sFBxt+aFxGsUbUy3FfwvkckC04HdQOXpisAko0A==} + /@prisma/generator-helper@4.16.2: + resolution: {integrity: sha512-bMOH7y73Ui7gpQrioFeavMQA+Tf8ksaVf8Nhs9rQNzuSg8SSV6E9baczob0L5KGZTSgYoqnrRxuo03kVJYrnIg==} dependencies: - '@prisma/debug': 4.10.0 + '@prisma/debug': 4.16.2 '@types/cross-spawn': 6.0.2 - chalk: 4.1.2 cross-spawn: 7.0.3 + kleur: 4.1.5 transitivePeerDependencies: - supports-color dev: false @@ -3109,19 +3049,19 @@ packages: - supports-color dev: false - /@prisma/get-platform@4.10.0: - resolution: {integrity: sha512-QBgHnMe1CtFoioyH9C9cniC4TENFlhQuxWWxJQwWw8fkxvz/WgDwxJ+Xu3Jk8JrfP5iUVzqv+7VbZVKfMObakg==} + /@prisma/get-platform@4.16.2: + resolution: {integrity: sha512-fnDey1/iSefHJRMB+w243BhWENf+paRouPMdCqIVqu8dYkR1NqhldblsSUC4Zr2sKS7Ta2sK4OLdt9IH+PZTfw==} dependencies: - '@prisma/debug': 4.10.0 - chalk: 4.1.2 + '@prisma/debug': 4.16.2 escape-string-regexp: 4.0.0 execa: 5.1.1 fs-jetpack: 5.1.0 + kleur: 4.1.5 replace-string: 3.1.0 strip-ansi: 6.0.1 tempy: 1.0.1 terminal-link: 2.1.1 - ts-pattern: 4.1.3 + ts-pattern: 4.3.0 transitivePeerDependencies: - supports-color dev: false @@ -3143,42 +3083,43 @@ packages: - supports-color dev: false - /@prisma/internals@4.10.0: - resolution: {integrity: sha512-Inex2YHZ0oaIxoGGjBX0N2w3TAVx7m7SXF0ru1kbvB05wqum1yyquBnsyca5A4DBANf3uSa3ZyQvx+Ksl4gIgw==} + /@prisma/internals@4.16.2: + resolution: {integrity: sha512-/3OiSADA3RRgsaeEE+MDsBgL6oAMwddSheXn6wtYGUnjERAV/BmF5bMMLnTykesQqwZ1s8HrISrJ0Vf6cjOxMg==} dependencies: - '@prisma/debug': 4.10.0 - '@prisma/engine-core': 4.10.0 - '@prisma/engines': 4.10.0 - '@prisma/fetch-engine': 4.10.0 - '@prisma/generator-helper': 4.10.0 - '@prisma/get-platform': 4.10.0 - '@prisma/prisma-fmt-wasm': 4.10.0-84.ca7fcef713137fa11029d519a9780db130cca91d + '@antfu/ni': 0.21.4 + '@opentelemetry/api': 1.4.1 + '@prisma/debug': 4.16.2 + '@prisma/engines': 4.16.2 + '@prisma/fetch-engine': 4.16.2 + '@prisma/generator-helper': 4.16.2 + '@prisma/get-platform': 4.16.2 + '@prisma/prisma-fmt-wasm': 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81 archiver: 5.3.1 arg: 5.0.2 - chalk: 4.1.2 - checkpoint-client: 1.1.23 + checkpoint-client: 1.1.24 cli-truncate: 2.1.0 dotenv: 16.0.3 escape-string-regexp: 4.0.0 execa: 5.1.1 find-up: 5.0.0 - fp-ts: 2.13.1 - fs-extra: 11.1.0 + fp-ts: 2.16.0 + fs-extra: 11.1.1 fs-jetpack: 5.1.0 global-dirs: 3.0.1 globby: 11.1.0 - has-yarn: 2.1.0 + indent-string: 4.0.0 is-windows: 1.0.2 is-wsl: 2.2.0 + kleur: 4.1.5 new-github-issue-url: 0.2.1 - node-fetch: 2.6.9 + node-fetch: 2.6.11 + npm-packlist: 5.1.3 open: 7.4.2 - ora: 5.4.1 p-map: 4.0.0 prompts: 2.4.2 read-pkg-up: 7.0.1 replace-string: 3.1.0 - resolve: 1.22.1 + resolve: 1.22.2 string-width: 4.2.3 strip-ansi: 6.0.1 strip-indent: 3.0.0 @@ -3244,8 +3185,8 @@ packages: - supports-color dev: false - /@prisma/prisma-fmt-wasm@4.10.0-84.ca7fcef713137fa11029d519a9780db130cca91d: - resolution: {integrity: sha512-AkNNfsOnbfmGYFWAk6mFckuznyi4FvQDrK8NKQKC2DV068K//eAdr149upmypS90uOM3y74KS+b32ZyQwThzyA==} + /@prisma/prisma-fmt-wasm@4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81: + resolution: {integrity: sha512-g090+dEH7wrdCw359+8J9+TGH84qK28V/dxwINjhhNCtju9lej99z9w/AVsJP9UhhcCPS4psYz4iu8d53uxVpA==} dev: false /@prisma/prisma-schema-wasm@4.17.0-26.6b0aef69b7cdfc787f822ecd7cdc76d5f1991584: @@ -3443,11 +3384,6 @@ packages: svelte: 3.59.2 dev: true - /@tootallnate/once@2.0.0: - resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} - engines: {node: '>= 10'} - dev: false - /@trpc/client@10.32.0(@trpc/server@10.32.0): resolution: {integrity: sha512-hrj6XV84nE6DH5AmsPJ0JzIRcx3f6zU0tvS705DnZtNBOoMk7Lx+wX+KCDxj4DxLsTXC+roAxZxWwAB6/LGsXA==} peerDependencies: @@ -3595,12 +3531,6 @@ packages: '@types/node': 18.0.0 dev: false - /@types/debug@4.1.7: - resolution: {integrity: sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg==} - dependencies: - '@types/ms': 0.7.31 - dev: false - /@types/debug@4.1.8: resolution: {integrity: sha512-/vPO1EPOs306Cvhwv7KfVfYvOJqA/S/AXjaHQiJboCZzcNDb+TIJFN9/2C9DZ//ijSKWioNyUxD792QmDJ+HKQ==} dependencies: @@ -4807,6 +4737,7 @@ packages: engines: {node: '>=10.16.0'} dependencies: streamsearch: 1.1.0 + dev: true /bytes@3.1.2: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} @@ -4930,20 +4861,6 @@ packages: resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} dev: true - /checkpoint-client@1.1.23: - resolution: {integrity: sha512-NrGvMiH1fUcZwrYc0Z+YTn7q9ysV0kPgVyDKZ5jrfIerFJuSllvyGsY7bHeQSEiljaIaUP1Q/xutZ8q1s7PGzg==} - dependencies: - ci-info: 3.3.0 - env-paths: 2.2.1 - fast-write-atomic: 0.2.1 - make-dir: 3.1.0 - ms: 2.1.3 - node-fetch: 2.6.7 - uuid: 8.3.2 - transitivePeerDependencies: - - encoding - dev: false - /checkpoint-client@1.1.24: resolution: {integrity: sha512-nIOlLhDS7MKs4tUzS3LCm+sE1NgTCVnVrXlD0RRxaoEkkLu8LIWSUNiNWai6a+LK5unLzTyZeTCYX1Smqy0YoA==} dependencies: @@ -5021,10 +4938,6 @@ packages: dev: true optional: true - /ci-info@3.3.0: - resolution: {integrity: sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==} - dev: false - /ci-info@3.8.0: resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} engines: {node: '>=8'} @@ -6748,10 +6661,6 @@ packages: engines: {node: '>= 0.6'} dev: true - /fp-ts@2.13.1: - resolution: {integrity: sha512-0eu5ULPS2c/jsa1lGFneEFFEdTbembJv8e4QKXeVJ3lm/5hyve06dlKZrpxmMwJt6rYen7sxmHHK2CLaXvWuWQ==} - dev: false - /fp-ts@2.16.0: resolution: {integrity: sha512-bLq+KgbiXdTEoT1zcARrWEpa5z6A/8b7PcDW7Gef3NSisQ+VS7ll2Xbf1E+xsgik0rWub/8u0qP/iTTjj+PhxQ==} dev: false @@ -6779,6 +6688,7 @@ packages: graceful-fs: 4.2.11 jsonfile: 6.1.0 universalify: 2.0.0 + dev: true /fs-extra@11.1.1: resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==} @@ -7057,11 +6967,6 @@ packages: has-symbols: 1.0.3 dev: true - /has-yarn@2.1.0: - resolution: {integrity: sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==} - engines: {node: '>=8'} - dev: false - /has@1.0.3: resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==} engines: {node: '>= 0.4.0'} @@ -7122,17 +7027,6 @@ packages: toidentifier: 1.0.1 dev: true - /http-proxy-agent@5.0.0: - resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} - engines: {node: '>= 6'} - dependencies: - '@tootallnate/once': 2.0.0 - agent-base: 6.0.2 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - dev: false - /http-proxy-agent@7.0.0: resolution: {integrity: sha512-+ZT+iBxVUQ1asugqnD6oWoRiS25AkjNfG085dKJGtGxkdwLQrMKU5wJr2bOOFAXzKcTuqq+7fZlTMgG3SRfIYQ==} engines: {node: '>= 14'} @@ -7153,16 +7047,6 @@ packages: - supports-color dev: false - /https-proxy-agent@5.0.1: - resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} - engines: {node: '>= 6'} - dependencies: - agent-base: 6.0.2 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color - dev: false - /https-proxy-agent@7.0.0: resolution: {integrity: sha512-0euwPCRyAPSgGdzD1IVN9nJYHtBhJwb6XPfbpQcYbPCwrBidX6GzxmchnaF4sfF/jPb74Ojx5g4yTg3sixlyPw==} engines: {node: '>= 14'} @@ -8769,30 +8653,6 @@ packages: dependencies: whatwg-url: 5.0.0 - /node-fetch@2.6.7: - resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: false - - /node-fetch@2.6.9: - resolution: {integrity: sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==} - engines: {node: 4.x || >=6.0.0} - peerDependencies: - encoding: ^0.1.0 - peerDependenciesMeta: - encoding: - optional: true - dependencies: - whatwg-url: 5.0.0 - dev: false - /node-int64@0.4.0: resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} dev: true @@ -9830,15 +9690,6 @@ packages: engines: {node: '>=10'} dev: true - /resolve@1.22.1: - resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} - hasBin: true - dependencies: - is-core-module: 2.12.1 - path-parse: 1.0.7 - supports-preserve-symlinks-flag: 1.0.0 - dev: false - /resolve@1.22.2: resolution: {integrity: sha512-Sb+mjNHOULsBv818T40qSPeRiuWLyaGMa5ewydRLFimneixmVy2zdivRl+AF6jaYPC8ERxGDmFSiqui6SfPd+g==} hasBin: true @@ -10251,6 +10102,7 @@ packages: /streamsearch@1.1.0: resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} engines: {node: '>=10.0.0'} + dev: true /string-length@4.0.2: resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} @@ -10939,10 +10791,6 @@ packages: yn: 3.1.1 dev: true - /ts-pattern@4.1.3: - resolution: {integrity: sha512-8beXMWTGEv1JfDjSxfNhe4uT5jKYdhmEUKzt4gZW9dmHlquq3b+IbEyA7vX9LjBfzHmvKnM4HiomAUCyaW2Pew==} - dev: false - /ts-pattern@4.3.0: resolution: {integrity: sha512-pefrkcd4lmIVR0LA49Imjf9DYLK8vtWhqBPA3Ya1ir8xCW0O2yjL9dsCVvI7pCodLC5q7smNpEtDR2yVulQxOg==} dev: false @@ -11187,13 +11035,6 @@ packages: resolution: {integrity: sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A==} dev: true - /undici@5.16.0: - resolution: {integrity: sha512-KWBOXNv6VX+oJQhchXieUznEmnJMqgXMbs0xxH2t8q/FUAWSJvOSr/rMaZKnX5RIVq7JDn0JbP4BOnKG2SGXLQ==} - engines: {node: '>=12.18'} - dependencies: - busboy: 1.6.0 - dev: false - /undici@5.22.1: resolution: {integrity: sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==} engines: {node: '>=14.0'} @@ -11287,11 +11128,6 @@ packages: hasBin: true dev: false - /uuid@8.3.2: - resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} - hasBin: true - dev: false - /uuid@9.0.0: resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} hasBin: true