@byline/ai 1.9.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.
- package/LICENSE +21 -0
- package/README.md +4 -0
- package/dist/@types.d.ts +103 -0
- package/dist/@types.d.ts.map +1 -0
- package/dist/@types.js +68 -0
- package/dist/@types.js.map +1 -0
- package/dist/config/ai-config.d.ts +76 -0
- package/dist/config/ai-config.d.ts.map +1 -0
- package/dist/config/ai-config.js +108 -0
- package/dist/config/ai-config.js.map +1 -0
- package/dist/config/ai-config.test.node.d.ts +9 -0
- package/dist/config/ai-config.test.node.d.ts.map +1 -0
- package/dist/config/ai-config.test.node.js +31 -0
- package/dist/config/ai-config.test.node.js.map +1 -0
- package/dist/config/ai-provider.d.ts +17 -0
- package/dist/config/ai-provider.d.ts.map +1 -0
- package/dist/config/ai-provider.js +32 -0
- package/dist/config/ai-provider.js.map +1 -0
- package/dist/execute.d.ts +15 -0
- package/dist/execute.d.ts.map +1 -0
- package/dist/execute.js +473 -0
- package/dist/execute.js.map +1 -0
- package/dist/generate.d.ts +64 -0
- package/dist/generate.d.ts.map +1 -0
- package/dist/generate.js +235 -0
- package/dist/generate.js.map +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -0
- package/dist/lexical-text-edits.d.ts +23 -0
- package/dist/lexical-text-edits.d.ts.map +1 -0
- package/dist/lexical-text-edits.js +62 -0
- package/dist/lexical-text-edits.js.map +1 -0
- package/dist/lib/logger.d.ts +10 -0
- package/dist/lib/logger.d.ts.map +1 -0
- package/dist/lib/logger.js +16 -0
- package/dist/lib/logger.js.map +1 -0
- package/dist/models/anthropic/anthropic-models.d.ts +14 -0
- package/dist/models/anthropic/anthropic-models.d.ts.map +1 -0
- package/dist/models/anthropic/anthropic-models.js +41 -0
- package/dist/models/anthropic/anthropic-models.js.map +1 -0
- package/dist/models/anthropic/anthropic.d.ts +9 -0
- package/dist/models/anthropic/anthropic.d.ts.map +1 -0
- package/dist/models/anthropic/anthropic.js +20 -0
- package/dist/models/anthropic/anthropic.js.map +1 -0
- package/dist/models/anthropic/generate-native.d.ts +59 -0
- package/dist/models/anthropic/generate-native.d.ts.map +1 -0
- package/dist/models/anthropic/generate-native.js +271 -0
- package/dist/models/anthropic/generate-native.js.map +1 -0
- package/dist/models/anthropic/generate-vercel.d.ts +59 -0
- package/dist/models/anthropic/generate-vercel.d.ts.map +1 -0
- package/dist/models/anthropic/generate-vercel.js +126 -0
- package/dist/models/anthropic/generate-vercel.js.map +1 -0
- package/dist/models/anthropic/generate.d.ts +16 -0
- package/dist/models/anthropic/generate.d.ts.map +1 -0
- package/dist/models/anthropic/generate.js +28 -0
- package/dist/models/anthropic/generate.js.map +1 -0
- package/dist/models/anthropic/generate.test.node.d.ts +9 -0
- package/dist/models/anthropic/generate.test.node.d.ts.map +1 -0
- package/dist/models/anthropic/generate.test.node.js +106 -0
- package/dist/models/anthropic/generate.test.node.js.map +1 -0
- package/dist/models/anthropic/patch-native.d.ts +33 -0
- package/dist/models/anthropic/patch-native.d.ts.map +1 -0
- package/dist/models/anthropic/patch-native.js +152 -0
- package/dist/models/anthropic/patch-native.js.map +1 -0
- package/dist/models/anthropic/patch-vercel.d.ts +33 -0
- package/dist/models/anthropic/patch-vercel.d.ts.map +1 -0
- package/dist/models/anthropic/patch-vercel.js +47 -0
- package/dist/models/anthropic/patch-vercel.js.map +1 -0
- package/dist/models/anthropic/patch.d.ts +12 -0
- package/dist/models/anthropic/patch.d.ts.map +1 -0
- package/dist/models/anthropic/patch.js +16 -0
- package/dist/models/anthropic/patch.js.map +1 -0
- package/dist/models/anthropic/patch.test.node.d.ts +9 -0
- package/dist/models/anthropic/patch.test.node.d.ts.map +1 -0
- package/dist/models/anthropic/patch.test.node.js +110 -0
- package/dist/models/anthropic/patch.test.node.js.map +1 -0
- package/dist/models/anthropic/schema.d.ts +212 -0
- package/dist/models/anthropic/schema.d.ts.map +1 -0
- package/dist/models/anthropic/schema.js +131 -0
- package/dist/models/anthropic/schema.js.map +1 -0
- package/dist/models/google/generate-native.d.ts +59 -0
- package/dist/models/google/generate-native.d.ts.map +1 -0
- package/dist/models/google/generate-native.js +244 -0
- package/dist/models/google/generate-native.js.map +1 -0
- package/dist/models/google/generate-vercel.d.ts +59 -0
- package/dist/models/google/generate-vercel.d.ts.map +1 -0
- package/dist/models/google/generate-vercel.js +133 -0
- package/dist/models/google/generate-vercel.js.map +1 -0
- package/dist/models/google/generate.d.ts +16 -0
- package/dist/models/google/generate.d.ts.map +1 -0
- package/dist/models/google/generate.js +28 -0
- package/dist/models/google/generate.js.map +1 -0
- package/dist/models/google/generate.test.node.d.ts +9 -0
- package/dist/models/google/generate.test.node.d.ts.map +1 -0
- package/dist/models/google/generate.test.node.js +106 -0
- package/dist/models/google/generate.test.node.js.map +1 -0
- package/dist/models/google/google-models.d.ts +14 -0
- package/dist/models/google/google-models.d.ts.map +1 -0
- package/dist/models/google/google-models.js +25 -0
- package/dist/models/google/google-models.js.map +1 -0
- package/dist/models/google/normalize-generated-doc.d.ts +10 -0
- package/dist/models/google/normalize-generated-doc.d.ts.map +1 -0
- package/dist/models/google/normalize-generated-doc.js +48 -0
- package/dist/models/google/normalize-generated-doc.js.map +1 -0
- package/dist/models/google/patch-native.d.ts +33 -0
- package/dist/models/google/patch-native.d.ts.map +1 -0
- package/dist/models/google/patch-native.js +164 -0
- package/dist/models/google/patch-native.js.map +1 -0
- package/dist/models/google/patch-vercel.d.ts +33 -0
- package/dist/models/google/patch-vercel.d.ts.map +1 -0
- package/dist/models/google/patch-vercel.js +49 -0
- package/dist/models/google/patch-vercel.js.map +1 -0
- package/dist/models/google/patch.d.ts +12 -0
- package/dist/models/google/patch.d.ts.map +1 -0
- package/dist/models/google/patch.js +16 -0
- package/dist/models/google/patch.js.map +1 -0
- package/dist/models/google/patch.test.node.d.ts +9 -0
- package/dist/models/google/patch.test.node.d.ts.map +1 -0
- package/dist/models/google/patch.test.node.js +110 -0
- package/dist/models/google/patch.test.node.js.map +1 -0
- package/dist/models/google/schema.d.ts +416 -0
- package/dist/models/google/schema.d.ts.map +1 -0
- package/dist/models/google/schema.js +254 -0
- package/dist/models/google/schema.js.map +1 -0
- package/dist/models/openai/generate-native.d.ts +65 -0
- package/dist/models/openai/generate-native.d.ts.map +1 -0
- package/dist/models/openai/generate-native.js +276 -0
- package/dist/models/openai/generate-native.js.map +1 -0
- package/dist/models/openai/generate-vercel.d.ts +59 -0
- package/dist/models/openai/generate-vercel.d.ts.map +1 -0
- package/dist/models/openai/generate-vercel.js +132 -0
- package/dist/models/openai/generate-vercel.js.map +1 -0
- package/dist/models/openai/generate.d.ts +16 -0
- package/dist/models/openai/generate.d.ts.map +1 -0
- package/dist/models/openai/generate.js +28 -0
- package/dist/models/openai/generate.js.map +1 -0
- package/dist/models/openai/generate.test.node.d.ts +9 -0
- package/dist/models/openai/generate.test.node.d.ts.map +1 -0
- package/dist/models/openai/generate.test.node.js +106 -0
- package/dist/models/openai/generate.test.node.js.map +1 -0
- package/dist/models/openai/openai-models.d.ts +14 -0
- package/dist/models/openai/openai-models.d.ts.map +1 -0
- package/dist/models/openai/openai-models.js +23 -0
- package/dist/models/openai/openai-models.js.map +1 -0
- package/dist/models/openai/patch-native.d.ts +33 -0
- package/dist/models/openai/patch-native.d.ts.map +1 -0
- package/dist/models/openai/patch-native.js +151 -0
- package/dist/models/openai/patch-native.js.map +1 -0
- package/dist/models/openai/patch-vercel.d.ts +33 -0
- package/dist/models/openai/patch-vercel.d.ts.map +1 -0
- package/dist/models/openai/patch-vercel.js +49 -0
- package/dist/models/openai/patch-vercel.js.map +1 -0
- package/dist/models/openai/patch.d.ts +12 -0
- package/dist/models/openai/patch.d.ts.map +1 -0
- package/dist/models/openai/patch.js +16 -0
- package/dist/models/openai/patch.js.map +1 -0
- package/dist/models/openai/patch.test.node.d.ts +9 -0
- package/dist/models/openai/patch.test.node.d.ts.map +1 -0
- package/dist/models/openai/patch.test.node.js +110 -0
- package/dist/models/openai/patch.test.node.js.map +1 -0
- package/dist/models/openai/schema.d.ts +460 -0
- package/dist/models/openai/schema.d.ts.map +1 -0
- package/dist/models/openai/schema.js +327 -0
- package/dist/models/openai/schema.js.map +1 -0
- package/dist/patch.d.ts +45 -0
- package/dist/patch.d.ts.map +1 -0
- package/dist/patch.js +138 -0
- package/dist/patch.js.map +1 -0
- package/dist/plugins/ai-plugin-base.d.ts +40 -0
- package/dist/plugins/ai-plugin-base.d.ts.map +1 -0
- package/dist/plugins/ai-plugin-base.js +218 -0
- package/dist/plugins/ai-plugin-base.js.map +1 -0
- package/dist/plugins/ai-plugin.css +181 -0
- package/dist/plugins/lexical/create-empty-editor-state.d.ts +32 -0
- package/dist/plugins/lexical/create-empty-editor-state.d.ts.map +1 -0
- package/dist/plugins/lexical/create-empty-editor-state.js +51 -0
- package/dist/plugins/lexical/create-empty-editor-state.js.map +1 -0
- package/dist/plugins/lexical/import-html.d.ts +10 -0
- package/dist/plugins/lexical/import-html.d.ts.map +1 -0
- package/dist/plugins/lexical/import-html.js +31 -0
- package/dist/plugins/lexical/import-html.js.map +1 -0
- package/dist/plugins/lexical/index.d.ts +9 -0
- package/dist/plugins/lexical/index.d.ts.map +1 -0
- package/dist/plugins/lexical/index.js +9 -0
- package/dist/plugins/lexical/index.js.map +1 -0
- package/dist/plugins/lexical/plugin.d.ts +11 -0
- package/dist/plugins/lexical/plugin.d.ts.map +1 -0
- package/dist/plugins/lexical/plugin.js +305 -0
- package/dist/plugins/lexical/plugin.js.map +1 -0
- package/dist/plugins/storage.d.ts +18 -0
- package/dist/plugins/storage.d.ts.map +1 -0
- package/dist/plugins/storage.js +57 -0
- package/dist/plugins/storage.js.map +1 -0
- package/dist/plugins/streaming-preview.d.ts +12 -0
- package/dist/plugins/streaming-preview.d.ts.map +1 -0
- package/dist/plugins/streaming-preview.js +24 -0
- package/dist/plugins/streaming-preview.js.map +1 -0
- package/dist/plugins/text/index.d.ts +9 -0
- package/dist/plugins/text/index.d.ts.map +1 -0
- package/dist/plugins/text/index.js +9 -0
- package/dist/plugins/text/index.js.map +1 -0
- package/dist/plugins/text/plugin.d.ts +18 -0
- package/dist/plugins/text/plugin.d.ts.map +1 -0
- package/dist/plugins/text/plugin.js +261 -0
- package/dist/plugins/text/plugin.js.map +1 -0
- package/dist/prompts.d.ts +30 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +83 -0
- package/dist/prompts.js.map +1 -0
- package/dist/schemas/lexical-json-schema.d.ts +68 -0
- package/dist/schemas/lexical-json-schema.d.ts.map +1 -0
- package/dist/schemas/lexical-json-schema.js +434 -0
- package/dist/schemas/lexical-json-schema.js.map +1 -0
- package/dist/scripts/list-models.d.ts +9 -0
- package/dist/scripts/list-models.d.ts.map +1 -0
- package/dist/scripts/list-models.js +55 -0
- package/dist/scripts/list-models.js.map +1 -0
- package/dist/server.d.ts +25 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +22 -0
- package/dist/server.js.map +1 -0
- package/dist/utils/convert-to-lexical.d.ts +62 -0
- package/dist/utils/convert-to-lexical.d.ts.map +1 -0
- package/dist/utils/convert-to-lexical.js +210 -0
- package/dist/utils/convert-to-lexical.js.map +1 -0
- package/dist/utils/create-empty-editor-state.d.ts +32 -0
- package/dist/utils/create-empty-editor-state.d.ts.map +1 -0
- package/dist/utils/create-empty-editor-state.js +51 -0
- package/dist/utils/create-empty-editor-state.js.map +1 -0
- package/dist/utils/has-text.d.ts +10 -0
- package/dist/utils/has-text.d.ts.map +1 -0
- package/dist/utils/has-text.js +35 -0
- package/dist/utils/has-text.js.map +1 -0
- package/dist/utils/has-text.test.d.ts +9 -0
- package/dist/utils/has-text.test.d.ts.map +1 -0
- package/dist/utils/has-text.test.js +69 -0
- package/dist/utils/has-text.test.js.map +1 -0
- package/dist/utils/is-object-schema.d.ts +17 -0
- package/dist/utils/is-object-schema.d.ts.map +1 -0
- package/dist/utils/is-object-schema.js +19 -0
- package/dist/utils/is-object-schema.js.map +1 -0
- package/dist/utils/lexical-text-edits.d.ts +23 -0
- package/dist/utils/lexical-text-edits.d.ts.map +1 -0
- package/dist/utils/lexical-text-edits.js +62 -0
- package/dist/utils/lexical-text-edits.js.map +1 -0
- package/package.json +111 -0
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This Source Code is subject to the terms of the Mozilla Public
|
|
3
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
4
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Infonomic Company Limited
|
|
7
|
+
*/
|
|
8
|
+
export declare const geminiGenerationSchema2: {
|
|
9
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
10
|
+
readonly type: "object";
|
|
11
|
+
readonly additionalProperties: false;
|
|
12
|
+
readonly required: readonly ["title", "blocks"];
|
|
13
|
+
readonly properties: {
|
|
14
|
+
readonly title: {
|
|
15
|
+
readonly type: readonly ["string", "null"];
|
|
16
|
+
};
|
|
17
|
+
readonly blocks: {
|
|
18
|
+
readonly type: "array";
|
|
19
|
+
readonly items: {
|
|
20
|
+
readonly $ref: "#/$defs/Block";
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
readonly $defs: {
|
|
25
|
+
readonly Marks: {
|
|
26
|
+
readonly type: "object";
|
|
27
|
+
readonly additionalProperties: false;
|
|
28
|
+
readonly required: readonly ["bold", "italic", "underline", "code"];
|
|
29
|
+
readonly properties: {
|
|
30
|
+
readonly bold: {
|
|
31
|
+
readonly type: "boolean";
|
|
32
|
+
};
|
|
33
|
+
readonly italic: {
|
|
34
|
+
readonly type: "boolean";
|
|
35
|
+
};
|
|
36
|
+
readonly underline: {
|
|
37
|
+
readonly type: "boolean";
|
|
38
|
+
};
|
|
39
|
+
readonly code: {
|
|
40
|
+
readonly type: "boolean";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
readonly InlineText: {
|
|
45
|
+
readonly type: "object";
|
|
46
|
+
readonly additionalProperties: false;
|
|
47
|
+
readonly required: readonly ["kind", "text", "marks"];
|
|
48
|
+
readonly properties: {
|
|
49
|
+
readonly kind: {
|
|
50
|
+
readonly const: "text";
|
|
51
|
+
};
|
|
52
|
+
readonly text: {
|
|
53
|
+
readonly type: "string";
|
|
54
|
+
};
|
|
55
|
+
readonly marks: {
|
|
56
|
+
readonly $ref: "#/$defs/Marks";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
readonly InlineLink: {
|
|
61
|
+
readonly type: "object";
|
|
62
|
+
readonly additionalProperties: false;
|
|
63
|
+
readonly required: readonly ["kind", "url", "text", "marks"];
|
|
64
|
+
readonly properties: {
|
|
65
|
+
readonly kind: {
|
|
66
|
+
readonly const: "link";
|
|
67
|
+
};
|
|
68
|
+
readonly url: {
|
|
69
|
+
readonly type: "string";
|
|
70
|
+
};
|
|
71
|
+
readonly text: {
|
|
72
|
+
readonly type: "string";
|
|
73
|
+
};
|
|
74
|
+
readonly marks: {
|
|
75
|
+
readonly $ref: "#/$defs/Marks";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly InlineBr: {
|
|
80
|
+
readonly type: "object";
|
|
81
|
+
readonly additionalProperties: false;
|
|
82
|
+
readonly required: readonly ["kind"];
|
|
83
|
+
readonly properties: {
|
|
84
|
+
readonly kind: {
|
|
85
|
+
readonly const: "br";
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
readonly Inline: {
|
|
90
|
+
readonly anyOf: readonly [{
|
|
91
|
+
readonly $ref: "#/$defs/InlineText";
|
|
92
|
+
}, {
|
|
93
|
+
readonly $ref: "#/$defs/InlineLink";
|
|
94
|
+
}, {
|
|
95
|
+
readonly $ref: "#/$defs/InlineBr";
|
|
96
|
+
}];
|
|
97
|
+
};
|
|
98
|
+
readonly Paragraph: {
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly additionalProperties: false;
|
|
101
|
+
readonly required: readonly ["kind", "align", "inlines"];
|
|
102
|
+
readonly properties: {
|
|
103
|
+
readonly kind: {
|
|
104
|
+
readonly const: "paragraph";
|
|
105
|
+
};
|
|
106
|
+
readonly align: {
|
|
107
|
+
readonly enum: readonly ["start", "center", "right"];
|
|
108
|
+
};
|
|
109
|
+
readonly inlines: {
|
|
110
|
+
readonly type: "array";
|
|
111
|
+
readonly items: {
|
|
112
|
+
readonly $ref: "#/$defs/Inline";
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
readonly Heading: {
|
|
118
|
+
readonly type: "object";
|
|
119
|
+
readonly additionalProperties: false;
|
|
120
|
+
readonly required: readonly ["kind", "level", "inlines"];
|
|
121
|
+
readonly properties: {
|
|
122
|
+
readonly kind: {
|
|
123
|
+
readonly const: "heading";
|
|
124
|
+
};
|
|
125
|
+
readonly level: {
|
|
126
|
+
readonly enum: readonly [1, 2, 3];
|
|
127
|
+
};
|
|
128
|
+
readonly inlines: {
|
|
129
|
+
readonly type: "array";
|
|
130
|
+
readonly items: {
|
|
131
|
+
readonly $ref: "#/$defs/Inline";
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly Quote: {
|
|
137
|
+
readonly type: "object";
|
|
138
|
+
readonly additionalProperties: false;
|
|
139
|
+
readonly required: readonly ["kind", "blocks"];
|
|
140
|
+
readonly properties: {
|
|
141
|
+
readonly kind: {
|
|
142
|
+
readonly const: "quote";
|
|
143
|
+
};
|
|
144
|
+
readonly blocks: {
|
|
145
|
+
readonly type: "array";
|
|
146
|
+
readonly items: {
|
|
147
|
+
readonly $ref: "#/$defs/Paragraph";
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
readonly Hr: {
|
|
153
|
+
readonly type: "object";
|
|
154
|
+
readonly additionalProperties: false;
|
|
155
|
+
readonly required: readonly ["kind"];
|
|
156
|
+
readonly properties: {
|
|
157
|
+
readonly kind: {
|
|
158
|
+
readonly const: "hr";
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
readonly ListItem: {
|
|
163
|
+
readonly type: "object";
|
|
164
|
+
readonly additionalProperties: false;
|
|
165
|
+
readonly required: readonly ["indent", "blocks"];
|
|
166
|
+
readonly properties: {
|
|
167
|
+
readonly indent: {
|
|
168
|
+
readonly enum: readonly [0, 1];
|
|
169
|
+
};
|
|
170
|
+
readonly blocks: {
|
|
171
|
+
readonly type: "array";
|
|
172
|
+
readonly items: {
|
|
173
|
+
readonly $ref: "#/$defs/Paragraph";
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
readonly List: {
|
|
179
|
+
readonly type: "object";
|
|
180
|
+
readonly additionalProperties: false;
|
|
181
|
+
readonly required: readonly ["kind", "listType", "items"];
|
|
182
|
+
readonly properties: {
|
|
183
|
+
readonly kind: {
|
|
184
|
+
readonly const: "list";
|
|
185
|
+
};
|
|
186
|
+
readonly listType: {
|
|
187
|
+
readonly enum: readonly ["bullet", "number"];
|
|
188
|
+
};
|
|
189
|
+
readonly items: {
|
|
190
|
+
readonly type: "array";
|
|
191
|
+
readonly items: {
|
|
192
|
+
readonly $ref: "#/$defs/ListItem";
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly Block: {
|
|
198
|
+
readonly anyOf: readonly [{
|
|
199
|
+
readonly $ref: "#/$defs/Heading";
|
|
200
|
+
}, {
|
|
201
|
+
readonly $ref: "#/$defs/Paragraph";
|
|
202
|
+
}, {
|
|
203
|
+
readonly $ref: "#/$defs/List";
|
|
204
|
+
}, {
|
|
205
|
+
readonly $ref: "#/$defs/Quote";
|
|
206
|
+
}, {
|
|
207
|
+
readonly $ref: "#/$defs/Hr";
|
|
208
|
+
}];
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
export declare const geminiGenerationSchema: {
|
|
213
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
214
|
+
readonly type: "object";
|
|
215
|
+
readonly additionalProperties: false;
|
|
216
|
+
readonly required: readonly ["title", "blocks"];
|
|
217
|
+
readonly properties: {
|
|
218
|
+
readonly title: {
|
|
219
|
+
readonly type: readonly ["string", "null"];
|
|
220
|
+
};
|
|
221
|
+
readonly blocks: {
|
|
222
|
+
readonly type: "array";
|
|
223
|
+
readonly items: {
|
|
224
|
+
readonly $ref: "#/$defs/Block";
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
readonly $defs: {
|
|
229
|
+
readonly Marks: {
|
|
230
|
+
readonly type: "object";
|
|
231
|
+
readonly additionalProperties: false;
|
|
232
|
+
readonly required: readonly ["bold", "italic", "underline", "code"];
|
|
233
|
+
readonly properties: {
|
|
234
|
+
readonly bold: {
|
|
235
|
+
readonly type: "boolean";
|
|
236
|
+
};
|
|
237
|
+
readonly italic: {
|
|
238
|
+
readonly type: "boolean";
|
|
239
|
+
};
|
|
240
|
+
readonly underline: {
|
|
241
|
+
readonly type: "boolean";
|
|
242
|
+
};
|
|
243
|
+
readonly code: {
|
|
244
|
+
readonly type: "boolean";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
readonly InlineText: {
|
|
249
|
+
readonly type: "object";
|
|
250
|
+
readonly additionalProperties: false;
|
|
251
|
+
readonly required: readonly ["kind", "text", "marks"];
|
|
252
|
+
readonly properties: {
|
|
253
|
+
readonly kind: {
|
|
254
|
+
readonly const: "text";
|
|
255
|
+
};
|
|
256
|
+
readonly text: {
|
|
257
|
+
readonly type: "string";
|
|
258
|
+
};
|
|
259
|
+
readonly marks: {
|
|
260
|
+
readonly $ref: "#/$defs/Marks";
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
readonly InlineLink: {
|
|
265
|
+
readonly type: "object";
|
|
266
|
+
readonly additionalProperties: false;
|
|
267
|
+
readonly required: readonly ["kind", "url", "text", "marks"];
|
|
268
|
+
readonly properties: {
|
|
269
|
+
readonly kind: {
|
|
270
|
+
readonly const: "link";
|
|
271
|
+
};
|
|
272
|
+
readonly url: {
|
|
273
|
+
readonly type: "string";
|
|
274
|
+
};
|
|
275
|
+
readonly text: {
|
|
276
|
+
readonly type: "string";
|
|
277
|
+
};
|
|
278
|
+
readonly marks: {
|
|
279
|
+
readonly $ref: "#/$defs/Marks";
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
};
|
|
283
|
+
readonly InlineBr: {
|
|
284
|
+
readonly type: "object";
|
|
285
|
+
readonly additionalProperties: false;
|
|
286
|
+
readonly required: readonly ["kind"];
|
|
287
|
+
readonly properties: {
|
|
288
|
+
readonly kind: {
|
|
289
|
+
readonly const: "br";
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
readonly Inline: {
|
|
294
|
+
readonly anyOf: readonly [{
|
|
295
|
+
readonly $ref: "#/$defs/InlineText";
|
|
296
|
+
}, {
|
|
297
|
+
readonly $ref: "#/$defs/InlineLink";
|
|
298
|
+
}, {
|
|
299
|
+
readonly $ref: "#/$defs/InlineBr";
|
|
300
|
+
}];
|
|
301
|
+
};
|
|
302
|
+
readonly Paragraph: {
|
|
303
|
+
readonly type: "object";
|
|
304
|
+
readonly additionalProperties: false;
|
|
305
|
+
readonly required: readonly ["kind", "align", "inlines"];
|
|
306
|
+
readonly properties: {
|
|
307
|
+
readonly kind: {
|
|
308
|
+
readonly const: "paragraph";
|
|
309
|
+
};
|
|
310
|
+
readonly align: {
|
|
311
|
+
readonly enum: readonly ["start", "center", "right", "left"];
|
|
312
|
+
};
|
|
313
|
+
readonly inlines: {
|
|
314
|
+
readonly type: "array";
|
|
315
|
+
readonly items: {
|
|
316
|
+
readonly $ref: "#/$defs/Inline";
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
readonly Heading: {
|
|
322
|
+
readonly type: "object";
|
|
323
|
+
readonly additionalProperties: false;
|
|
324
|
+
readonly required: readonly ["kind", "level", "inlines"];
|
|
325
|
+
readonly properties: {
|
|
326
|
+
readonly kind: {
|
|
327
|
+
readonly const: "heading";
|
|
328
|
+
};
|
|
329
|
+
readonly level: {
|
|
330
|
+
readonly enum: readonly [1, 2, 3];
|
|
331
|
+
};
|
|
332
|
+
readonly inlines: {
|
|
333
|
+
readonly type: "array";
|
|
334
|
+
readonly items: {
|
|
335
|
+
readonly $ref: "#/$defs/Inline";
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
readonly Quote: {
|
|
341
|
+
readonly type: "object";
|
|
342
|
+
readonly additionalProperties: false;
|
|
343
|
+
readonly required: readonly ["kind", "blocks"];
|
|
344
|
+
readonly properties: {
|
|
345
|
+
readonly kind: {
|
|
346
|
+
readonly const: "quote";
|
|
347
|
+
};
|
|
348
|
+
readonly blocks: {
|
|
349
|
+
readonly type: "array";
|
|
350
|
+
readonly items: {
|
|
351
|
+
readonly $ref: "#/$defs/Paragraph";
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
readonly Hr: {
|
|
357
|
+
readonly type: "object";
|
|
358
|
+
readonly additionalProperties: false;
|
|
359
|
+
readonly required: readonly ["kind"];
|
|
360
|
+
readonly properties: {
|
|
361
|
+
readonly kind: {
|
|
362
|
+
readonly const: "hr";
|
|
363
|
+
};
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
readonly ListItem: {
|
|
367
|
+
readonly type: "object";
|
|
368
|
+
readonly additionalProperties: false;
|
|
369
|
+
readonly required: readonly ["indent", "blocks"];
|
|
370
|
+
readonly properties: {
|
|
371
|
+
readonly indent: {
|
|
372
|
+
readonly enum: readonly [0, 1];
|
|
373
|
+
};
|
|
374
|
+
readonly blocks: {
|
|
375
|
+
readonly type: "array";
|
|
376
|
+
readonly items: {
|
|
377
|
+
readonly $ref: "#/$defs/Paragraph";
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
readonly List: {
|
|
383
|
+
readonly type: "object";
|
|
384
|
+
readonly additionalProperties: false;
|
|
385
|
+
readonly required: readonly ["kind", "listType", "items"];
|
|
386
|
+
readonly properties: {
|
|
387
|
+
readonly kind: {
|
|
388
|
+
readonly const: "list";
|
|
389
|
+
};
|
|
390
|
+
readonly listType: {
|
|
391
|
+
readonly enum: readonly ["bullet", "number"];
|
|
392
|
+
};
|
|
393
|
+
readonly items: {
|
|
394
|
+
readonly type: "array";
|
|
395
|
+
readonly items: {
|
|
396
|
+
readonly $ref: "#/$defs/ListItem";
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
readonly Block: {
|
|
402
|
+
readonly anyOf: readonly [{
|
|
403
|
+
readonly $ref: "#/$defs/Heading";
|
|
404
|
+
}, {
|
|
405
|
+
readonly $ref: "#/$defs/Paragraph";
|
|
406
|
+
}, {
|
|
407
|
+
readonly $ref: "#/$defs/List";
|
|
408
|
+
}, {
|
|
409
|
+
readonly $ref: "#/$defs/Quote";
|
|
410
|
+
}, {
|
|
411
|
+
readonly $ref: "#/$defs/Hr";
|
|
412
|
+
}];
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/models/google/schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0H1B,CAAA;AAEV,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0HzB,CAAA"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This Source Code is subject to the terms of the Mozilla Public
|
|
3
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
4
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Infonomic Company Limited
|
|
7
|
+
*/
|
|
8
|
+
export const geminiGenerationSchema2 = {
|
|
9
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
10
|
+
type: 'object',
|
|
11
|
+
additionalProperties: false,
|
|
12
|
+
required: ['title', 'blocks'],
|
|
13
|
+
properties: {
|
|
14
|
+
title: { type: ['string', 'null'] },
|
|
15
|
+
blocks: {
|
|
16
|
+
type: 'array',
|
|
17
|
+
items: { $ref: '#/$defs/Block' },
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
$defs: {
|
|
21
|
+
Marks: {
|
|
22
|
+
type: 'object',
|
|
23
|
+
additionalProperties: false,
|
|
24
|
+
required: ['bold', 'italic', 'underline', 'code'],
|
|
25
|
+
properties: {
|
|
26
|
+
bold: { type: 'boolean' },
|
|
27
|
+
italic: { type: 'boolean' },
|
|
28
|
+
underline: { type: 'boolean' },
|
|
29
|
+
code: { type: 'boolean' },
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
InlineText: {
|
|
33
|
+
type: 'object',
|
|
34
|
+
additionalProperties: false,
|
|
35
|
+
required: ['kind', 'text', 'marks'],
|
|
36
|
+
properties: {
|
|
37
|
+
kind: { const: 'text' },
|
|
38
|
+
text: { type: 'string' },
|
|
39
|
+
marks: { $ref: '#/$defs/Marks' },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
InlineLink: {
|
|
43
|
+
type: 'object',
|
|
44
|
+
additionalProperties: false,
|
|
45
|
+
required: ['kind', 'url', 'text', 'marks'],
|
|
46
|
+
properties: {
|
|
47
|
+
kind: { const: 'link' },
|
|
48
|
+
url: { type: 'string' },
|
|
49
|
+
text: { type: 'string' },
|
|
50
|
+
marks: { $ref: '#/$defs/Marks' },
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
InlineBr: {
|
|
54
|
+
type: 'object',
|
|
55
|
+
additionalProperties: false,
|
|
56
|
+
required: ['kind'],
|
|
57
|
+
properties: { kind: { const: 'br' } },
|
|
58
|
+
},
|
|
59
|
+
Inline: {
|
|
60
|
+
anyOf: [
|
|
61
|
+
{ $ref: '#/$defs/InlineText' },
|
|
62
|
+
{ $ref: '#/$defs/InlineLink' },
|
|
63
|
+
{ $ref: '#/$defs/InlineBr' },
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
Paragraph: {
|
|
67
|
+
type: 'object',
|
|
68
|
+
additionalProperties: false,
|
|
69
|
+
required: ['kind', 'align', 'inlines'],
|
|
70
|
+
properties: {
|
|
71
|
+
kind: { const: 'paragraph' },
|
|
72
|
+
align: { enum: ['start', 'center', 'right'] },
|
|
73
|
+
inlines: { type: 'array', items: { $ref: '#/$defs/Inline' } },
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
Heading: {
|
|
77
|
+
type: 'object',
|
|
78
|
+
additionalProperties: false,
|
|
79
|
+
required: ['kind', 'level', 'inlines'],
|
|
80
|
+
properties: {
|
|
81
|
+
kind: { const: 'heading' },
|
|
82
|
+
level: { enum: [1, 2, 3] },
|
|
83
|
+
inlines: { type: 'array', items: { $ref: '#/$defs/Inline' } },
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
Quote: {
|
|
87
|
+
type: 'object',
|
|
88
|
+
additionalProperties: false,
|
|
89
|
+
required: ['kind', 'blocks'],
|
|
90
|
+
properties: {
|
|
91
|
+
kind: { const: 'quote' },
|
|
92
|
+
blocks: { type: 'array', items: { $ref: '#/$defs/Paragraph' } },
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
Hr: {
|
|
96
|
+
type: 'object',
|
|
97
|
+
additionalProperties: false,
|
|
98
|
+
required: ['kind'],
|
|
99
|
+
properties: { kind: { const: 'hr' } },
|
|
100
|
+
},
|
|
101
|
+
ListItem: {
|
|
102
|
+
type: 'object',
|
|
103
|
+
additionalProperties: false,
|
|
104
|
+
required: ['indent', 'blocks'],
|
|
105
|
+
properties: {
|
|
106
|
+
indent: { enum: [0, 1] },
|
|
107
|
+
blocks: { type: 'array', items: { $ref: '#/$defs/Paragraph' } },
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
List: {
|
|
111
|
+
type: 'object',
|
|
112
|
+
additionalProperties: false,
|
|
113
|
+
required: ['kind', 'listType', 'items'],
|
|
114
|
+
properties: {
|
|
115
|
+
kind: { const: 'list' },
|
|
116
|
+
listType: { enum: ['bullet', 'number'] },
|
|
117
|
+
items: { type: 'array', items: { $ref: '#/$defs/ListItem' } },
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
Block: {
|
|
121
|
+
anyOf: [
|
|
122
|
+
{ $ref: '#/$defs/Heading' },
|
|
123
|
+
{ $ref: '#/$defs/Paragraph' },
|
|
124
|
+
{ $ref: '#/$defs/List' },
|
|
125
|
+
{ $ref: '#/$defs/Quote' },
|
|
126
|
+
{ $ref: '#/$defs/Hr' },
|
|
127
|
+
],
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
export const geminiGenerationSchema = {
|
|
132
|
+
$schema: 'http://json-schema.org/draft-07/schema#',
|
|
133
|
+
type: 'object',
|
|
134
|
+
additionalProperties: false,
|
|
135
|
+
required: ['title', 'blocks'],
|
|
136
|
+
properties: {
|
|
137
|
+
title: { type: ['string', 'null'] },
|
|
138
|
+
blocks: {
|
|
139
|
+
type: 'array',
|
|
140
|
+
items: { $ref: '#/$defs/Block' },
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
$defs: {
|
|
144
|
+
Marks: {
|
|
145
|
+
type: 'object',
|
|
146
|
+
additionalProperties: false,
|
|
147
|
+
required: ['bold', 'italic', 'underline', 'code'],
|
|
148
|
+
properties: {
|
|
149
|
+
bold: { type: 'boolean' },
|
|
150
|
+
italic: { type: 'boolean' },
|
|
151
|
+
underline: { type: 'boolean' },
|
|
152
|
+
code: { type: 'boolean' },
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
InlineText: {
|
|
156
|
+
type: 'object',
|
|
157
|
+
additionalProperties: false,
|
|
158
|
+
required: ['kind', 'text', 'marks'],
|
|
159
|
+
properties: {
|
|
160
|
+
kind: { const: 'text' },
|
|
161
|
+
text: { type: 'string' },
|
|
162
|
+
marks: { $ref: '#/$defs/Marks' },
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
InlineLink: {
|
|
166
|
+
type: 'object',
|
|
167
|
+
additionalProperties: false,
|
|
168
|
+
required: ['kind', 'url', 'text', 'marks'],
|
|
169
|
+
properties: {
|
|
170
|
+
kind: { const: 'link' },
|
|
171
|
+
url: { type: 'string' },
|
|
172
|
+
text: { type: 'string' },
|
|
173
|
+
marks: { $ref: '#/$defs/Marks' },
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
InlineBr: {
|
|
177
|
+
type: 'object',
|
|
178
|
+
additionalProperties: false,
|
|
179
|
+
required: ['kind'],
|
|
180
|
+
properties: { kind: { const: 'br' } },
|
|
181
|
+
},
|
|
182
|
+
Inline: {
|
|
183
|
+
anyOf: [
|
|
184
|
+
{ $ref: '#/$defs/InlineText' },
|
|
185
|
+
{ $ref: '#/$defs/InlineLink' },
|
|
186
|
+
{ $ref: '#/$defs/InlineBr' },
|
|
187
|
+
],
|
|
188
|
+
},
|
|
189
|
+
Paragraph: {
|
|
190
|
+
type: 'object',
|
|
191
|
+
additionalProperties: false,
|
|
192
|
+
required: ['kind', 'align', 'inlines'],
|
|
193
|
+
properties: {
|
|
194
|
+
kind: { const: 'paragraph' },
|
|
195
|
+
align: { enum: ['start', 'center', 'right', 'left'] },
|
|
196
|
+
inlines: { type: 'array', items: { $ref: '#/$defs/Inline' } },
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
Heading: {
|
|
200
|
+
type: 'object',
|
|
201
|
+
additionalProperties: false,
|
|
202
|
+
required: ['kind', 'level', 'inlines'],
|
|
203
|
+
properties: {
|
|
204
|
+
kind: { const: 'heading' },
|
|
205
|
+
level: { enum: [1, 2, 3] },
|
|
206
|
+
inlines: { type: 'array', items: { $ref: '#/$defs/Inline' } },
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
Quote: {
|
|
210
|
+
type: 'object',
|
|
211
|
+
additionalProperties: false,
|
|
212
|
+
required: ['kind', 'blocks'],
|
|
213
|
+
properties: {
|
|
214
|
+
kind: { const: 'quote' },
|
|
215
|
+
blocks: { type: 'array', items: { $ref: '#/$defs/Paragraph' } },
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
Hr: {
|
|
219
|
+
type: 'object',
|
|
220
|
+
additionalProperties: false,
|
|
221
|
+
required: ['kind'],
|
|
222
|
+
properties: { kind: { const: 'hr' } },
|
|
223
|
+
},
|
|
224
|
+
ListItem: {
|
|
225
|
+
type: 'object',
|
|
226
|
+
additionalProperties: false,
|
|
227
|
+
required: ['indent', 'blocks'],
|
|
228
|
+
properties: {
|
|
229
|
+
indent: { enum: [0, 1] },
|
|
230
|
+
blocks: { type: 'array', items: { $ref: '#/$defs/Paragraph' } },
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
List: {
|
|
234
|
+
type: 'object',
|
|
235
|
+
additionalProperties: false,
|
|
236
|
+
required: ['kind', 'listType', 'items'],
|
|
237
|
+
properties: {
|
|
238
|
+
kind: { const: 'list' },
|
|
239
|
+
listType: { enum: ['bullet', 'number'] },
|
|
240
|
+
items: { type: 'array', items: { $ref: '#/$defs/ListItem' } },
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
Block: {
|
|
244
|
+
anyOf: [
|
|
245
|
+
{ $ref: '#/$defs/Heading' },
|
|
246
|
+
{ $ref: '#/$defs/Paragraph' },
|
|
247
|
+
{ $ref: '#/$defs/List' },
|
|
248
|
+
{ $ref: '#/$defs/Quote' },
|
|
249
|
+
{ $ref: '#/$defs/Hr' },
|
|
250
|
+
],
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
};
|
|
254
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/models/google/schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,OAAO,EAAE,yCAAyC;IAClD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;IAC7B,UAAU,EAAE;QACV,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE;QACnC,MAAM,EAAE;YACN,IAAI,EAAE,OAAO;YACb,KAAK,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE;SACjC;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,QA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