@anov/cic-standard-sdk 0.0.2 → 0.0.3
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/README.md +1 -1
- package/dist/cic-sdk.cjs.js +6 -6
- package/dist/cic-sdk.es.js +1226 -1209
- package/dist/cic-sdk.umd.js +6 -6
- package/dist/sdk/CICSDK.d.ts +13 -14
- package/dist/sdk/generators/ajv.d.ts +1 -0
- package/dist/sdk/generators/meta.d.ts +5 -5
- package/dist/types/componets.d.ts +1 -0
- package/dist/types/dataSources.d.ts +1 -0
- package/dist/types/deps.d.ts +1 -3
- package/dist/types/index.d.ts +10 -5
- package/dist/types/meta.d.ts +4 -3
- package/dist/types/page.d.ts +4 -3
- package/dist/types/registry.d.ts +1 -36
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ pnpm add @anov/cic-standard-sdk
|
|
|
48
48
|
|
|
49
49
|
```typescript
|
|
50
50
|
import { CICSDK } from '@anov/cic-standard-sdk'
|
|
51
|
-
import { CICConfig } from '@anov/cic-standard-sdk
|
|
51
|
+
import type { CICConfig, ComponentInstance, DataSourceItem, CICPage, Meta, Layout, Registry, Variables, Dependency, ICICSDK } from '@anov/cic-standard-sdk';
|
|
52
52
|
|
|
53
53
|
const config: CICConfig = { ... };
|
|
54
54
|
const sdk = new CICSDK(config); // 实例化时自动执行 Schema 校验
|