@roc-db/test-utils 0.1.0-pre.2
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.
- package/dist/index.js +456 -0
- package/dist/roc-db-test-utils-0.1.0-pre.1.tgz +0 -0
- package/dist/roc-db-test-utils-0.1.0-pre.2.tgz +0 -0
- package/dist/setup/index.js +7 -0
- package/dist/types/inMemoryAdapter.d.ts +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/operations/createBlockImage.d.ts +15 -0
- package/dist/types/operations/createBlockParagraph.d.ts +15 -0
- package/dist/types/operations/createBlockRow.d.ts +15 -0
- package/dist/types/operations/createBlockTitle.d.ts +15 -0
- package/dist/types/operations/createDraft.d.ts +15 -0
- package/dist/types/operations/createPost.d.ts +19 -0
- package/dist/types/operations/deleteBlock.d.ts +11 -0
- package/dist/types/operations/deletePost.d.ts +9 -0
- package/dist/types/operations/index.d.ts +157 -0
- package/dist/types/operations/readEntity.d.ts +1 -0
- package/dist/types/operations/readPost.d.ts +1 -0
- package/dist/types/operations/updateBlockParagraph.d.ts +15 -0
- package/dist/types/operations/updatePost.d.ts +21 -0
- package/dist/types/operations/updatePostTitle.d.ts +17 -0
- package/dist/types/schemas/BlockImageRefSchema.d.ts +1 -0
- package/dist/types/schemas/BlockImageSchema.d.ts +32 -0
- package/dist/types/schemas/BlockParagraphRefSchema.d.ts +1 -0
- package/dist/types/schemas/BlockParagraphSchema.d.ts +32 -0
- package/dist/types/schemas/BlockRowRefSchema.d.ts +1 -0
- package/dist/types/schemas/BlockTitleRefSchema.d.ts +1 -0
- package/dist/types/schemas/BlockTitleSchema.d.ts +32 -0
- package/dist/types/schemas/CreateBlockImageMutationSchema.d.ts +40 -0
- package/dist/types/schemas/CreateBlockParagraphMutationSchema.d.ts +40 -0
- package/dist/types/schemas/CreateBlockRowMutationSchema.d.ts +40 -0
- package/dist/types/schemas/CreateBlockTitleMutationSchema.d.ts +40 -0
- package/dist/types/schemas/CreateDraftMutationSchema.d.ts +40 -0
- package/dist/types/schemas/CreatePostMutationSchema.d.ts +50 -0
- package/dist/types/schemas/CreateUserMutationSchema.d.ts +40 -0
- package/dist/types/schemas/DeleteBlockMutationSchema.d.ts +30 -0
- package/dist/types/schemas/DeletePostMutationSchema.d.ts +29 -0
- package/dist/types/schemas/DraftRefSchema.d.ts +1 -0
- package/dist/types/schemas/DraftSchema.d.ts +32 -0
- package/dist/types/schemas/PostRefSchema.d.ts +1 -0
- package/dist/types/schemas/PostSchema.d.ts +32 -0
- package/dist/types/schemas/UpdateBlockParagraphMutationSchema.d.ts +45 -0
- package/dist/types/schemas/UpdatePostMutationSchema.d.ts +55 -0
- package/dist/types/schemas/UpdatePostTitleMutationSchema.d.ts +45 -0
- package/dist/types/schemas/UserRefSchema.d.ts +1 -0
- package/dist/types/schemas/index.d.ts +44 -0
- package/dist/types/testAdapterImplementation.d.ts +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const DeletePostMutationSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2
|
+
ref: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
|
|
3
|
+
timestamp: import("zod").ZodString;
|
|
4
|
+
changeSetRef: import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
|
|
5
|
+
payload: import("zod").ZodAny;
|
|
6
|
+
log: import("zod").ZodArray<import("zod").ZodTuple<[import("zod").ZodType<never, import("zod").ZodTypeDef, never>, import("zod").ZodString, import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>], null>, "many">;
|
|
7
|
+
debounceCount: import("zod").ZodNumber;
|
|
8
|
+
}, {
|
|
9
|
+
name: import("zod").ZodLiteral<"deletePost">;
|
|
10
|
+
changeSetRef: import("zod").ZodType<never, import("zod").ZodTypeDef, never> | import("zod").ZodNullable<import("zod").ZodType<never, import("zod").ZodTypeDef, never>>;
|
|
11
|
+
payload: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
12
|
+
log: import("zod").ZodType<[never, string, null][], import("zod").ZodTypeDef, [never, string, null][]>;
|
|
13
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
14
|
+
ref: `Mutation/${string}`;
|
|
15
|
+
timestamp: string;
|
|
16
|
+
changeSetRef: null;
|
|
17
|
+
payload: `Post/${string}`;
|
|
18
|
+
log: [never, string, null][];
|
|
19
|
+
debounceCount: number;
|
|
20
|
+
name: "deletePost";
|
|
21
|
+
}, {
|
|
22
|
+
ref: `Mutation/${string}`;
|
|
23
|
+
timestamp: string;
|
|
24
|
+
changeSetRef: null;
|
|
25
|
+
payload: `Post/${string}`;
|
|
26
|
+
log: [never, string, null][];
|
|
27
|
+
debounceCount: number;
|
|
28
|
+
name: "deletePost";
|
|
29
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DraftRefSchema: import("zod").ZodType<`Draft/${string}`, import("zod").ZodTypeDef, `Draft/${string}`>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const DraftSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
ref: z.ZodType<never, z.ZodTypeDef, never>;
|
|
4
|
+
entity: z.ZodString;
|
|
5
|
+
created: z.ZodObject<{
|
|
6
|
+
mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
|
|
7
|
+
timestamp: z.ZodString;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
mutationRef: `Mutation/${string}`;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
}, {
|
|
12
|
+
mutationRef: `Mutation/${string}`;
|
|
13
|
+
timestamp: string;
|
|
14
|
+
}>;
|
|
15
|
+
updated: z.ZodObject<{
|
|
16
|
+
mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
|
|
17
|
+
timestamp: z.ZodString;
|
|
18
|
+
}, "strict", z.ZodTypeAny, {
|
|
19
|
+
mutationRef: `Mutation/${string}`;
|
|
20
|
+
timestamp: string;
|
|
21
|
+
}, {
|
|
22
|
+
mutationRef: `Mutation/${string}`;
|
|
23
|
+
timestamp: string;
|
|
24
|
+
}>;
|
|
25
|
+
data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
26
|
+
parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
27
|
+
ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
28
|
+
}, z.ZodRawShape>, "strict", z.ZodTypeAny, {
|
|
29
|
+
[x: string]: any;
|
|
30
|
+
}, {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PostRefSchema: import("zod").ZodType<`Post/${string}`, import("zod").ZodTypeDef, `Post/${string}`>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PostSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
ref: z.ZodType<never, z.ZodTypeDef, never>;
|
|
4
|
+
entity: z.ZodString;
|
|
5
|
+
created: z.ZodObject<{
|
|
6
|
+
mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
|
|
7
|
+
timestamp: z.ZodString;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
mutationRef: `Mutation/${string}`;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
}, {
|
|
12
|
+
mutationRef: `Mutation/${string}`;
|
|
13
|
+
timestamp: string;
|
|
14
|
+
}>;
|
|
15
|
+
updated: z.ZodObject<{
|
|
16
|
+
mutationRef: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
|
|
17
|
+
timestamp: z.ZodString;
|
|
18
|
+
}, "strict", z.ZodTypeAny, {
|
|
19
|
+
mutationRef: `Mutation/${string}`;
|
|
20
|
+
timestamp: string;
|
|
21
|
+
}, {
|
|
22
|
+
mutationRef: `Mutation/${string}`;
|
|
23
|
+
timestamp: string;
|
|
24
|
+
}>;
|
|
25
|
+
data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
26
|
+
parents: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
27
|
+
ancestors: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
28
|
+
}, z.ZodRawShape>, "strict", z.ZodTypeAny, {
|
|
29
|
+
[x: string]: any;
|
|
30
|
+
}, {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
}>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const UpdateBlockParagraphMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
|
|
4
|
+
timestamp: z.ZodString;
|
|
5
|
+
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
|
+
payload: z.ZodAny;
|
|
7
|
+
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
|
+
debounceCount: z.ZodNumber;
|
|
9
|
+
}, {
|
|
10
|
+
name: z.ZodLiteral<"updateBlockParagraph">;
|
|
11
|
+
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
12
|
+
payload: z.ZodObject<{
|
|
13
|
+
ref: z.ZodType<`BlockParagraph/${string}`, z.ZodTypeDef, `BlockParagraph/${string}`>;
|
|
14
|
+
content: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
ref: `BlockParagraph/${string}`;
|
|
17
|
+
content: string;
|
|
18
|
+
}, {
|
|
19
|
+
ref: `BlockParagraph/${string}`;
|
|
20
|
+
content: string;
|
|
21
|
+
}>;
|
|
22
|
+
log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
|
|
23
|
+
}>, "strict", z.ZodTypeAny, {
|
|
24
|
+
ref: `Mutation/${string}`;
|
|
25
|
+
timestamp: string;
|
|
26
|
+
changeSetRef: null;
|
|
27
|
+
payload: {
|
|
28
|
+
ref: `BlockParagraph/${string}`;
|
|
29
|
+
content: string;
|
|
30
|
+
};
|
|
31
|
+
log: [never, string, null][];
|
|
32
|
+
debounceCount: number;
|
|
33
|
+
name: "updateBlockParagraph";
|
|
34
|
+
}, {
|
|
35
|
+
ref: `Mutation/${string}`;
|
|
36
|
+
timestamp: string;
|
|
37
|
+
changeSetRef: null;
|
|
38
|
+
payload: {
|
|
39
|
+
ref: `BlockParagraph/${string}`;
|
|
40
|
+
content: string;
|
|
41
|
+
};
|
|
42
|
+
log: [never, string, null][];
|
|
43
|
+
debounceCount: number;
|
|
44
|
+
name: "updateBlockParagraph";
|
|
45
|
+
}>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const UpdatePostMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
|
|
4
|
+
timestamp: z.ZodString;
|
|
5
|
+
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
|
+
payload: z.ZodAny;
|
|
7
|
+
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
|
+
debounceCount: z.ZodNumber;
|
|
9
|
+
}, {
|
|
10
|
+
name: z.ZodLiteral<"updatePost">;
|
|
11
|
+
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
12
|
+
payload: z.ZodObject<{
|
|
13
|
+
ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
14
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15
|
+
tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
16
|
+
authorRef: z.ZodOptional<z.ZodOptional<z.ZodType<`User/${string}`, z.ZodTypeDef, `User/${string}`>>>;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
ref: `Post/${string}`;
|
|
19
|
+
tags: string[];
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
authorRef?: `User/${string}` | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
ref: `Post/${string}`;
|
|
24
|
+
title?: string | undefined;
|
|
25
|
+
tags?: string[] | undefined;
|
|
26
|
+
authorRef?: `User/${string}` | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
|
|
29
|
+
}>, "strict", z.ZodTypeAny, {
|
|
30
|
+
ref: `Mutation/${string}`;
|
|
31
|
+
timestamp: string;
|
|
32
|
+
changeSetRef: null;
|
|
33
|
+
payload: {
|
|
34
|
+
ref: `Post/${string}`;
|
|
35
|
+
tags: string[];
|
|
36
|
+
title?: string | undefined;
|
|
37
|
+
authorRef?: `User/${string}` | undefined;
|
|
38
|
+
};
|
|
39
|
+
log: [never, string, null][];
|
|
40
|
+
debounceCount: number;
|
|
41
|
+
name: "updatePost";
|
|
42
|
+
}, {
|
|
43
|
+
ref: `Mutation/${string}`;
|
|
44
|
+
timestamp: string;
|
|
45
|
+
changeSetRef: null;
|
|
46
|
+
payload: {
|
|
47
|
+
ref: `Post/${string}`;
|
|
48
|
+
title?: string | undefined;
|
|
49
|
+
tags?: string[] | undefined;
|
|
50
|
+
authorRef?: `User/${string}` | undefined;
|
|
51
|
+
};
|
|
52
|
+
log: [never, string, null][];
|
|
53
|
+
debounceCount: number;
|
|
54
|
+
name: "updatePost";
|
|
55
|
+
}>;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const UpdatePostTitleMutationSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
|
+
ref: z.ZodType<`Mutation/${string}`, z.ZodTypeDef, `Mutation/${string}`>;
|
|
4
|
+
timestamp: z.ZodString;
|
|
5
|
+
changeSetRef: z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
6
|
+
payload: z.ZodAny;
|
|
7
|
+
log: z.ZodArray<z.ZodTuple<[z.ZodType<never, z.ZodTypeDef, never>, z.ZodString, z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>], null>, "many">;
|
|
8
|
+
debounceCount: z.ZodNumber;
|
|
9
|
+
}, {
|
|
10
|
+
name: z.ZodLiteral<"updatePostTitle">;
|
|
11
|
+
changeSetRef: z.ZodType<never, z.ZodTypeDef, never> | z.ZodNullable<z.ZodType<never, z.ZodTypeDef, never>>;
|
|
12
|
+
payload: z.ZodObject<{
|
|
13
|
+
ref: z.ZodType<`Post/${string}`, z.ZodTypeDef, `Post/${string}`>;
|
|
14
|
+
title: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
ref: `Post/${string}`;
|
|
17
|
+
title: string;
|
|
18
|
+
}, {
|
|
19
|
+
ref: `Post/${string}`;
|
|
20
|
+
title: string;
|
|
21
|
+
}>;
|
|
22
|
+
log: z.ZodType<[never, string, null][], z.ZodTypeDef, [never, string, null][]>;
|
|
23
|
+
}>, "strict", z.ZodTypeAny, {
|
|
24
|
+
ref: `Mutation/${string}`;
|
|
25
|
+
timestamp: string;
|
|
26
|
+
changeSetRef: null;
|
|
27
|
+
payload: {
|
|
28
|
+
ref: `Post/${string}`;
|
|
29
|
+
title: string;
|
|
30
|
+
};
|
|
31
|
+
log: [never, string, null][];
|
|
32
|
+
debounceCount: number;
|
|
33
|
+
name: "updatePostTitle";
|
|
34
|
+
}, {
|
|
35
|
+
ref: `Mutation/${string}`;
|
|
36
|
+
timestamp: string;
|
|
37
|
+
changeSetRef: null;
|
|
38
|
+
payload: {
|
|
39
|
+
ref: `Post/${string}`;
|
|
40
|
+
title: string;
|
|
41
|
+
};
|
|
42
|
+
log: [never, string, null][];
|
|
43
|
+
debounceCount: number;
|
|
44
|
+
name: "updatePostTitle";
|
|
45
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const UserRefSchema: import("zod").ZodType<`User/${string}`, import("zod").ZodTypeDef, `User/${string}`>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BlockImageSchema } from "./BlockImageSchema";
|
|
2
|
+
import { BlockParagraphSchema } from "./BlockParagraphSchema";
|
|
3
|
+
import { BlockTitleSchema } from "./BlockTitleSchema";
|
|
4
|
+
import { DraftSchema } from "./DraftSchema";
|
|
5
|
+
import { PostSchema } from "./PostSchema";
|
|
6
|
+
export { BlockImageSchema, BlockParagraphSchema, BlockTitleSchema, DraftSchema, PostSchema, };
|
|
7
|
+
export declare const entities: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
8
|
+
ref: import("zod").ZodType<never, import("zod").ZodTypeDef, never>;
|
|
9
|
+
entity: import("zod").ZodString;
|
|
10
|
+
created: import("zod").ZodObject<{
|
|
11
|
+
mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
|
|
12
|
+
timestamp: import("zod").ZodString;
|
|
13
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
14
|
+
mutationRef: `Mutation/${string}`;
|
|
15
|
+
timestamp: string;
|
|
16
|
+
}, {
|
|
17
|
+
mutationRef: `Mutation/${string}`;
|
|
18
|
+
timestamp: string;
|
|
19
|
+
}>;
|
|
20
|
+
updated: import("zod").ZodObject<{
|
|
21
|
+
mutationRef: import("zod").ZodType<`Mutation/${string}`, import("zod").ZodTypeDef, `Mutation/${string}`>;
|
|
22
|
+
timestamp: import("zod").ZodString;
|
|
23
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
24
|
+
mutationRef: `Mutation/${string}`;
|
|
25
|
+
timestamp: string;
|
|
26
|
+
}, {
|
|
27
|
+
mutationRef: `Mutation/${string}`;
|
|
28
|
+
timestamp: string;
|
|
29
|
+
}>;
|
|
30
|
+
data: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
31
|
+
parents: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
32
|
+
ancestors: import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>;
|
|
33
|
+
}, import("zod").ZodRawShape>, "strict", import("zod").ZodTypeAny, {
|
|
34
|
+
[x: string]: any;
|
|
35
|
+
}, {
|
|
36
|
+
[x: string]: any;
|
|
37
|
+
}>[];
|
|
38
|
+
export { DraftRefSchema } from "./DraftRefSchema";
|
|
39
|
+
export { PostRefSchema } from "./PostRefSchema";
|
|
40
|
+
export { UserRefSchema } from "./UserRefSchema";
|
|
41
|
+
export { CreatePostMutationSchema } from "./CreatePostMutationSchema";
|
|
42
|
+
export { CreateUserMutationSchema } from "./CreateUserMutationSchema";
|
|
43
|
+
export { UpdatePostMutationSchema } from "./UpdatePostMutationSchema";
|
|
44
|
+
export { UpdatePostTitleMutationSchema } from "./UpdatePostTitleMutationSchema";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const testAdapterImplementation: <EngineOptions extends {}>(adapterConstructor: any, engineArgsAdapter1?: EngineOptions, engineArgsAdapter2?: EngineOptions) => () => Promise<void>;
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@roc-db/test-utils",
|
|
3
|
+
"version": "0.1.0-pre.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./src/index.ts",
|
|
7
|
+
"./setup": "./src/setup/index.ts"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "NODE_ENV=production bun run scripts/build.ts",
|
|
15
|
+
"build:types": "rm -rf dist/types && bun run tsc --noCheck",
|
|
16
|
+
"test": "echo"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@faker-js/faker": "9.6.0",
|
|
20
|
+
"@types/bun": "1.2.5",
|
|
21
|
+
"@types/sanitize-html": "2.13.0",
|
|
22
|
+
"bun": "1.2.5",
|
|
23
|
+
"expect-type": "1.2.0",
|
|
24
|
+
"roc-db": "0.1.0-pre.1"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"roc-db": "0.1.0-pre.1",
|
|
28
|
+
"zod": "3.24.2"
|
|
29
|
+
},
|
|
30
|
+
"keywords": [],
|
|
31
|
+
"author": "Eigil Sagafos",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/eigilsagafos/roc-db.git"
|
|
35
|
+
},
|
|
36
|
+
"license": "MIT"
|
|
37
|
+
}
|