cognite-create 0.2.23 → 0.2.25
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/package.json
CHANGED
|
@@ -10,9 +10,18 @@ Always use semantic Tailwind color classes (e.g., bg-primary, text-primary, bord
|
|
|
10
10
|
|
|
11
11
|
CogniteSDK Rules
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Environment Variables
|
|
14
|
+
# Cognite Configuration
|
|
15
|
+
NEXT_PUBLIC_COGNITE_PROJECT=
|
|
16
|
+
NEXT_PUBLIC_COGNITE_BASE_URL=
|
|
14
17
|
|
|
15
|
-
|
|
18
|
+
# OIDC Authentication (Required for production)
|
|
19
|
+
NEXT_PUBLIC_COGNITE_CLIENT_ID=
|
|
20
|
+
COGNITE_CLIENT_SECRET=
|
|
21
|
+
|
|
22
|
+
Make sure to build fallbacks for any error or empty states.
|
|
23
|
+
|
|
24
|
+
All CogniteSDK calls should be done server side in server actions or in server components.
|
|
16
25
|
|
|
17
26
|
We can't use the cognite sdk in the browser as the COGNITE_CLIENT_SECRET is private.
|
|
18
27
|
|