@be-logixpair/api 0.0.3 → 0.0.5

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 +81 -52
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1213,59 +1213,88 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1213
1213
  };
1214
1214
  meta: object;
1215
1215
  }>;
1216
- getHistories: import("@trpc/server").TRPCMutationProcedure<{
1217
- input: {
1218
- search?: string | null | undefined;
1219
- take?: number | null | undefined;
1220
- skip?: number | null | undefined;
1221
- is_active?: boolean[] | null | undefined;
1222
- ids_include?: number[] | null | undefined;
1223
- ids_exclude?: number[] | null | undefined;
1224
- ids_string_include?: string[] | null | undefined;
1225
- ids_string_exclude?: string[] | null | undefined;
1226
- logic_codes_include?: string[] | null | undefined;
1227
- logic_codes_exclude?: string[] | null | undefined;
1228
- id_log_type?: number | null | undefined;
1229
- ids_log_type?: number[] | null | undefined;
1230
- id_time_zone?: number | null | undefined;
1231
- ids_time_zone?: number[] | null | undefined;
1232
- };
1233
- output: {
1234
- data: {
1235
- id: number;
1236
- url: string | null;
1237
- id_log_type: number | null;
1238
- action: string | null;
1239
- params: JsonValue | null;
1240
- action_by: string | null;
1241
- action_id: string | null;
1242
- action_at: Date | null;
1243
- id_time_zone: number | null;
1244
- }[] | undefined;
1245
- total: number | undefined;
1246
- };
1216
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1217
+ ctx: Context$1;
1247
1218
  meta: object;
1248
- }>;
1249
- getHistoryDetail: import("@trpc/server").TRPCMutationProcedure<{
1250
- input: {
1251
- id?: number | null | undefined;
1252
- id_string?: string | null | undefined;
1253
- };
1254
- output: {
1255
- data: {
1256
- id: number;
1257
- url: string | null;
1258
- id_log_type: number | null;
1259
- action: string | null;
1260
- params: JsonValue | null;
1261
- action_by: string | null;
1262
- action_id: string | null;
1263
- action_at: Date | null;
1264
- id_time_zone: number | null;
1265
- } | undefined;
1266
- };
1267
- meta: object;
1268
- }>;
1219
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1220
+ transformer: false;
1221
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1222
+ get: import("@trpc/server").TRPCMutationProcedure<{
1223
+ input: {
1224
+ search?: string | null | undefined;
1225
+ take?: number | null | undefined;
1226
+ skip?: number | null | undefined;
1227
+ is_active?: boolean[] | null | undefined;
1228
+ ids_include?: number[] | null | undefined;
1229
+ ids_exclude?: number[] | null | undefined;
1230
+ ids_string_include?: string[] | null | undefined;
1231
+ ids_string_exclude?: string[] | null | undefined;
1232
+ logic_codes_include?: string[] | null | undefined;
1233
+ logic_codes_exclude?: string[] | null | undefined;
1234
+ id_log_type?: number | null | undefined;
1235
+ ids_log_type?: number[] | null | undefined;
1236
+ id_time_zone?: number | null | undefined;
1237
+ ids_time_zone?: number[] | null | undefined;
1238
+ };
1239
+ output: {
1240
+ data: ({
1241
+ log_type: {
1242
+ id: number;
1243
+ name: string | null;
1244
+ is_active: boolean | null;
1245
+ created_at: Date | null;
1246
+ created_by: string | null;
1247
+ updated_at: Date | null;
1248
+ updated_by: string | null;
1249
+ logic_code: string | null;
1250
+ } | null;
1251
+ } & {
1252
+ id: number;
1253
+ url: string | null;
1254
+ id_log_type: number | null;
1255
+ action: string | null;
1256
+ params: JsonValue | null;
1257
+ action_by: string | null;
1258
+ action_id: string | null;
1259
+ action_at: Date | null;
1260
+ id_time_zone: number | null;
1261
+ })[] | undefined;
1262
+ total: number | undefined;
1263
+ };
1264
+ meta: object;
1265
+ }>;
1266
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1267
+ input: {
1268
+ id?: number | null | undefined;
1269
+ id_string?: string | null | undefined;
1270
+ };
1271
+ output: {
1272
+ data: ({
1273
+ log_type: {
1274
+ id: number;
1275
+ name: string | null;
1276
+ is_active: boolean | null;
1277
+ created_at: Date | null;
1278
+ created_by: string | null;
1279
+ updated_at: Date | null;
1280
+ updated_by: string | null;
1281
+ logic_code: string | null;
1282
+ } | null;
1283
+ } & {
1284
+ id: number;
1285
+ url: string | null;
1286
+ id_log_type: number | null;
1287
+ action: string | null;
1288
+ params: JsonValue | null;
1289
+ action_by: string | null;
1290
+ action_id: string | null;
1291
+ action_at: Date | null;
1292
+ id_time_zone: number | null;
1293
+ }) | undefined;
1294
+ };
1295
+ meta: object;
1296
+ }>;
1297
+ }>>;
1269
1298
  create: import("@trpc/server").TRPCMutationProcedure<{
1270
1299
  input: {
1271
1300
  is_active?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-logixpair/api",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {