ai-props 0.1.2 → 2.0.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/.turbo/turbo-build.log +5 -0
- package/CHANGELOG.md +15 -0
- package/README.md +345 -352
- package/dist/ai.d.ts +125 -0
- package/dist/ai.d.ts.map +1 -0
- package/dist/ai.js +199 -0
- package/dist/ai.js.map +1 -0
- package/dist/cache.d.ts +66 -0
- package/dist/cache.d.ts.map +1 -0
- package/dist/cache.js +183 -0
- package/dist/cache.js.map +1 -0
- package/dist/generate.d.ts +69 -0
- package/dist/generate.d.ts.map +1 -0
- package/dist/generate.js +221 -0
- package/dist/generate.js.map +1 -0
- package/dist/hoc.d.ts +164 -0
- package/dist/hoc.d.ts.map +1 -0
- package/dist/hoc.js +236 -0
- package/dist/hoc.js.map +1 -0
- package/dist/index.d.ts +14 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -0
- package/dist/types.d.ts +152 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +7 -0
- package/dist/types.js.map +1 -0
- package/dist/validate.d.ts +58 -0
- package/dist/validate.d.ts.map +1 -0
- package/dist/validate.js +253 -0
- package/dist/validate.js.map +1 -0
- package/package.json +16 -63
- package/src/ai.ts +264 -0
- package/src/cache.ts +216 -0
- package/src/generate.ts +276 -0
- package/src/hoc.ts +309 -0
- package/src/index.ts +66 -0
- package/src/types.ts +167 -0
- package/src/validate.ts +333 -0
- package/test/ai.test.ts +327 -0
- package/test/cache.test.ts +236 -0
- package/test/generate.test.ts +406 -0
- package/test/hoc.test.ts +411 -0
- package/test/validate.test.ts +324 -0
- package/tsconfig.json +9 -0
- package/vitest.config.ts +15 -0
- package/LICENSE +0 -21
- package/dist/AI.d.ts +0 -27
- package/dist/AI.d.ts.map +0 -1
- package/dist/AI.test.d.ts +0 -2
- package/dist/AI.test.d.ts.map +0 -1
- package/dist/ai-props.es.js +0 -3697
- package/dist/ai-props.umd.js +0 -30
- package/dist/components/ErrorBoundary.d.ts +0 -17
- package/dist/components/ErrorBoundary.d.ts.map +0 -1
- package/dist/examples/BlogList.d.ts +0 -2
- package/dist/examples/BlogList.d.ts.map +0 -1
- package/dist/examples/BlogList.fixture.d.ts +0 -5
- package/dist/examples/BlogList.fixture.d.ts.map +0 -1
- package/dist/examples/HeroSection.d.ts +0 -2
- package/dist/examples/HeroSection.d.ts.map +0 -1
- package/dist/examples/HeroSection.fixture.d.ts +0 -5
- package/dist/examples/HeroSection.fixture.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -2
- package/dist/test/setup.d.ts.map +0 -1
- package/dist/utils/schema.d.ts +0 -28
- package/dist/utils/schema.d.ts.map +0 -1
- package/dist/utils/styles.d.ts +0 -3
- package/dist/utils/styles.d.ts.map +0 -1
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests for ai-props validation utilities
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { describe, it, expect } from 'vitest'
|
|
6
|
+
import {
|
|
7
|
+
validateProps,
|
|
8
|
+
hasRequiredProps,
|
|
9
|
+
getMissingProps,
|
|
10
|
+
isComplete,
|
|
11
|
+
getMissingFromSchema,
|
|
12
|
+
sanitizeProps,
|
|
13
|
+
mergeWithDefaults,
|
|
14
|
+
createValidator,
|
|
15
|
+
assertValidProps,
|
|
16
|
+
} from '../src/validate.js'
|
|
17
|
+
|
|
18
|
+
describe('validateProps', () => {
|
|
19
|
+
it('validates simple string props', () => {
|
|
20
|
+
const result = validateProps(
|
|
21
|
+
{ name: 'John', email: 'john@example.com' },
|
|
22
|
+
{ name: 'User name', email: 'Email address' }
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
expect(result.valid).toBe(true)
|
|
26
|
+
expect(result.errors).toHaveLength(0)
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
it('validates props with type hints', () => {
|
|
30
|
+
const result = validateProps(
|
|
31
|
+
{ name: 'John', age: 25 },
|
|
32
|
+
{ name: 'User name', age: 'Age (number)' }
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
expect(result.valid).toBe(true)
|
|
36
|
+
expect(result.errors).toHaveLength(0)
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
it('detects type mismatches', () => {
|
|
40
|
+
const result = validateProps(
|
|
41
|
+
{ name: 'John', age: 'twenty-five' },
|
|
42
|
+
{ name: 'User name', age: 'Age (number)' }
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
expect(result.valid).toBe(false)
|
|
46
|
+
expect(result.errors).toHaveLength(1)
|
|
47
|
+
expect(result.errors[0]?.path).toBe('age')
|
|
48
|
+
expect(result.errors[0]?.expected).toBe('number')
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it('validates boolean props', () => {
|
|
52
|
+
const validResult = validateProps(
|
|
53
|
+
{ active: true },
|
|
54
|
+
{ active: 'Is active (boolean)' }
|
|
55
|
+
)
|
|
56
|
+
expect(validResult.valid).toBe(true)
|
|
57
|
+
|
|
58
|
+
const invalidResult = validateProps(
|
|
59
|
+
{ active: 'yes' },
|
|
60
|
+
{ active: 'Is active (boolean)' }
|
|
61
|
+
)
|
|
62
|
+
expect(invalidResult.valid).toBe(false)
|
|
63
|
+
})
|
|
64
|
+
|
|
65
|
+
it('validates array props', () => {
|
|
66
|
+
const result = validateProps(
|
|
67
|
+
{ tags: ['a', 'b', 'c'] },
|
|
68
|
+
{ tags: ['Tag names'] }
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
expect(result.valid).toBe(true)
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
it('detects array type mismatch', () => {
|
|
75
|
+
const result = validateProps(
|
|
76
|
+
{ tags: 'not-an-array' },
|
|
77
|
+
{ tags: ['Tag names'] }
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
expect(result.valid).toBe(false)
|
|
81
|
+
expect(result.errors[0]?.expected).toBe('array')
|
|
82
|
+
})
|
|
83
|
+
|
|
84
|
+
it('validates nested objects', () => {
|
|
85
|
+
const result = validateProps(
|
|
86
|
+
{ user: { name: 'John', age: 25 } },
|
|
87
|
+
{ user: { name: 'User name', age: 'Age (number)' } }
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
expect(result.valid).toBe(true)
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
it('detects nested object errors', () => {
|
|
94
|
+
const result = validateProps(
|
|
95
|
+
{ user: { name: 'John', age: 'invalid' } },
|
|
96
|
+
{ user: { name: 'User name', age: 'Age (number)' } }
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
expect(result.valid).toBe(false)
|
|
100
|
+
expect(result.errors[0]?.path).toBe('user.age')
|
|
101
|
+
})
|
|
102
|
+
|
|
103
|
+
it('handles missing optional props', () => {
|
|
104
|
+
const result = validateProps(
|
|
105
|
+
{ name: 'John' },
|
|
106
|
+
{ name: 'User name', bio: 'Biography' }
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
// Missing props without value are considered optional
|
|
110
|
+
expect(result.valid).toBe(true)
|
|
111
|
+
})
|
|
112
|
+
|
|
113
|
+
it('validates string schemas', () => {
|
|
114
|
+
const validResult = validateProps(
|
|
115
|
+
{ value: 'test' },
|
|
116
|
+
'A test value'
|
|
117
|
+
)
|
|
118
|
+
expect(validResult.valid).toBe(true)
|
|
119
|
+
|
|
120
|
+
const invalidResult = validateProps(
|
|
121
|
+
{},
|
|
122
|
+
'A test value'
|
|
123
|
+
)
|
|
124
|
+
expect(invalidResult.valid).toBe(false)
|
|
125
|
+
})
|
|
126
|
+
})
|
|
127
|
+
|
|
128
|
+
describe('hasRequiredProps', () => {
|
|
129
|
+
it('returns true when all required props present', () => {
|
|
130
|
+
expect(hasRequiredProps(
|
|
131
|
+
{ name: 'John', email: 'john@example.com' },
|
|
132
|
+
['name', 'email']
|
|
133
|
+
)).toBe(true)
|
|
134
|
+
})
|
|
135
|
+
|
|
136
|
+
it('returns false when required prop missing', () => {
|
|
137
|
+
expect(hasRequiredProps(
|
|
138
|
+
{ name: 'John' },
|
|
139
|
+
['name', 'email']
|
|
140
|
+
)).toBe(false)
|
|
141
|
+
})
|
|
142
|
+
|
|
143
|
+
it('returns true for empty required array', () => {
|
|
144
|
+
expect(hasRequiredProps({ name: 'John' }, [])).toBe(true)
|
|
145
|
+
})
|
|
146
|
+
|
|
147
|
+
it('handles undefined values', () => {
|
|
148
|
+
expect(hasRequiredProps(
|
|
149
|
+
{ name: 'John', email: undefined },
|
|
150
|
+
['name', 'email']
|
|
151
|
+
)).toBe(false)
|
|
152
|
+
})
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
describe('getMissingProps', () => {
|
|
156
|
+
it('returns empty array when all present', () => {
|
|
157
|
+
expect(getMissingProps(
|
|
158
|
+
{ name: 'John', email: 'john@example.com' },
|
|
159
|
+
['name', 'email']
|
|
160
|
+
)).toEqual([])
|
|
161
|
+
})
|
|
162
|
+
|
|
163
|
+
it('returns missing prop keys', () => {
|
|
164
|
+
expect(getMissingProps(
|
|
165
|
+
{ name: 'John' },
|
|
166
|
+
['name', 'email', 'phone']
|
|
167
|
+
)).toEqual(['email', 'phone'])
|
|
168
|
+
})
|
|
169
|
+
})
|
|
170
|
+
|
|
171
|
+
describe('isComplete', () => {
|
|
172
|
+
it('returns true when all schema keys present', () => {
|
|
173
|
+
expect(isComplete(
|
|
174
|
+
{ name: 'John', age: 25 },
|
|
175
|
+
{ name: 'Name', age: 'Age (number)' }
|
|
176
|
+
)).toBe(true)
|
|
177
|
+
})
|
|
178
|
+
|
|
179
|
+
it('returns false when keys missing', () => {
|
|
180
|
+
expect(isComplete(
|
|
181
|
+
{ name: 'John' },
|
|
182
|
+
{ name: 'Name', age: 'Age (number)' }
|
|
183
|
+
)).toBe(false)
|
|
184
|
+
})
|
|
185
|
+
|
|
186
|
+
it('handles string schemas', () => {
|
|
187
|
+
expect(isComplete({ value: 'test' }, 'A value')).toBe(true)
|
|
188
|
+
expect(isComplete({}, 'A value')).toBe(false)
|
|
189
|
+
})
|
|
190
|
+
})
|
|
191
|
+
|
|
192
|
+
describe('getMissingFromSchema', () => {
|
|
193
|
+
it('returns empty array when complete', () => {
|
|
194
|
+
expect(getMissingFromSchema(
|
|
195
|
+
{ name: 'John', age: 25 },
|
|
196
|
+
{ name: 'Name', age: 'Age' }
|
|
197
|
+
)).toEqual([])
|
|
198
|
+
})
|
|
199
|
+
|
|
200
|
+
it('returns missing schema keys', () => {
|
|
201
|
+
expect(getMissingFromSchema(
|
|
202
|
+
{ name: 'John' },
|
|
203
|
+
{ name: 'Name', age: 'Age', email: 'Email' }
|
|
204
|
+
)).toEqual(['age', 'email'])
|
|
205
|
+
})
|
|
206
|
+
|
|
207
|
+
it('handles string schemas', () => {
|
|
208
|
+
expect(getMissingFromSchema({}, 'A value')).toEqual(['value'])
|
|
209
|
+
expect(getMissingFromSchema({ value: 'x' }, 'A value')).toEqual([])
|
|
210
|
+
})
|
|
211
|
+
})
|
|
212
|
+
|
|
213
|
+
describe('sanitizeProps', () => {
|
|
214
|
+
it('removes extra keys not in schema', () => {
|
|
215
|
+
const result = sanitizeProps(
|
|
216
|
+
{ name: 'John', extra: 'value', another: 123 },
|
|
217
|
+
{ name: 'User name' }
|
|
218
|
+
)
|
|
219
|
+
|
|
220
|
+
expect(result).toEqual({ name: 'John' })
|
|
221
|
+
})
|
|
222
|
+
|
|
223
|
+
it('keeps all schema keys present in props', () => {
|
|
224
|
+
const result = sanitizeProps(
|
|
225
|
+
{ name: 'John', age: 25 },
|
|
226
|
+
{ name: 'Name', age: 'Age', email: 'Email' }
|
|
227
|
+
)
|
|
228
|
+
|
|
229
|
+
expect(result).toEqual({ name: 'John', age: 25 })
|
|
230
|
+
})
|
|
231
|
+
|
|
232
|
+
it('handles string schemas', () => {
|
|
233
|
+
const result = sanitizeProps(
|
|
234
|
+
{ value: 'test', extra: 'ignored' },
|
|
235
|
+
'A value'
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
expect(result).toEqual({ value: 'test' })
|
|
239
|
+
})
|
|
240
|
+
})
|
|
241
|
+
|
|
242
|
+
describe('mergeWithDefaults', () => {
|
|
243
|
+
it('merges defaults with provided props', () => {
|
|
244
|
+
const result = mergeWithDefaults(
|
|
245
|
+
{ name: 'John' },
|
|
246
|
+
{ name: 'Default', age: 0 },
|
|
247
|
+
{ name: 'Name', age: 'Age (number)' }
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
expect(result).toEqual({ name: 'John', age: 0 })
|
|
251
|
+
})
|
|
252
|
+
|
|
253
|
+
it('props override defaults', () => {
|
|
254
|
+
const result = mergeWithDefaults(
|
|
255
|
+
{ name: 'John', age: 25 },
|
|
256
|
+
{ name: 'Default', age: 0 },
|
|
257
|
+
{ name: 'Name', age: 'Age' }
|
|
258
|
+
)
|
|
259
|
+
|
|
260
|
+
expect(result).toEqual({ name: 'John', age: 25 })
|
|
261
|
+
})
|
|
262
|
+
|
|
263
|
+
it('coerces types according to schema', () => {
|
|
264
|
+
const result = mergeWithDefaults(
|
|
265
|
+
{ count: '42' },
|
|
266
|
+
{ count: 0 },
|
|
267
|
+
{ count: 'Count (number)' }
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
expect(result.count).toBe(42)
|
|
271
|
+
expect(typeof result.count).toBe('number')
|
|
272
|
+
})
|
|
273
|
+
|
|
274
|
+
it('handles integer type hint', () => {
|
|
275
|
+
const result = mergeWithDefaults(
|
|
276
|
+
{ count: 42.7 },
|
|
277
|
+
{},
|
|
278
|
+
{ count: 'Count (integer)' }
|
|
279
|
+
)
|
|
280
|
+
|
|
281
|
+
expect(result.count).toBe(42)
|
|
282
|
+
})
|
|
283
|
+
})
|
|
284
|
+
|
|
285
|
+
describe('createValidator', () => {
|
|
286
|
+
it('creates reusable validator function', () => {
|
|
287
|
+
const validate = createValidator({ name: 'Name', age: 'Age (number)' })
|
|
288
|
+
|
|
289
|
+
const valid = validate({ name: 'John', age: 25 })
|
|
290
|
+
expect(valid.valid).toBe(true)
|
|
291
|
+
|
|
292
|
+
const invalid = validate({ name: 'John', age: 'invalid' })
|
|
293
|
+
expect(invalid.valid).toBe(false)
|
|
294
|
+
})
|
|
295
|
+
})
|
|
296
|
+
|
|
297
|
+
describe('assertValidProps', () => {
|
|
298
|
+
it('does not throw for valid props', () => {
|
|
299
|
+
expect(() => {
|
|
300
|
+
assertValidProps(
|
|
301
|
+
{ name: 'John', age: 25 },
|
|
302
|
+
{ name: 'Name', age: 'Age (number)' }
|
|
303
|
+
)
|
|
304
|
+
}).not.toThrow()
|
|
305
|
+
})
|
|
306
|
+
|
|
307
|
+
it('throws for invalid props', () => {
|
|
308
|
+
expect(() => {
|
|
309
|
+
assertValidProps(
|
|
310
|
+
{ name: 'John', age: 'invalid' },
|
|
311
|
+
{ name: 'Name', age: 'Age (number)' }
|
|
312
|
+
)
|
|
313
|
+
}).toThrow('Invalid props')
|
|
314
|
+
})
|
|
315
|
+
|
|
316
|
+
it('includes error details in message', () => {
|
|
317
|
+
expect(() => {
|
|
318
|
+
assertValidProps(
|
|
319
|
+
{ age: 'invalid' },
|
|
320
|
+
{ age: 'Age (number)' }
|
|
321
|
+
)
|
|
322
|
+
}).toThrow('age')
|
|
323
|
+
})
|
|
324
|
+
})
|
package/tsconfig.json
ADDED
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineConfig } from 'vitest/config'
|
|
2
|
+
|
|
3
|
+
export default defineConfig({
|
|
4
|
+
test: {
|
|
5
|
+
globals: true,
|
|
6
|
+
environment: 'node',
|
|
7
|
+
include: ['test/**/*.test.ts'],
|
|
8
|
+
coverage: {
|
|
9
|
+
provider: 'v8',
|
|
10
|
+
reporter: ['text', 'json', 'html'],
|
|
11
|
+
include: ['src/**/*.ts'],
|
|
12
|
+
exclude: ['src/**/*.d.ts'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
})
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 AI Primitives
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/dist/AI.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { type SchemaObject } from './utils/schema';
|
|
3
|
-
type ModelType = string | {
|
|
4
|
-
provider: string;
|
|
5
|
-
model: string;
|
|
6
|
-
};
|
|
7
|
-
interface AIProps<T extends Record<string, unknown>, O extends 'object' | 'array' = 'object'> {
|
|
8
|
-
schema: z.ZodSchema<T> | SchemaObject;
|
|
9
|
-
prompt: string;
|
|
10
|
-
model?: ModelType;
|
|
11
|
-
output?: O;
|
|
12
|
-
count?: number;
|
|
13
|
-
cols?: number;
|
|
14
|
-
mode?: 'json';
|
|
15
|
-
stream?: boolean;
|
|
16
|
-
apiEndpoint?: string;
|
|
17
|
-
headers?: Record<string, string>;
|
|
18
|
-
experimental_telemetry?: boolean;
|
|
19
|
-
experimental_providerMetadata?: boolean;
|
|
20
|
-
className?: string;
|
|
21
|
-
itemClassName?: string;
|
|
22
|
-
gap?: string;
|
|
23
|
-
children: (props: O extends 'array' ? T[] : T) => React.ReactNode;
|
|
24
|
-
}
|
|
25
|
-
export declare function AI<T extends Record<string, unknown>, O extends 'object' | 'array' = 'object'>({ children, prompt, schema: rawSchema, model, output, count, cols, mode, stream, apiEndpoint, headers, experimental_telemetry, experimental_providerMetadata, className, itemClassName, gap, }: AIProps<T, O>): string | number | boolean | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=AI.d.ts.map
|
package/dist/AI.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AI.d.ts","sourceRoot":"","sources":["../src/AI.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,OAAO,EAAuC,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAEvF,KAAK,SAAS,GAAG,MAAM,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE7D,UAAU,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,QAAQ,GAAG,OAAO,GAAG,QAAQ;IAC1F,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,YAAY,CAAA;IACrC,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,MAAM,CAAC,EAAE,CAAC,CAAA;IACV,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAChC,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,6BAA6B,CAAC,EAAE,OAAO,CAAA;IACvC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,SAAS,OAAO,GAAG,CAAC,EAAE,GAAG,CAAC,KAAK,KAAK,CAAC,SAAS,CAAA;CAClE;AAMD,wBAAgB,EAAE,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,QAAQ,GAAG,OAAO,GAAG,QAAQ,EAAE,EAC7F,QAAQ,EACR,MAAM,EACN,MAAM,EAAE,SAAS,EACjB,KAAe,EACf,MAAsB,EACtB,KAAK,EACL,IAAI,EACJ,IAAa,EACb,MAAc,EACd,WAAW,EACX,OAAO,EACP,sBAAsB,EACtB,6BAA6B,EAC7B,SAAS,EACT,aAAa,EACb,GAAY,GACb,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,gIAoGf"}
|
package/dist/AI.test.d.ts
DELETED
package/dist/AI.test.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AI.test.d.ts","sourceRoot":"","sources":["../src/AI.test.tsx"],"names":[],"mappings":""}
|