@trackunit/iris-app 1.7.30 → 1.7.33
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/CHANGELOG.md +30 -0
- package/package.json +6 -6
- package/src/generators/preset/files/.cursor/rules/{graphql-timeseries.mdc → graphql-timeseries.md} +0 -4
- package/src/generators/preset/files/.cursor/rules/{irisx-app-sdk-customfields.mdc → irisx-app-sdk-customfields.md} +3 -9
- package/src/generators/preset/files/.cursor/rules/{irisx-app-sdk-graphql.mdc → irisx-app-sdk-graphql.md} +0 -5
- package/src/generators/preset/files/.cursor/rules/{react-core-hooks.mdc → react-core-hooks.md} +0 -5
- package/src/generators/preset/files/.cursor/rules/rules-index.mdc +10 -0
- package/src/generators/preset/files/.cursor/rules/{widget-extensions.mdc → widget-extensions.md} +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
## 1.7.33 (2025-10-17)
|
|
2
|
+
|
|
3
|
+
### 🧱 Updated Dependencies
|
|
4
|
+
|
|
5
|
+
- Updated iris-app-build-utilities to 1.7.31
|
|
6
|
+
- Updated iris-app-webpack-plugin to 1.7.32
|
|
7
|
+
- Updated iris-app-api to 1.7.31
|
|
8
|
+
- Updated react-test-setup to 1.4.30
|
|
9
|
+
- Updated shared-utils to 1.9.30
|
|
10
|
+
|
|
11
|
+
## 1.7.32 (2025-10-16)
|
|
12
|
+
|
|
13
|
+
### 🧱 Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated iris-app-build-utilities to 1.7.30
|
|
16
|
+
- Updated iris-app-webpack-plugin to 1.7.31
|
|
17
|
+
- Updated iris-app-api to 1.7.30
|
|
18
|
+
- Updated react-test-setup to 1.4.29
|
|
19
|
+
- Updated shared-utils to 1.9.29
|
|
20
|
+
|
|
21
|
+
## 1.7.31 (2025-10-16)
|
|
22
|
+
|
|
23
|
+
### 🧱 Updated Dependencies
|
|
24
|
+
|
|
25
|
+
- Updated iris-app-build-utilities to 1.7.29
|
|
26
|
+
- Updated iris-app-webpack-plugin to 1.7.30
|
|
27
|
+
- Updated iris-app-api to 1.7.29
|
|
28
|
+
- Updated react-test-setup to 1.4.28
|
|
29
|
+
- Updated shared-utils to 1.9.28
|
|
30
|
+
|
|
1
31
|
## 1.7.30 (2025-10-15)
|
|
2
32
|
|
|
3
33
|
This was a version bump only for iris-app to align it with other projects, there were no code changes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.33",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"generators": "./generators.json",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@npmcli/arborist": "^7.3.1",
|
|
33
33
|
"webpack-bundle-analyzer": "^4.8.0",
|
|
34
34
|
"win-ca": "^3.5.1",
|
|
35
|
-
"@trackunit/iris-app-build-utilities": "1.7.
|
|
36
|
-
"@trackunit/shared-utils": "1.9.
|
|
37
|
-
"@trackunit/iris-app-api": "1.7.
|
|
38
|
-
"@trackunit/iris-app-webpack-plugin": "1.7.
|
|
35
|
+
"@trackunit/iris-app-build-utilities": "1.7.31",
|
|
36
|
+
"@trackunit/shared-utils": "1.9.30",
|
|
37
|
+
"@trackunit/iris-app-api": "1.7.31",
|
|
38
|
+
"@trackunit/iris-app-webpack-plugin": "1.7.32",
|
|
39
39
|
"tslib": "^2.6.2",
|
|
40
|
-
"@trackunit/react-test-setup": "1.4.
|
|
40
|
+
"@trackunit/react-test-setup": "1.4.30"
|
|
41
41
|
},
|
|
42
42
|
"types": "./src/index.d.ts",
|
|
43
43
|
"type": "commonjs"
|
package/src/generators/preset/files/.cursor/rules/{graphql-timeseries.mdc → graphql-timeseries.md}
RENAMED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Time series API, get time series data from GraphQL. Machine insights data over time.
|
|
3
|
-
alwaysApply: false
|
|
4
|
-
---
|
|
5
1
|
# GraphQL Time Series API Usage
|
|
6
2
|
|
|
7
3
|
This rule covers how to query time series data through GraphQL in IrisX App SDK using PromQL (Prometheus Query Language).
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: CustomFields are the primary mechanism for storing data from IrisX applications. They allow IrisX App developers to extend the Trackunit data model by storing additional information on entities like assets, accounts, groups, and sites.
|
|
3
|
-
globs:
|
|
4
|
-
alwaysApply: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
1
|
# CustomFields Rule for Trackunit IrisX App SDK
|
|
8
2
|
|
|
9
3
|
## Overview
|
|
@@ -60,7 +54,7 @@ customFieldDefinitions: [
|
|
|
60
54
|
## 2. Supported Field Types
|
|
61
55
|
|
|
62
56
|
| Type | Description | Extra Properties |
|
|
63
|
-
|
|
57
|
+
|---|----|---|
|
|
64
58
|
| `BOOLEAN` | True/false values | - |
|
|
65
59
|
| `DATE` | ISO8601 formatted dates | - |
|
|
66
60
|
| `DROPDOWN` | Predefined option lists | `allValues`, `multiSelect`, `dropDownValueReplacements` |
|
|
@@ -112,7 +106,7 @@ customFieldDefinitions: [
|
|
|
112
106
|
## 3. Scope Types
|
|
113
107
|
|
|
114
108
|
| Scope | Description |
|
|
115
|
-
|
|
109
|
+
|----|----|
|
|
116
110
|
| `ACCOUNT` | Values shared within a single account only |
|
|
117
111
|
| `ACCOUNT_WRITE_GLOBAL_READ` | Account can write, all accounts can read |
|
|
118
112
|
| `GLOBAL` | Values shared between all accounts with entity access |
|
|
@@ -308,4 +302,4 @@ import { CustomField } from '@trackunit/react-core-contexts-host';
|
|
|
308
302
|
- [Defining a Custom Field](https://developers.trackunit.com/docs/defining-a-custom-field)
|
|
309
303
|
- [Using a Custom Field](https://developers.trackunit.com/docs/using-a-custom-field)
|
|
310
304
|
- [Local Development](https://developers.trackunit.com/docs/local-development)
|
|
311
|
-
- [Deploying a New Custom Field](https://developers.trackunit.com/docs/deploying-a-new-custom-field)
|
|
305
|
+
- [Deploying a New Custom Field](https://developers.trackunit.com/docs/deploying-a-new-custom-field)
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: This rule covers GraphQL API integration in Trackunit IrisX App SDK workspace. All GraphQL development MUST follow the Trackunit GraphQL API patterns and commands.
|
|
3
|
-
globs:
|
|
4
|
-
alwaysApply: false
|
|
5
|
-
---
|
|
6
1
|
Key Points:
|
|
7
2
|
1. Trackunit exposes a GraphQL API with an NX executor for easy querying inside IrisX App extensions
|
|
8
3
|
2. GraphQL operations include queries (for reading data) and mutations (for modifying data)
|
package/src/generators/preset/files/.cursor/rules/{react-core-hooks.mdc → react-core-hooks.md}
RENAMED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Use these rules whne building App SDK specific React Hook, Runtime Hooks
|
|
3
|
-
alwaysApply: false
|
|
4
|
-
---
|
|
5
1
|
## React Core Hooks Library
|
|
6
2
|
|
|
7
3
|
Available hooks from `@trackunit/react-core-hooks` for IrisX App development.
|
|
@@ -157,4 +153,3 @@ const config = await getConfig();
|
|
|
157
153
|
All hooks require their respective providers to be set up in your app's component tree.
|
|
158
154
|
|
|
159
155
|
```
|
|
160
|
-
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
alwaysApply: true
|
|
3
|
+
---
|
|
4
|
+
This file contains a list of helpful information and context that the agent can reference when working in this codebase. Each entry provides specific guidance or rules for different aspects of the project. You can read these files using the readFile tool if the users prompt seems related.
|
|
5
|
+
|
|
6
|
+
- [CustomFields are the primary mechanism for storing data from IrisX applications. They allow IrisX App developers to extend the Trackunit data model by storing additional information on entities like assets, accounts, groups, and sites.](./irisx-app-sdk-customfields.md)
|
|
7
|
+
- [This rule covers GraphQL API integration in Trackunit IrisX App SDK workspace. All GraphQL development MUST follow the Trackunit GraphQL API patterns and commands.](./irisx-app-sdk-graphql.md)
|
|
8
|
+
- [Time series API, get time series data from GraphQL. Machine insights data over time.](./graphql-timeseries.md)
|
|
9
|
+
- [Use these rules when building Widget Extensions for an Iris App.](./widget-extensions.md)
|
|
10
|
+
- [Use these rules whne building App SDK specific React Hook, Runtime Hooks](./react-core-hooks.md)
|
package/src/generators/preset/files/.cursor/rules/{widget-extensions.mdc → widget-extensions.md}
RENAMED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Use these rules when building Widget Extensions for an Iris App.
|
|
3
|
-
globs:
|
|
4
|
-
alwaysApply: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
1
|
# Widget Extensions
|
|
8
2
|
|
|
9
3
|
Widget extensions are specialized components that integrate into Trackunit Manager's dashboard systems, providing customizable UI elements for data visualization and user interaction.
|