@secrecy/trpc-api-types 1.4.0 → 1.5.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +224 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -5966,6 +5966,30 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5966
5966
  };
5967
5967
  _output_in: {
5968
5968
  code: string;
5969
+ plan: {
5970
+ id: string;
5971
+ kind: string;
5972
+ price: _prisma_client_runtime_library.Decimal;
5973
+ descriptor: {
5974
+ id: string;
5975
+ devsBase: bigint | null;
5976
+ devsUnit: bigint | null;
5977
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
5978
+ usersBase: bigint | null;
5979
+ usersUnit: bigint | null;
5980
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
5981
+ perFileSizeBase: bigint | null;
5982
+ perFileSizeUnit: bigint | null;
5983
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
5984
+ bandwidthBase: bigint | null;
5985
+ bandwidthUnit: bigint | null;
5986
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
5987
+ devsMax: bigint | null;
5988
+ usersMax: bigint | null;
5989
+ perFileSizeMax: bigint | null;
5990
+ bandwidthMax: bigint | null;
5991
+ };
5992
+ } | null;
5969
5993
  id: string;
5970
5994
  createdAt: Date;
5971
5995
  planId: string | null;
@@ -5978,9 +6002,65 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5978
6002
  updatedAt: Date;
5979
6003
  origin: string[];
5980
6004
  consumptionId: string;
6005
+ owner: {
6006
+ user: {
6007
+ id: string;
6008
+ } | null;
6009
+ };
6010
+ users: {
6011
+ userId: string;
6012
+ }[];
6013
+ plans: ({
6014
+ id: string;
6015
+ kind: string;
6016
+ price: _prisma_client_runtime_library.Decimal;
6017
+ descriptor: {
6018
+ id: string;
6019
+ devsBase: bigint | null;
6020
+ devsUnit: bigint | null;
6021
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
6022
+ usersBase: bigint | null;
6023
+ usersUnit: bigint | null;
6024
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
6025
+ perFileSizeBase: bigint | null;
6026
+ perFileSizeUnit: bigint | null;
6027
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
6028
+ bandwidthBase: bigint | null;
6029
+ bandwidthUnit: bigint | null;
6030
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
6031
+ devsMax: bigint | null;
6032
+ usersMax: bigint | null;
6033
+ perFileSizeMax: bigint | null;
6034
+ bandwidthMax: bigint | null;
6035
+ };
6036
+ } | null)[];
5981
6037
  };
5982
6038
  _output_out: {
5983
6039
  code: string;
6040
+ plan: {
6041
+ id: string;
6042
+ kind: string;
6043
+ price: _prisma_client_runtime_library.Decimal;
6044
+ descriptor: {
6045
+ id: string;
6046
+ devsBase: bigint | null;
6047
+ devsUnit: bigint | null;
6048
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
6049
+ usersBase: bigint | null;
6050
+ usersUnit: bigint | null;
6051
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
6052
+ perFileSizeBase: bigint | null;
6053
+ perFileSizeUnit: bigint | null;
6054
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
6055
+ bandwidthBase: bigint | null;
6056
+ bandwidthUnit: bigint | null;
6057
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
6058
+ devsMax: bigint | null;
6059
+ usersMax: bigint | null;
6060
+ perFileSizeMax: bigint | null;
6061
+ bandwidthMax: bigint | null;
6062
+ };
6063
+ } | null;
5984
6064
  id: string;
5985
6065
  createdAt: Date;
5986
6066
  planId: string | null;
@@ -5993,6 +6073,38 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5993
6073
  updatedAt: Date;
5994
6074
  origin: string[];
5995
6075
  consumptionId: string;
6076
+ owner: {
6077
+ user: {
6078
+ id: string;
6079
+ } | null;
6080
+ };
6081
+ users: {
6082
+ userId: string;
6083
+ }[];
6084
+ plans: ({
6085
+ id: string;
6086
+ kind: string;
6087
+ price: _prisma_client_runtime_library.Decimal;
6088
+ descriptor: {
6089
+ id: string;
6090
+ devsBase: bigint | null;
6091
+ devsUnit: bigint | null;
6092
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
6093
+ usersBase: bigint | null;
6094
+ usersUnit: bigint | null;
6095
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
6096
+ perFileSizeBase: bigint | null;
6097
+ perFileSizeUnit: bigint | null;
6098
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
6099
+ bandwidthBase: bigint | null;
6100
+ bandwidthUnit: bigint | null;
6101
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
6102
+ devsMax: bigint | null;
6103
+ usersMax: bigint | null;
6104
+ perFileSizeMax: bigint | null;
6105
+ bandwidthMax: bigint | null;
6106
+ };
6107
+ } | null)[];
5996
6108
  };
5997
6109
  }, unknown>;
5998
6110
  applications: _trpc_server.BuildProcedure<"query", {
@@ -6026,6 +6138,30 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6026
6138
  };
6027
6139
  _output_in: {
6028
6140
  code: string;
6141
+ plan: {
6142
+ id: string;
6143
+ kind: string;
6144
+ price: _prisma_client_runtime_library.Decimal;
6145
+ descriptor: {
6146
+ id: string;
6147
+ devsBase: bigint | null;
6148
+ devsUnit: bigint | null;
6149
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
6150
+ usersBase: bigint | null;
6151
+ usersUnit: bigint | null;
6152
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
6153
+ perFileSizeBase: bigint | null;
6154
+ perFileSizeUnit: bigint | null;
6155
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
6156
+ bandwidthBase: bigint | null;
6157
+ bandwidthUnit: bigint | null;
6158
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
6159
+ devsMax: bigint | null;
6160
+ usersMax: bigint | null;
6161
+ perFileSizeMax: bigint | null;
6162
+ bandwidthMax: bigint | null;
6163
+ };
6164
+ } | null;
6029
6165
  id: string;
6030
6166
  createdAt: Date;
6031
6167
  planId: string | null;
@@ -6038,9 +6174,65 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6038
6174
  updatedAt: Date;
6039
6175
  origin: string[];
6040
6176
  consumptionId: string;
6177
+ owner: {
6178
+ user: {
6179
+ id: string;
6180
+ } | null;
6181
+ };
6182
+ users: {
6183
+ userId: string;
6184
+ }[];
6185
+ plans: ({
6186
+ id: string;
6187
+ kind: string;
6188
+ price: _prisma_client_runtime_library.Decimal;
6189
+ descriptor: {
6190
+ id: string;
6191
+ devsBase: bigint | null;
6192
+ devsUnit: bigint | null;
6193
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
6194
+ usersBase: bigint | null;
6195
+ usersUnit: bigint | null;
6196
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
6197
+ perFileSizeBase: bigint | null;
6198
+ perFileSizeUnit: bigint | null;
6199
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
6200
+ bandwidthBase: bigint | null;
6201
+ bandwidthUnit: bigint | null;
6202
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
6203
+ devsMax: bigint | null;
6204
+ usersMax: bigint | null;
6205
+ perFileSizeMax: bigint | null;
6206
+ bandwidthMax: bigint | null;
6207
+ };
6208
+ } | null)[];
6041
6209
  }[];
6042
6210
  _output_out: {
6043
6211
  code: string;
6212
+ plan: {
6213
+ id: string;
6214
+ kind: string;
6215
+ price: _prisma_client_runtime_library.Decimal;
6216
+ descriptor: {
6217
+ id: string;
6218
+ devsBase: bigint | null;
6219
+ devsUnit: bigint | null;
6220
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
6221
+ usersBase: bigint | null;
6222
+ usersUnit: bigint | null;
6223
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
6224
+ perFileSizeBase: bigint | null;
6225
+ perFileSizeUnit: bigint | null;
6226
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
6227
+ bandwidthBase: bigint | null;
6228
+ bandwidthUnit: bigint | null;
6229
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
6230
+ devsMax: bigint | null;
6231
+ usersMax: bigint | null;
6232
+ perFileSizeMax: bigint | null;
6233
+ bandwidthMax: bigint | null;
6234
+ };
6235
+ } | null;
6044
6236
  id: string;
6045
6237
  createdAt: Date;
6046
6238
  planId: string | null;
@@ -6053,6 +6245,38 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6053
6245
  updatedAt: Date;
6054
6246
  origin: string[];
6055
6247
  consumptionId: string;
6248
+ owner: {
6249
+ user: {
6250
+ id: string;
6251
+ } | null;
6252
+ };
6253
+ users: {
6254
+ userId: string;
6255
+ }[];
6256
+ plans: ({
6257
+ id: string;
6258
+ kind: string;
6259
+ price: _prisma_client_runtime_library.Decimal;
6260
+ descriptor: {
6261
+ id: string;
6262
+ devsBase: bigint | null;
6263
+ devsUnit: bigint | null;
6264
+ devsPrice: _prisma_client_runtime_library.Decimal | null;
6265
+ usersBase: bigint | null;
6266
+ usersUnit: bigint | null;
6267
+ usersPrice: _prisma_client_runtime_library.Decimal | null;
6268
+ perFileSizeBase: bigint | null;
6269
+ perFileSizeUnit: bigint | null;
6270
+ perFileSizePrice: _prisma_client_runtime_library.Decimal | null;
6271
+ bandwidthBase: bigint | null;
6272
+ bandwidthUnit: bigint | null;
6273
+ bandwidthPrice: _prisma_client_runtime_library.Decimal | null;
6274
+ devsMax: bigint | null;
6275
+ usersMax: bigint | null;
6276
+ perFileSizeMax: bigint | null;
6277
+ bandwidthMax: bigint | null;
6278
+ };
6279
+ } | null)[];
6056
6280
  }[];
6057
6281
  }, unknown>;
6058
6282
  createApplication: _trpc_server.BuildProcedure<"mutation", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"