@webiny/api-audit-logs 6.0.0 → 6.1.0-beta.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.
@@ -1,64 +1,21 @@
1
1
  import zod from "zod";
2
2
  export declare const getValidationSchema: zod.ZodObject<{
3
3
  id: zod.ZodString;
4
- }, "strip", zod.ZodTypeAny, {
5
- id: string;
6
- }, {
7
- id: string;
8
- }>;
4
+ }, zod.core.$strip>;
9
5
  export declare const listValidationSchema: zod.ZodObject<{
10
6
  where: zod.ZodObject<{
11
7
  app: zod.ZodOptional<zod.ZodString>;
12
8
  entity: zod.ZodOptional<zod.ZodString>;
13
9
  entityId: zod.ZodOptional<zod.ZodString>;
14
- createdOn_gte: zod.ZodEffects<zod.ZodOptional<zod.ZodDate>, Date | undefined, unknown>;
15
- createdOn_lte: zod.ZodEffects<zod.ZodOptional<zod.ZodDate>, Date | undefined, unknown>;
10
+ createdOn_gte: zod.ZodPipe<zod.ZodTransform<Date | undefined, unknown>, zod.ZodOptional<zod.ZodDate>>;
11
+ createdOn_lte: zod.ZodPipe<zod.ZodTransform<Date | undefined, unknown>, zod.ZodOptional<zod.ZodDate>>;
16
12
  createdBy: zod.ZodOptional<zod.ZodString>;
17
13
  action: zod.ZodOptional<zod.ZodString>;
18
- }, "strip", zod.ZodTypeAny, {
19
- createdBy?: string | undefined;
20
- app?: string | undefined;
21
- action?: string | undefined;
22
- entity?: string | undefined;
23
- entityId?: string | undefined;
24
- createdOn_gte?: Date | undefined;
25
- createdOn_lte?: Date | undefined;
26
- }, {
27
- createdBy?: string | undefined;
28
- app?: string | undefined;
29
- action?: string | undefined;
30
- entity?: string | undefined;
31
- entityId?: string | undefined;
32
- createdOn_gte?: unknown;
33
- createdOn_lte?: unknown;
34
- }>;
14
+ }, zod.core.$strip>;
35
15
  after: zod.ZodOptional<zod.ZodString>;
36
- sort: zod.ZodOptional<zod.ZodEnum<["ASC", "DESC"]>>;
37
- limit: zod.ZodDefault<zod.ZodEffects<zod.ZodOptional<zod.ZodNumber>, number | undefined, unknown>>;
38
- }, "strip", zod.ZodTypeAny, {
39
- limit: number;
40
- where: {
41
- createdBy?: string | undefined;
42
- app?: string | undefined;
43
- action?: string | undefined;
44
- entity?: string | undefined;
45
- entityId?: string | undefined;
46
- createdOn_gte?: Date | undefined;
47
- createdOn_lte?: Date | undefined;
48
- };
49
- after?: string | undefined;
50
- sort?: "ASC" | "DESC" | undefined;
51
- }, {
52
- where: {
53
- createdBy?: string | undefined;
54
- app?: string | undefined;
55
- action?: string | undefined;
56
- entity?: string | undefined;
57
- entityId?: string | undefined;
58
- createdOn_gte?: unknown;
59
- createdOn_lte?: unknown;
60
- };
61
- after?: string | undefined;
62
- sort?: "ASC" | "DESC" | undefined;
63
- limit?: unknown;
64
- }>;
16
+ sort: zod.ZodOptional<zod.ZodEnum<{
17
+ ASC: "ASC";
18
+ DESC: "DESC";
19
+ }>>;
20
+ limit: zod.ZodDefault<zod.ZodPipe<zod.ZodTransform<unknown, unknown>, zod.ZodOptional<zod.ZodNumber>>>;
21
+ }, zod.core.$strip>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-audit-logs",
3
- "version": "6.0.0",
3
+ "version": "6.1.0-beta.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -20,33 +20,33 @@
20
20
  "directory": "dist"
21
21
  },
22
22
  "devDependencies": {
23
- "@webiny/handler-aws": "6.0.0",
24
- "@webiny/plugins": "6.0.0",
25
- "@webiny/project-utils": "6.0.0",
26
- "graphql": "16.13.1",
23
+ "@webiny/handler-aws": "6.1.0-beta.0",
24
+ "@webiny/plugins": "6.1.0-beta.0",
25
+ "@webiny/project-utils": "6.1.0-beta.0",
26
+ "graphql": "16.13.2",
27
27
  "typescript": "5.9.3",
28
- "vitest": "4.0.18"
28
+ "vitest": "4.1.2"
29
29
  },
30
30
  "dependencies": {
31
- "@webiny/api": "6.0.0",
32
- "@webiny/api-aco": "6.0.0",
33
- "@webiny/api-core": "6.0.0",
34
- "@webiny/api-file-manager": "6.0.0",
35
- "@webiny/api-headless-cms": "6.0.0",
36
- "@webiny/api-mailer": "6.0.0",
37
- "@webiny/api-website-builder": "6.0.0",
38
- "@webiny/aws-sdk": "6.0.0",
39
- "@webiny/build-tools": "6.0.0",
40
- "@webiny/common-audit-logs": "6.0.0",
41
- "@webiny/db-dynamodb": "6.0.0",
42
- "@webiny/error": "6.0.0",
43
- "@webiny/feature": "6.0.0",
44
- "@webiny/handler": "6.0.0",
45
- "@webiny/handler-db": "6.0.0",
46
- "@webiny/handler-graphql": "6.0.0",
47
- "@webiny/utils": "6.0.0",
48
- "@webiny/wcp": "6.0.0",
49
- "zod": "3.25.76"
31
+ "@webiny/api": "6.1.0-beta.0",
32
+ "@webiny/api-aco": "6.1.0-beta.0",
33
+ "@webiny/api-core": "6.1.0-beta.0",
34
+ "@webiny/api-file-manager": "6.1.0-beta.0",
35
+ "@webiny/api-headless-cms": "6.1.0-beta.0",
36
+ "@webiny/api-mailer": "6.1.0-beta.0",
37
+ "@webiny/api-website-builder": "6.1.0-beta.0",
38
+ "@webiny/aws-sdk": "6.1.0-beta.0",
39
+ "@webiny/build-tools": "6.1.0-beta.0",
40
+ "@webiny/common-audit-logs": "6.1.0-beta.0",
41
+ "@webiny/db-dynamodb": "6.1.0-beta.0",
42
+ "@webiny/error": "6.1.0-beta.0",
43
+ "@webiny/feature": "6.1.0-beta.0",
44
+ "@webiny/handler": "6.1.0-beta.0",
45
+ "@webiny/handler-db": "6.1.0-beta.0",
46
+ "@webiny/handler-graphql": "6.1.0-beta.0",
47
+ "@webiny/utils": "6.1.0-beta.0",
48
+ "@webiny/wcp": "6.1.0-beta.0",
49
+ "zod": "4.3.6"
50
50
  },
51
- "gitHead": "9c6892640a45679ff521e25cd6587dff57393a2e"
51
+ "gitHead": "a3bd3695c66c79238e380d7360d9731b5fcf9c87"
52
52
  }