industrial-model 0.8.0 → 0.10.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/README.md +5 -1
- package/dist/cli/index.cjs +6824 -0
- package/dist/cli/index.cjs.map +1 -0
- package/dist/cognite-core/index.cjs +16 -4
- package/dist/cognite-core/index.cjs.map +1 -1
- package/dist/cognite-core/index.d.cts +1 -1
- package/dist/cognite-core/index.d.ts +1 -1
- package/dist/cognite-core/index.js +16 -4
- package/dist/cognite-core/index.js.map +1 -1
- package/dist/index.cjs +16 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +16 -4
- package/dist/index.js.map +1 -1
- package/dist/{types-BrD2jPB-.d.cts → types-69DRhgww.d.cts} +1 -1
- package/dist/{types-BrD2jPB-.d.ts → types-69DRhgww.d.ts} +1 -1
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -503,7 +503,7 @@ do {
|
|
|
503
503
|
} while (cursor !== null);
|
|
504
504
|
```
|
|
505
505
|
|
|
506
|
-
Pass `limit: -1` when you want the SDK to follow all root cursors automatically. The SDK issues multiple `instances.query` calls, using
|
|
506
|
+
Pass `limit: -1` when you want the SDK to follow all root cursors automatically. The SDK issues multiple `instances.query` calls, using 10000 root items per page, and returns `cursor: null`.
|
|
507
507
|
|
|
508
508
|
```ts
|
|
509
509
|
const { items } = await model.query<CogniteAsset>()({
|
|
@@ -1333,6 +1333,10 @@ Logical combinators `AND`, `OR`, and `NOT` are supported at any nesting level, i
|
|
|
1333
1333
|
| `Cognite360Image`, `Cognite360ImageModel`, `Cognite360ImageCollection`, `Cognite360ImageStation`, `Cognite360ImageAnnotation` | 360 image views. |
|
|
1334
1334
|
| `CogniteCubeMap` | Cube map view. |
|
|
1335
1335
|
|
|
1336
|
+
## Code Generator
|
|
1337
|
+
|
|
1338
|
+
The package includes a CLI to generate typed models and client code from a Cognite data model. See the [CLI documentation](./src/cli/README.md).
|
|
1339
|
+
|
|
1336
1340
|
## Releasing
|
|
1337
1341
|
|
|
1338
1342
|
This project uses [Changesets](https://github.com/changesets/changesets) to manage versions and changelogs.
|