@arisutalk/character-spec 0.0.9 → 0.0.11
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/utils.js +7 -0
- package/dist/utils.js.map +1 -0
- package/dist/v0.js +30 -6
- package/dist/v0.js.map +1 -1
- package/package.json +2 -2
package/dist/utils.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../src/utils.ts"],"sourcesContent":["import type * as z from \"zod\";\n\n/**\n * Applies the given Zod schema to the provided data and returns the parsed output.\n * @param schema The Zod schema to apply.\n * @param data The data to be validated and parsed. Don't need to pass optional fields.\n * @returns The parsed output of the schema.\n */\nexport function apply<T extends z.ZodType>(\n schema: T,\n data: z.input<T>,\n): z.output<T> {\n return schema.parse(data);\n}\n"],"names":["apply","schema","data"],"mappings":"AAQO,SAASA,EACZC,GACAC,GACW;AACX,SAAOD,EAAO,MAAMC,CAAI;AAC5B;"}
|
package/dist/v0.js
CHANGED
|
@@ -1,9 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AssetEntitySchema as a, AssetsSettingSchema as t } from "./v0/Character/Assets.js";
|
|
2
|
+
import { CharacterPromptDataSchema as m, CharacterSchema as c } from "./v0/Character/Character.js";
|
|
3
|
+
import { ChatSchema as S } from "./v0/Character/Chat.js";
|
|
4
|
+
import { LorebookConditionDetails as p, LorebookConditionSchema as n, LorebookDataSchema as f, LorebookEntrySchema as s } from "./v0/Character/Lorebook.js";
|
|
5
|
+
import { MessageSchema as k, RoleSchema as l } from "./v0/Character/Message.js";
|
|
6
|
+
import { MetaSchema as C } from "./v0/Character/Meta.js";
|
|
7
|
+
import { ScriptSettingSchema as R } from "./v0/Executables/Executable.js";
|
|
8
|
+
import { ReplaceHookEntitySchema as y, ReplaceHookMetaSchema as A, ReplaceHookSchema as D } from "./v0/Executables/ReplaceHook.js";
|
|
9
|
+
import { FileSchema as H, ImageURLSchema as M, Uint8ArraySchema as d, positiveInteger as u, unique as I } from "./v0/utils.js";
|
|
2
10
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
a as AssetEntitySchema,
|
|
12
|
+
t as AssetsSettingSchema,
|
|
13
|
+
m as CharacterPromptDataSchema,
|
|
14
|
+
c as CharacterSchema,
|
|
15
|
+
S as ChatSchema,
|
|
16
|
+
H as FileSchema,
|
|
17
|
+
M as ImageURLSchema,
|
|
18
|
+
p as LorebookConditionDetails,
|
|
19
|
+
n as LorebookConditionSchema,
|
|
20
|
+
f as LorebookDataSchema,
|
|
21
|
+
s as LorebookEntrySchema,
|
|
22
|
+
k as MessageSchema,
|
|
23
|
+
C as MetaSchema,
|
|
24
|
+
y as ReplaceHookEntitySchema,
|
|
25
|
+
A as ReplaceHookMetaSchema,
|
|
26
|
+
D as ReplaceHookSchema,
|
|
27
|
+
l as RoleSchema,
|
|
28
|
+
R as ScriptSettingSchema,
|
|
29
|
+
d as Uint8ArraySchema,
|
|
30
|
+
u as positiveInteger,
|
|
31
|
+
I as unique
|
|
8
32
|
};
|
|
9
33
|
//# sourceMappingURL=v0.js.map
|
package/dist/v0.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v0.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"v0.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arisutalk/character-spec",
|
|
3
3
|
"description": "Character specification, schema & migration for ArisuTalk",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "concertypin",
|
|
@@ -59,4 +59,4 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"packageManager": "pnpm@10.16.1+sha512.0e155aa2629db8672b49e8475da6226aa4bdea85fdcdfdc15350874946d4f3c91faaf64cbdc4a5d1ab8002f473d5c3fcedcd197989cf0390f9badd3c04678706"
|
|
62
|
-
}
|
|
62
|
+
}
|