industrial-model 0.8.0 → 0.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/README.md +4 -0
- package/dist/cli/index.cjs +6797 -0
- package/dist/cli/index.cjs.map +1 -0
- package/dist/cognite-core/index.cjs +4 -0
- 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 +4 -0
- package/dist/cognite-core/index.js.map +1 -1
- package/dist/index.cjs +4 -0
- 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 +4 -0
- 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 +7 -1
|
@@ -1999,6 +1999,10 @@ var ViewMapper = class {
|
|
|
1999
1999
|
}
|
|
2000
2000
|
return view;
|
|
2001
2001
|
}
|
|
2002
|
+
async getViews() {
|
|
2003
|
+
const views = await this.loadViews();
|
|
2004
|
+
return Array.from(views.values());
|
|
2005
|
+
}
|
|
2002
2006
|
loadViews() {
|
|
2003
2007
|
if (this.cachePromise == null) {
|
|
2004
2008
|
this.cachePromise = this.fetchViews();
|