@byline/ai 3.17.1 → 3.19.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/dist/@types.d.ts +5 -5
- package/dist/@types.d.ts.map +1 -1
- package/dist/config/ai-config.d.ts +2 -2
- package/dist/config/ai-config.d.ts.map +1 -1
- package/dist/config/ai-provider.d.ts +1 -1
- package/dist/config/ai-provider.d.ts.map +1 -1
- package/dist/models/anthropic/schema.d.ts +63 -63
- package/dist/models/anthropic/schema.d.ts.map +1 -1
- package/dist/models/google/normalize-generated-doc.d.ts.map +1 -1
- package/dist/models/google/schema.d.ts +126 -126
- package/dist/models/google/schema.d.ts.map +1 -1
- package/dist/models/openai/schema.d.ts +149 -149
- package/dist/models/openai/schema.d.ts.map +1 -1
- package/dist/plugins/lexical/import-html.d.ts.map +1 -1
- package/dist/plugins/lexical/plugin.js +1 -1
- package/dist/plugins/storage.d.ts.map +1 -1
- package/dist/plugins/text/plugin.js +1 -1
- package/dist/prompts.d.ts.map +1 -1
- package/dist/schemas/lexical-json-schema.d.ts.map +1 -1
- package/package.json +22 -22
package/dist/@types.d.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Copyright (c) Infonomic Company Limited
|
|
7
7
|
*/
|
|
8
8
|
import { z } from 'zod';
|
|
9
|
-
export declare const PROVIDERS: readonly [
|
|
10
|
-
export declare const INSTRUCTION_MODES: readonly [
|
|
9
|
+
export declare const PROVIDERS: readonly ['openai', 'google', 'anthropic'];
|
|
10
|
+
export declare const INSTRUCTION_MODES: readonly ['new', 'new_with_context', 'patch'];
|
|
11
11
|
export type InstructionMode = (typeof INSTRUCTION_MODES)[number];
|
|
12
12
|
export type OutputPreference = {
|
|
13
13
|
type: 'structured';
|
|
@@ -72,9 +72,9 @@ export declare const instructionSchema: z.ZodObject<{
|
|
|
72
72
|
text: z.ZodString;
|
|
73
73
|
}, z.core.$strip>], "type">;
|
|
74
74
|
provider: z.ZodEnum<{
|
|
75
|
-
openai: "openai";
|
|
76
|
-
google: "google";
|
|
77
75
|
anthropic: "anthropic";
|
|
76
|
+
google: "google";
|
|
77
|
+
openai: "openai";
|
|
78
78
|
}>;
|
|
79
79
|
model: z.ZodString;
|
|
80
80
|
output: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -84,8 +84,8 @@ export declare const instructionSchema: z.ZodObject<{
|
|
|
84
84
|
}, z.core.$strip>, z.ZodObject<{
|
|
85
85
|
type: z.ZodLiteral<"text">;
|
|
86
86
|
length: z.ZodEnum<{
|
|
87
|
-
short: "short";
|
|
88
87
|
long: "long";
|
|
88
|
+
short: "short";
|
|
89
89
|
}>;
|
|
90
90
|
maxLength: z.ZodOptional<z.ZodNumber>;
|
|
91
91
|
}, z.core.$strip>], "type">>;
|
package/dist/@types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"@types.d.ts","sourceRoot":"","sources":["../src/@types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"@types.d.ts","sourceRoot":"","sources":["../src/@types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,SAAS,YAAI,QAAQ,EAAE,QAAQ,EAAE,WAAW,CAAU,CAAA;AAEnE,eAAO,MAAM,iBAAiB,YAAI,KAAK,EAAE,kBAAkB,EAAE,OAAO,CAAU,CAAA;AAC9E,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEhE,MAAM,MAAM,gBAAgB,GACxB;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GACtB;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAChB;IAAE,IAAI,EAAE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AAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAA;CACtC;AA+BD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuB5B,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC,UAAU,CAAC,CAAA"}
|
|
@@ -30,9 +30,9 @@ export declare const getDefaultModel: (provider: Provider) => string;
|
|
|
30
30
|
declare const aiServerSchema: z.ZodObject<{
|
|
31
31
|
ai: z.ZodObject<{
|
|
32
32
|
defaultProvider: z.ZodEnum<{
|
|
33
|
-
openai: "openai";
|
|
34
|
-
google: "google";
|
|
35
33
|
anthropic: "anthropic";
|
|
34
|
+
google: "google";
|
|
35
|
+
openai: "openai";
|
|
36
36
|
}>;
|
|
37
37
|
openai: z.ZodObject<{
|
|
38
38
|
apiKey: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-config.d.ts","sourceRoot":"","sources":["../../src/config/ai-config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEzC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,CAItD,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAInD,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAI/C,CAAA;AAED,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"ai-config.d.ts","sourceRoot":"","sources":["../../src/config/ai-config.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEzC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,CAItD,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAInD,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,CAI/C,CAAA;AAED,eAAO,MAAM,UAAU,UAAW,MAAM,KAAG,KAAK,IAAI,QAEnD,CAAA;AAED,eAAO,MAAM,eAAe,aAAc,QAAQ,KAAG,MAKpD,CAAA;AAED;;;;;;;GAOG;AACH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;iBAgBlB,CAAA;AAEF,KAAK,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AA2BpD,eAAO,MAAM,iBAAiB,QAAO,cAKpC,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,kBAAkB,CAAA;AAElD;;;;;;;;;GASG;AACH,QAAA,MAAM,cAAc;;;iBAGlB,CAAA;AAEF,KAAK,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAEvD,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG;IAC/C,KAAK,CAAC,EAAE,OAAO,KAAK,CAAA;IACpB,OAAO,CAAC,EAAE,WAAW,CAAA;CACtB,CAAA;AASD,eAAO,MAAM,iBAAiB,QAAO,iBAKpC,CAAA"}
|
|
@@ -11,7 +11,7 @@ export declare const AiPublicConfigContext: import("react").Context<AiPublicConf
|
|
|
11
11
|
export declare const AiPublicConfigProvider: ({ config, children, }: {
|
|
12
12
|
config?: Partial<AiPublicConfig>;
|
|
13
13
|
children: ReactNode;
|
|
14
|
-
}) => import("react
|
|
14
|
+
}) => import("react").JSX.Element;
|
|
15
15
|
export declare const useAiPublicConfig: () => AiPublicConfig;
|
|
16
16
|
export declare const useOptionalAiPublicConfig: () => AiPublicConfig | undefined;
|
|
17
17
|
//# sourceMappingURL=ai-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-provider.d.ts","sourceRoot":"","sources":["../../src/config/ai-provider.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAE1E,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,aAAa,CAAA;AAEtE,eAAO,MAAM,qBAAqB,qDAAuD,CAAA;AAEzF,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ai-provider.d.ts","sourceRoot":"","sources":["../../src/config/ai-provider.tsx"],"names":[],"mappings":"AAEA;;;;;;GAMG;AAEH,OAAO,EAAiB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAE1E,OAAO,EAAE,KAAK,cAAc,EAAuB,MAAM,aAAa,CAAA;AAEtE,eAAO,MAAM,qBAAqB,qDAAuD,CAAA;AAEzF,eAAO,MAAM,sBAAsB,0BAGhC;IACD,MAAM,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;IAChC,QAAQ,EAAE,SAAS,CAAA;CACpB,gCAaA,CAAA;AAED,eAAO,MAAM,iBAAiB,QAAO,cAMpC,CAAA;AAED,eAAO,MAAM,yBAAyB,QAAO,cAAc,GAAG,SAE7D,CAAA"}
|
|
@@ -6,205 +6,205 @@
|
|
|
6
6
|
* Copyright (c) Infonomic Company Limited
|
|
7
7
|
*/
|
|
8
8
|
export declare const anthropicGenerationSchema: {
|
|
9
|
-
readonly $schema:
|
|
10
|
-
readonly type:
|
|
9
|
+
readonly $schema: 'http://json-schema.org/draft-07/schema#';
|
|
10
|
+
readonly type: 'object';
|
|
11
11
|
readonly additionalProperties: false;
|
|
12
|
-
readonly required: readonly [
|
|
12
|
+
readonly required: readonly ['title', 'blocks'];
|
|
13
13
|
readonly properties: {
|
|
14
14
|
readonly title: {
|
|
15
|
-
readonly type: readonly [
|
|
15
|
+
readonly type: readonly ['string', 'null'];
|
|
16
16
|
};
|
|
17
17
|
readonly blocks: {
|
|
18
|
-
readonly type:
|
|
18
|
+
readonly type: 'array';
|
|
19
19
|
readonly items: {
|
|
20
|
-
readonly $ref:
|
|
20
|
+
readonly $ref: '#/$defs/Block';
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
readonly $defs: {
|
|
25
25
|
readonly Marks: {
|
|
26
|
-
readonly type:
|
|
26
|
+
readonly type: 'object';
|
|
27
27
|
readonly additionalProperties: false;
|
|
28
|
-
readonly required: readonly [
|
|
28
|
+
readonly required: readonly ['bold', 'italic', 'underline', 'code'];
|
|
29
29
|
readonly properties: {
|
|
30
30
|
readonly bold: {
|
|
31
|
-
readonly type:
|
|
31
|
+
readonly type: 'boolean';
|
|
32
32
|
};
|
|
33
33
|
readonly italic: {
|
|
34
|
-
readonly type:
|
|
34
|
+
readonly type: 'boolean';
|
|
35
35
|
};
|
|
36
36
|
readonly underline: {
|
|
37
|
-
readonly type:
|
|
37
|
+
readonly type: 'boolean';
|
|
38
38
|
};
|
|
39
39
|
readonly code: {
|
|
40
|
-
readonly type:
|
|
40
|
+
readonly type: 'boolean';
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
readonly InlineText: {
|
|
45
|
-
readonly type:
|
|
45
|
+
readonly type: 'object';
|
|
46
46
|
readonly additionalProperties: false;
|
|
47
|
-
readonly required: readonly [
|
|
47
|
+
readonly required: readonly ['kind', 'text', 'marks'];
|
|
48
48
|
readonly properties: {
|
|
49
49
|
readonly kind: {
|
|
50
|
-
readonly const:
|
|
50
|
+
readonly const: 'text';
|
|
51
51
|
};
|
|
52
52
|
readonly text: {
|
|
53
|
-
readonly type:
|
|
53
|
+
readonly type: 'string';
|
|
54
54
|
};
|
|
55
55
|
readonly marks: {
|
|
56
|
-
readonly $ref:
|
|
56
|
+
readonly $ref: '#/$defs/Marks';
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
readonly InlineLink: {
|
|
61
|
-
readonly type:
|
|
61
|
+
readonly type: 'object';
|
|
62
62
|
readonly additionalProperties: false;
|
|
63
|
-
readonly required: readonly [
|
|
63
|
+
readonly required: readonly ['kind', 'url', 'text', 'marks'];
|
|
64
64
|
readonly properties: {
|
|
65
65
|
readonly kind: {
|
|
66
|
-
readonly const:
|
|
66
|
+
readonly const: 'link';
|
|
67
67
|
};
|
|
68
68
|
readonly url: {
|
|
69
|
-
readonly type:
|
|
69
|
+
readonly type: 'string';
|
|
70
70
|
};
|
|
71
71
|
readonly text: {
|
|
72
|
-
readonly type:
|
|
72
|
+
readonly type: 'string';
|
|
73
73
|
};
|
|
74
74
|
readonly marks: {
|
|
75
|
-
readonly $ref:
|
|
75
|
+
readonly $ref: '#/$defs/Marks';
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
readonly InlineBr: {
|
|
80
|
-
readonly type:
|
|
80
|
+
readonly type: 'object';
|
|
81
81
|
readonly additionalProperties: false;
|
|
82
|
-
readonly required: readonly [
|
|
82
|
+
readonly required: readonly ['kind'];
|
|
83
83
|
readonly properties: {
|
|
84
84
|
readonly kind: {
|
|
85
|
-
readonly const:
|
|
85
|
+
readonly const: 'br';
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
readonly Inline: {
|
|
90
90
|
readonly anyOf: readonly [{
|
|
91
|
-
readonly $ref:
|
|
91
|
+
readonly $ref: '#/$defs/InlineText';
|
|
92
92
|
}, {
|
|
93
|
-
readonly $ref:
|
|
93
|
+
readonly $ref: '#/$defs/InlineLink';
|
|
94
94
|
}, {
|
|
95
|
-
readonly $ref:
|
|
95
|
+
readonly $ref: '#/$defs/InlineBr';
|
|
96
96
|
}];
|
|
97
97
|
};
|
|
98
98
|
readonly Paragraph: {
|
|
99
|
-
readonly type:
|
|
99
|
+
readonly type: 'object';
|
|
100
100
|
readonly additionalProperties: false;
|
|
101
|
-
readonly required: readonly [
|
|
101
|
+
readonly required: readonly ['kind', 'align', 'inlines'];
|
|
102
102
|
readonly properties: {
|
|
103
103
|
readonly kind: {
|
|
104
|
-
readonly const:
|
|
104
|
+
readonly const: 'paragraph';
|
|
105
105
|
};
|
|
106
106
|
readonly align: {
|
|
107
|
-
readonly enum: readonly [
|
|
107
|
+
readonly enum: readonly ['start', 'center', 'right'];
|
|
108
108
|
};
|
|
109
109
|
readonly inlines: {
|
|
110
|
-
readonly type:
|
|
110
|
+
readonly type: 'array';
|
|
111
111
|
readonly items: {
|
|
112
|
-
readonly $ref:
|
|
112
|
+
readonly $ref: '#/$defs/Inline';
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
116
|
};
|
|
117
117
|
readonly Heading: {
|
|
118
|
-
readonly type:
|
|
118
|
+
readonly type: 'object';
|
|
119
119
|
readonly additionalProperties: false;
|
|
120
|
-
readonly required: readonly [
|
|
120
|
+
readonly required: readonly ['kind', 'level', 'inlines'];
|
|
121
121
|
readonly properties: {
|
|
122
122
|
readonly kind: {
|
|
123
|
-
readonly const:
|
|
123
|
+
readonly const: 'heading';
|
|
124
124
|
};
|
|
125
125
|
readonly level: {
|
|
126
126
|
readonly enum: readonly [1, 2, 3];
|
|
127
127
|
};
|
|
128
128
|
readonly inlines: {
|
|
129
|
-
readonly type:
|
|
129
|
+
readonly type: 'array';
|
|
130
130
|
readonly items: {
|
|
131
|
-
readonly $ref:
|
|
131
|
+
readonly $ref: '#/$defs/Inline';
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
136
|
readonly Quote: {
|
|
137
|
-
readonly type:
|
|
137
|
+
readonly type: 'object';
|
|
138
138
|
readonly additionalProperties: false;
|
|
139
|
-
readonly required: readonly [
|
|
139
|
+
readonly required: readonly ['kind', 'blocks'];
|
|
140
140
|
readonly properties: {
|
|
141
141
|
readonly kind: {
|
|
142
|
-
readonly const:
|
|
142
|
+
readonly const: 'quote';
|
|
143
143
|
};
|
|
144
144
|
readonly blocks: {
|
|
145
|
-
readonly type:
|
|
145
|
+
readonly type: 'array';
|
|
146
146
|
readonly items: {
|
|
147
|
-
readonly $ref:
|
|
147
|
+
readonly $ref: '#/$defs/Paragraph';
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
readonly Hr: {
|
|
153
|
-
readonly type:
|
|
153
|
+
readonly type: 'object';
|
|
154
154
|
readonly additionalProperties: false;
|
|
155
|
-
readonly required: readonly [
|
|
155
|
+
readonly required: readonly ['kind'];
|
|
156
156
|
readonly properties: {
|
|
157
157
|
readonly kind: {
|
|
158
|
-
readonly const:
|
|
158
|
+
readonly const: 'hr';
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
162
|
readonly ListItem: {
|
|
163
|
-
readonly type:
|
|
163
|
+
readonly type: 'object';
|
|
164
164
|
readonly additionalProperties: false;
|
|
165
|
-
readonly required: readonly [
|
|
165
|
+
readonly required: readonly ['indent', 'blocks'];
|
|
166
166
|
readonly properties: {
|
|
167
167
|
readonly indent: {
|
|
168
168
|
readonly enum: readonly [0, 1];
|
|
169
169
|
};
|
|
170
170
|
readonly blocks: {
|
|
171
|
-
readonly type:
|
|
171
|
+
readonly type: 'array';
|
|
172
172
|
readonly items: {
|
|
173
|
-
readonly $ref:
|
|
173
|
+
readonly $ref: '#/$defs/Paragraph';
|
|
174
174
|
};
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
};
|
|
178
178
|
readonly List: {
|
|
179
|
-
readonly type:
|
|
179
|
+
readonly type: 'object';
|
|
180
180
|
readonly additionalProperties: false;
|
|
181
|
-
readonly required: readonly [
|
|
181
|
+
readonly required: readonly ['kind', 'listType', 'items'];
|
|
182
182
|
readonly properties: {
|
|
183
183
|
readonly kind: {
|
|
184
|
-
readonly const:
|
|
184
|
+
readonly const: 'list';
|
|
185
185
|
};
|
|
186
186
|
readonly listType: {
|
|
187
|
-
readonly enum: readonly [
|
|
187
|
+
readonly enum: readonly ['bullet', 'number'];
|
|
188
188
|
};
|
|
189
189
|
readonly items: {
|
|
190
|
-
readonly type:
|
|
190
|
+
readonly type: 'array';
|
|
191
191
|
readonly items: {
|
|
192
|
-
readonly $ref:
|
|
192
|
+
readonly $ref: '#/$defs/ListItem';
|
|
193
193
|
};
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
readonly Block: {
|
|
198
198
|
readonly anyOf: readonly [{
|
|
199
|
-
readonly $ref:
|
|
199
|
+
readonly $ref: '#/$defs/Heading';
|
|
200
200
|
}, {
|
|
201
|
-
readonly $ref:
|
|
201
|
+
readonly $ref: '#/$defs/Paragraph';
|
|
202
202
|
}, {
|
|
203
|
-
readonly $ref:
|
|
203
|
+
readonly $ref: '#/$defs/List';
|
|
204
204
|
}, {
|
|
205
|
-
readonly $ref:
|
|
205
|
+
readonly $ref: '#/$defs/Quote';
|
|
206
206
|
}, {
|
|
207
|
-
readonly $ref:
|
|
207
|
+
readonly $ref: '#/$defs/Hr';
|
|
208
208
|
}];
|
|
209
209
|
};
|
|
210
210
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/models/anthropic/schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/models/anthropic/schema.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,eAAO,MAAM,yBAAyB;aACpC,OAAO,EAAE,yCAAyC;aAClD,IAAI,EAAE,QAAQ;a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BAAE,KAAK;iCAAI,IAAI,EAAE,mBAAmB;;;;;iBAG/D,IAAI;qBACF,IAAI,EAAE,QAAQ;qBACd,oBAAoB;qBACpB,QAAQ,YAAG,MAAM,EAAE,UAAU,EAAE,OAAO;qBACtC,UAAU;yBACR,IAAI;6BAAI,KAAK,EAAE,MAAM;;yBACrB,QAAQ;6BAAI,IAAI,YAAG,QAAQ,EAAE,QAAQ;;yBACrC,KAAK;6BAAI,IAAI,EAAE,OAAO;6BAAE,KAAK;iCAAI,IAAI,EAAE,kBAAkB;;;;;iBAG7D,KAAK;qBACH,KAAK;yBACD,IAAI,EAAE,iBAAiB;;yBACvB,IAAI,EAAE,mBAAmB;;yBACzB,IAAI,EAAE,cAAc;;yBACpB,IAAI,EAAE,eAAe;;yBACrB,IAAI,EAAE,YAAY;;;;CAIlB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize-generated-doc.d.ts","sourceRoot":"","sources":["../../../src/models/google/normalize-generated-doc.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAQ9D,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"normalize-generated-doc.d.ts","sourceRoot":"","sources":["../../../src/models/google/normalize-generated-doc.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAQ9D,eAAO,MAAM,qBAAqB,QAAS,OAAO,KAAG,YAoCpD,CAAA"}
|