@equinor/roma-nx-plugin 6.0.0-beta.1 → 6.0.0-beta.10

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/generators.json +5 -0
  3. package/migrations.json +106 -22
  4. package/package.json +4 -4
  5. package/src/executors/build/build.js +1 -1
  6. package/src/executors/build/build.js.map +1 -1
  7. package/src/executors/create-vite-config.d.ts +1 -1
  8. package/src/executors/create-vite-config.js +14 -5
  9. package/src/executors/create-vite-config.js.map +1 -1
  10. package/src/executors/serve/server.js +15 -8
  11. package/src/executors/serve/server.js.map +1 -1
  12. package/src/executors/utils/get-version.d.ts +1 -0
  13. package/src/executors/utils/get-version.js +12 -0
  14. package/src/executors/utils/get-version.js.map +1 -0
  15. package/src/executors/utils/load-services.js.map +1 -1
  16. package/src/executors/utils/logger.js +2 -1
  17. package/src/executors/utils/logger.js.map +1 -1
  18. package/src/generators/app/data/generated-dependencies.json +23 -0
  19. package/src/generators/app/generator.js +7 -17
  20. package/src/generators/app/generator.js.map +1 -1
  21. package/src/generators/preset/generator.js.map +1 -1
  22. package/src/generators/preset/schema.d.ts +1 -0
  23. package/src/generators/skill/files/roma-app-development/SKILL.md +34 -0
  24. package/src/generators/skill/files/roma-app-development/generators.md +357 -0
  25. package/src/generators/skill/files/roma-app-development/services.md +471 -0
  26. package/src/generators/skill/generator.d.ts +4 -0
  27. package/src/generators/skill/generator.js +14 -0
  28. package/src/generators/skill/generator.js.map +1 -0
  29. package/src/generators/skill/schema.d.ts +3 -0
  30. package/src/generators/skill/schema.json +14 -0
  31. package/src/migrations/migrate-fusion-manifest/update-manifest.d.ts +5 -2
  32. package/src/migrations/migrate-fusion-manifest/update-manifest.js.map +1 -1
  33. package/src/generators/app/data/modules.d.ts +0 -19
  34. package/src/generators/app/data/modules.js +0 -23
  35. package/src/generators/app/data/modules.js.map +0 -1
@@ -0,0 +1,471 @@
1
+ # Services & Data Fetching in Roma
2
+
3
+ ## Architecture
4
+
5
+ Roma data fetching combines two libraries:
6
+
7
+ 1. **Fusion HTTP Client** — Wraps the native `fetch` API with automatic authentication (MSAL token acquisition). Registered via service discovery so apps don't manage tokens.
8
+ 2. **React Query (TanStack Query v5)** — Manages request state (loading, error, cache), provides a global query cache shared across all Roma apps, and supports persistence to IndexedDB.
9
+
10
+ ```
11
+ Component → useQuery/useMutation → fetch function → Fusion IHttpClient → API
12
+ ↓
13
+ Automatic auth token injection
14
+ ```
15
+
16
+ ---
17
+
18
+ ## Registering Services
19
+
20
+ Services are registered in each app's `src/config.ts`. Failing to register a service causes a runtime error when the app tries to use it.
21
+
22
+ ### Using a Roma-registered service
23
+
24
+ For APIs registered in Roma's service discovery (available at `https://roma.equinor.com/_discovery/environments/current`):
25
+
26
+ ```typescript
27
+ import type { AppModuleInitiator } from '@equinor/fusion-framework-react-app';
28
+
29
+ export const configure: AppModuleInitiator = (configurator, env) => {
30
+ // Each call registers a named HTTP client backed by the service's config
31
+ configurator.useFrameworkServiceClient('portal');
32
+ configurator.useFrameworkServiceClient('ratscore');
33
+ configurator.useFrameworkServiceClient('waterborne-cargo');
34
+ configurator.useFrameworkServiceClient('deal-handling');
35
+ configurator.useFrameworkServiceClient('graph'); // MS Graph API
36
+ configurator.useFrameworkServiceClient('roma-alarm');
37
+ };
38
+
39
+ export default configure;
40
+ ```
41
+
42
+ ### Adding a custom HTTP client (for development or unlisted APIs)
43
+
44
+ ```typescript
45
+ export const configure: AppModuleInitiator = (configurator, env) => {
46
+ configurator.configureHttpClient('my-client', {
47
+ baseUri: 'https://foo.bar/api',
48
+ defaultScopes: ['my-scope/.default'],
49
+ });
50
+ };
51
+ ```
52
+
53
+ ### APIM-exposed APIs
54
+
55
+ If the API is exposed via Azure API Management, set `baseUri` to `/apim`.
56
+
57
+ ### Non-CORS APIs (local dev proxy)
58
+
59
+ If the API isn't behind APIM and doesn't support CORS, add a proxy in `vite.config.ts`:
60
+
61
+ ```typescript
62
+ import { defineConfig } from 'vite';
63
+
64
+ export default defineConfig({
65
+ build: {
66
+ lib: {
67
+ entry: 'src/index.ts',
68
+ fileName: 'app-bundle',
69
+ formats: ['es'],
70
+ },
71
+ },
72
+ server: {
73
+ proxy: {
74
+ '/my-api': {
75
+ target: 'http://localhost:8080/api',
76
+ changeOrigin: true,
77
+ rewrite: (path) => path.replace('/my-api', ''),
78
+ secure: false,
79
+ },
80
+ },
81
+ },
82
+ });
83
+ ```
84
+
85
+ ### Enabling navigation
86
+
87
+ For apps with routing:
88
+
89
+ ```typescript
90
+ import { enableNavigation } from '@equinor/fusion-framework-module-navigation';
91
+
92
+ export const configure: AppModuleInitiator = (configurator, env) => {
93
+ configurator.useFrameworkServiceClient('portal');
94
+ enableNavigation(configurator, '/apps/<app-name>');
95
+ };
96
+ ```
97
+
98
+ ### Enabling page titles
99
+
100
+ ```typescript
101
+ import { enablePageTitle } from '@equinor/roma-page-title-module';
102
+
103
+ export const configure: AppModuleInitiator = (configurator, env) => {
104
+ enablePageTitle(configurator, (config) => {
105
+ config.setInitialTitle('My App');
106
+ config.setRoutes([
107
+ { path: '/apps/my-app', title: 'My App' },
108
+ { path: '/apps/my-app/details/:id', title: '{name} | Details', placeholder: 'Loading...' },
109
+ ]);
110
+ });
111
+ };
112
+ ```
113
+
114
+ ---
115
+
116
+ ## Data Fetching Patterns
117
+
118
+ ### Basic query hook (recommended pattern)
119
+
120
+ ```typescript
121
+ import { useQuery } from '@tanstack/react-query';
122
+ import { HttpResponseError, IHttpClient } from '@equinor/fusion-framework-module-http';
123
+ import { useHttpClient } from '@equinor/fusion-framework-react-module-http';
124
+ import { handleError } from '@equinor/roma-framework';
125
+
126
+ type MyData = {
127
+ id: string;
128
+ name: string;
129
+ };
130
+
131
+ const fetchMyData = async (client: IHttpClient) => {
132
+ const req = await client.fetch('/my-endpoint');
133
+ return handleError<MyData>(req);
134
+ };
135
+
136
+ export const useGetMyData = () => {
137
+ const client = useHttpClient('my-service'); // name must match config.ts registration
138
+ return useQuery<MyData, HttpResponseError>({
139
+ queryKey: ['my-endpoint'],
140
+ queryFn: () => fetchMyData(client),
141
+ });
142
+ };
143
+ ```
144
+
145
+ ### Using `handleError` (from `@equinor/roma-framework`)
146
+
147
+ The framework provides a centralized error handler that parses responses and throws typed `HttpError`:
148
+
149
+ ```typescript
150
+ import { handleError } from '@equinor/roma-framework';
151
+
152
+ // In your fetch function:
153
+ const req = await client.fetch('/some-endpoint');
154
+ return handleError<MyResponseType>(req);
155
+ // → Returns parsed JSON if status < 300
156
+ // → Throws HttpError with message and cause for 300+
157
+ ```
158
+
159
+ `handleError` inspects `content-type` to parse JSON or text errors and falls back to standard HTTP status messages.
160
+
161
+ ### Query with caching and persistence
162
+
163
+ ```typescript
164
+ export const useGetCreditTerm = () => {
165
+ const client = useHttpClient('ratscore');
166
+ return useQuery<Array<CreditTerm>, HttpResponseError>({
167
+ queryKey: ['traderecap/creditterm'],
168
+ queryFn: () => fetchCreditTerm(client),
169
+ staleTime: 60_000, // data is fresh for 60s
170
+ meta: { persist: true }, // persist to IndexedDB across sessions
171
+ refetchOnMount: true,
172
+ refetchOnReconnect: true,
173
+ refetchOnWindowFocus: true,
174
+ });
175
+ };
176
+ ```
177
+
178
+ ### Query without caching
179
+
180
+ ```typescript
181
+ export const useGetCreditTerm = () => {
182
+ const client = useHttpClient('ratscore');
183
+ return useQuery<Array<CreditTerm>, HttpResponseError>({
184
+ queryKey: ['traderecap/creditterm'],
185
+ queryFn: () => fetchCreditTerm(client),
186
+ // No staleTime, no persist → default behavior
187
+ });
188
+ };
189
+ ```
190
+
191
+ ### Conditional / parameterized query
192
+
193
+ ```typescript
194
+ export const useGetCargoes = (userId: string) => {
195
+ const client = useHttpClient('waterborne-cargo');
196
+ return useQuery<SearchResult<Cargo>, HttpResponseError>({
197
+ queryKey: ['api/cargos', userId], // include params in queryKey
198
+ queryFn: () => fetchCargoes(client, userId),
199
+ enabled: !!userId && userId !== 'MISSINGUSER', // only fetch when ready
200
+ retry: 1,
201
+ });
202
+ };
203
+ ```
204
+
205
+ ### Infinite query (paginated data)
206
+
207
+ ```typescript
208
+ import { useInfiniteQuery } from '@tanstack/react-query';
209
+
210
+ export const useGetDealsLastWeek = () => {
211
+ const client = useHttpClient('ratscore');
212
+ return useInfiniteQuery({
213
+ queryKey: ['homepage-kpi', 'deals-last-week', todayStr],
214
+ initialPageParam: 0,
215
+ getNextPageParam: (lastPage: SearchResult<Deal>) => lastPage.nextPage,
216
+ queryFn: ({ pageParam }) => getDeals(client, pageParam),
217
+ meta: { persist: true },
218
+ staleTime: 60_000 * 30,
219
+ refetchInterval: 60_000 * 30,
220
+ select: (pages) => {
221
+ // Transform paginated data
222
+ return pages.pages.flatMap((p) => p.items);
223
+ },
224
+ });
225
+ };
226
+ ```
227
+
228
+ ### Prefetching related data
229
+
230
+ ```typescript
231
+ import { QueryClient, useQueryClient } from '@tanstack/react-query';
232
+
233
+ const prefetchCargo = async (cargoId: string, client: IHttpClient, queryClient: QueryClient) => {
234
+ return queryClient.ensureQueryData({
235
+ queryKey: ['api/cargos', cargoId],
236
+ queryFn: () => client.json(`/cargos/${cargoId}`),
237
+ meta: { persist: true },
238
+ });
239
+ };
240
+
241
+ // Inside a select callback or effect:
242
+ latestCargoes.forEach((c) => prefetchCargo(c.id, client, queryClient));
243
+ ```
244
+
245
+ ---
246
+
247
+ ## Mutations
248
+
249
+ ### Manual mutation hook (for hand-written APIs)
250
+
251
+ ```typescript
252
+ import { useMutation, useQueryClient } from '@tanstack/react-query';
253
+ import { useHttpClient } from '@equinor/fusion-framework-react-module-http';
254
+
255
+ export const useCreateItem = () => {
256
+ const client = useHttpClient('portal');
257
+ const queryClient = useQueryClient();
258
+
259
+ return useMutation({
260
+ mutationFn: async (newItem: ItemDto) => {
261
+ const res = await client.fetch('/api/items', {
262
+ method: 'POST',
263
+ headers: { 'Content-Type': 'application/json' },
264
+ body: JSON.stringify(newItem),
265
+ });
266
+ if (!res.ok) throw new Error(res.statusText);
267
+ return res.json();
268
+ },
269
+ onSuccess: () => {
270
+ queryClient.invalidateQueries({ queryKey: ['api/items'] });
271
+ },
272
+ });
273
+ };
274
+ ```
275
+
276
+ ### Generated mutations (Orval pattern)
277
+
278
+ The Roma API clients in `libs/roma-framework/src/lib/api/` are auto-generated by Orval. They use `useCustomClient` from `use-client.ts` which wraps `useHttpClient('portal')`:
279
+
280
+ ```typescript
281
+ // Generated — do not edit
282
+ import { useMutation } from '@tanstack/react-query';
283
+ import { useCustomClient } from '../../use-client';
284
+ import type { ErrorType, BodyType } from '../../use-client';
285
+
286
+ export const useCreateFeedback = (options?) => {
287
+ return useMutation(useCreateFeedbackMutationOptions(options));
288
+ };
289
+ ```
290
+
291
+ Usage in components:
292
+
293
+ ```typescript
294
+ const createFeedback = useCreateFeedback({
295
+ mutation: {
296
+ onSuccess: async () => {
297
+ await queryClient.invalidateQueries({ queryKey: ['feedbacks'] });
298
+ },
299
+ },
300
+ });
301
+
302
+ // Trigger:
303
+ createFeedback.mutate({ data: feedbackPayload });
304
+ ```
305
+
306
+ ### Query invalidation across tabs
307
+
308
+ Roma uses a `BroadcastChannel` to synchronize cache invalidation across browser tabs:
309
+
310
+ ```typescript
311
+ import { queryInvalidationChannel } from '@equinor/roma-framework';
312
+
313
+ // After a mutation succeeds:
314
+ const key = getGetSettingsByAppShortNameQueryKey('notifications');
315
+ await queryClient.resetQueries({ queryKey: key });
316
+ queryInvalidationChannel.postMessage({ key });
317
+ ```
318
+
319
+ ---
320
+
321
+ ## Persistence
322
+
323
+ Roma's query persister uses **IndexedDB** via `idb-keyval`. To opt a query into persistence:
324
+
325
+ ### Option A: Set `meta.persist`
326
+
327
+ ```typescript
328
+ useQuery({
329
+ queryKey: ['my-data'],
330
+ queryFn: fetchMyData,
331
+ meta: { persist: true },
332
+ });
333
+ ```
334
+
335
+ ### Option B: Include `'persist'` in the queryKey
336
+
337
+ ```typescript
338
+ useQuery({
339
+ queryKey: ['persist', 'my-data'],
340
+ queryFn: fetchMyData,
341
+ });
342
+ ```
343
+
344
+ ### Automatic persistence
345
+
346
+ Queries with keys starting with `/api/` or `/_discovery` are automatically persisted by the Roma persister without needing to opt in.
347
+
348
+ ### Important notes on persisted data
349
+
350
+ - When data is persisted, `isLoading` will be `false` immediately (cached data is returned first)
351
+ - Use `isStale && isFetching` to detect that fresh data is being loaded in the background:
352
+
353
+ ```typescript
354
+ const { data, isStale, isFetching, error } = useGetMyData();
355
+ const isRefreshing = isStale && isFetching;
356
+ ```
357
+
358
+ ---
359
+
360
+ ## Accessing Auth & Framework Modules
361
+
362
+ ### Get current user
363
+
364
+ ```typescript
365
+ import { useFramework } from '@equinor/fusion-framework-react';
366
+
367
+ const framework = useFramework();
368
+ const user = framework.modules.auth.defaultAccount;
369
+ const userId = user?.username.split('@')[0].toLowerCase();
370
+ ```
371
+
372
+ ### Get user from app context
373
+
374
+ ```typescript
375
+ import { useAppModules } from '@equinor/fusion-framework-react-app';
376
+
377
+ const auth = useAppModules().auth;
378
+ const username = auth?.account?.username.split('@')[0];
379
+ ```
380
+
381
+ ### Navigation
382
+
383
+ ```typescript
384
+ import { useFramework } from '@equinor/fusion-framework-react';
385
+ import { NavigationModule } from '@equinor/fusion-framework-module-navigation';
386
+
387
+ const module = useFramework<[NavigationModule]>().modules.navigation;
388
+ module.navigator.push('/apps/my-app/details/123');
389
+ ```
390
+
391
+ Or from app module:
392
+
393
+ ```typescript
394
+ import { useAppModule } from '@equinor/fusion-framework-react-app';
395
+ import { NavigationModule } from '@equinor/fusion-framework-module-navigation';
396
+
397
+ const module = useAppModule<NavigationModule>('navigation');
398
+ const router = module.createRouter([
399
+ { path: '/', element: <Home /> },
400
+ { path: '/details/:id', element: <Details /> },
401
+ ]);
402
+ ```
403
+
404
+ ### Check API roles
405
+
406
+ ```typescript
407
+ import { useGetApiRoles, useHasApiRole } from '@equinor/roma-framework';
408
+
409
+ // Get all roles for an API
410
+ const roles = useGetApiRoles('ratscore');
411
+
412
+ // Check a specific role
413
+ const isAdmin = useHasApiRole('portal', 'Admin');
414
+ ```
415
+
416
+ ---
417
+
418
+ ## Error Handling
419
+
420
+ ### Using `handleError` (preferred)
421
+
422
+ ```typescript
423
+ import { handleError } from '@equinor/roma-framework';
424
+
425
+ const fetchData = async (client: IHttpClient) => {
426
+ const req = await client.fetch('/my-endpoint');
427
+ return handleError<MyType>(req);
428
+ };
429
+ ```
430
+
431
+ ### Manual error handling
432
+
433
+ ```typescript
434
+ const fetchData = async (client: IHttpClient) => {
435
+ const req = await client.fetch('/my-endpoint');
436
+ if (req.status >= 400) {
437
+ let data;
438
+ if (req.headers.get('Content-type')?.includes('json')) {
439
+ data = await req.json();
440
+ } else {
441
+ data = await req.text();
442
+ }
443
+ throw new HttpResponseError(req.statusText, data);
444
+ }
445
+ return req.json();
446
+ };
447
+ ```
448
+
449
+ ### In components
450
+
451
+ ```typescript
452
+ const { data, error, isLoading } = useGetMyData();
453
+
454
+ if (error) return <ErrorDisplay error={error} />;
455
+ if (isLoading) return <EquinorLoader />;
456
+ return <MyComponent data={data} />;
457
+ ```
458
+
459
+ ---
460
+
461
+ ## Best Practices
462
+
463
+ - **Always include relevant parameters in `queryKey`** to keep cached entries unique
464
+ - **Use `handleError` from `@equinor/roma-framework`** instead of hand-rolling error parsing
465
+ - **Set `staleTime`** appropriately — `0` (default) means every mount triggers a refetch
466
+ - **Use `meta: { persist: true }`** for slow endpoints where showing stale data first improves UX
467
+ - **Don't persist highly volatile data** — if it's outdated within minutes, caching adds no value
468
+ - **Show loading/stale indicators** so users know when data is being refreshed
469
+ - **Use `enabled`** to conditionally run queries (e.g., when user ID is available)
470
+ - **Invalidate queries after mutations** via `queryClient.invalidateQueries()`
471
+ - **Use `queryInvalidationChannel`** when cache invalidation needs to propagate across browser tabs
@@ -0,0 +1,4 @@
1
+ import { Tree } from '@nx/devkit';
2
+ import { SkillGeneratorSchema } from './schema';
3
+ export declare function skillGenerator(tree: Tree, options: SkillGeneratorSchema): Promise<void>;
4
+ export default skillGenerator;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.skillGenerator = skillGenerator;
4
+ const tslib_1 = require("tslib");
5
+ const devkit_1 = require("@nx/devkit");
6
+ const path = tslib_1.__importStar(require("path"));
7
+ async function skillGenerator(tree, options) {
8
+ var _a;
9
+ const targetDir = (_a = options.directory) !== null && _a !== void 0 ? _a : '.claude/skills';
10
+ (0, devkit_1.generateFiles)(tree, path.join(__dirname, 'files'), targetDir, options);
11
+ await (0, devkit_1.formatFiles)(tree);
12
+ }
13
+ exports.default = skillGenerator;
14
+ //# sourceMappingURL=generator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../plugins/roma/src/generators/skill/generator.ts"],"names":[],"mappings":";;AAIA,wCAQC;;AAZD,uCAA8D;AAC9D,mDAA6B;AAGtB,KAAK,UAAU,cAAc,CAClC,IAAU,EACV,OAA6B;;IAE7B,MAAM,SAAS,GAAG,MAAA,OAAO,CAAC,SAAS,mCAAI,gBAAgB,CAAC;IAExD,IAAA,sBAAa,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACvE,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,kBAAe,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type SkillGeneratorSchema = {
2
+ directory?: string;
3
+ };
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "Skill",
4
+ "title": "",
5
+ "type": "object",
6
+ "properties": {
7
+ "directory": {
8
+ "type": "string",
9
+ "description": "Target directory for the skill files. Defaults to .claude/skills",
10
+ "default": ".claude/skills"
11
+ }
12
+ },
13
+ "required": []
14
+ }
@@ -1,6 +1,9 @@
1
- import { AppDto } from '@equinor/roma-framework';
2
1
  import { AppManifest } from '@equinor/fusion-framework-module-app';
3
2
  import { PackageJson } from 'nx/src/utils/package-json';
4
3
  export declare const updateManifest: ({ roma: manifest, version, }: PackageJson & {
5
- roma: Omit<AppDto, "version">;
4
+ roma: AppManifest & {
5
+ tags: Array<string>;
6
+ icon: string;
7
+ order: number;
8
+ };
6
9
  }) => AppManifest;
@@ -1 +1 @@
1
- {"version":3,"file":"update-manifest.js","sourceRoot":"","sources":["../../../../../../plugins/roma/src/migrations/migrate-fusion-manifest/update-manifest.ts"],"names":[],"mappings":";;;AAEA,gFAAuF;AAGhF,MAAM,cAAc,GAAG,CAAC,EAC7B,IAAI,EAAE,QAAQ,EACd,OAAO,GACyC,EAAe,EAAE;IACjE,MAAM,eAAe,GAAG,kBACnB,QAAQ,CACgC,CAAC;IAC9C,eAAe,CAAC,KAAK,GAAG;QACtB,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,GAAG;QACd,OAAO;KACR,CAAC;IACF,OAAO,eAAe,CAAC,KAAK,CAAC;IAC7B,OAAO,eAAe,CAAC,OAAO,CAAC;IAC/B,eAAe,CAAC,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC;IACzC,eAAe,CAAC,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC;IACtC,eAAe,CAAC,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC;IAC5C,eAAe,CAAC,aAAa,GAAG;QAC9B,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,SAAS,EAAE,QAAQ,CAAC,KAAK;KAC1B,CAAC;IACF,OAAO,eAAe,CAAC,KAAK,CAAC;IAC7B,OAAO,eAAe,CAAC,IAAI,CAAC;IAC5B,OAAoB,iCAAoB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;AAClE,CAAC,CAAC;AAxBW,QAAA,cAAc,kBAwBzB"}
1
+ {"version":3,"file":"update-manifest.js","sourceRoot":"","sources":["../../../../../../plugins/roma/src/migrations/migrate-fusion-manifest/update-manifest.ts"],"names":[],"mappings":";;;AACA,gFAAuF;AAGhF,MAAM,cAAc,GAAG,CAAC,EAC7B,IAAI,EAAE,QAAQ,EACd,OAAO,GAGR,EAAe,EAAE;IAChB,MAAM,eAAe,GAAG,kBACnB,QAAQ,CACoC,CAAC;IAClD,eAAe,CAAC,KAAK,GAAG;QACtB,UAAU,EAAE,EAAE;QACd,SAAS,EAAE,GAAG;QACd,OAAO;KACR,CAAC;IACF,OAAO,eAAe,CAAC,KAAK,CAAC;IAC7B,OAAO,eAAe,CAAC,OAAO,CAAC;IAC/B,eAAe,CAAC,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC;IACzC,eAAe,CAAC,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC;IACtC,eAAe,CAAC,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC;IAC5C,eAAe,CAAC,aAAa,GAAG;QAC9B,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,SAAS,EAAE,QAAQ,CAAC,KAAK;KAC1B,CAAC;IACF,OAAO,eAAe,CAAC,KAAK,CAAC;IAC7B,OAAO,eAAe,CAAC,IAAI,CAAC;IAC5B,OAAoB,iCAAoB,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;AAClE,CAAC,CAAC;AA1BW,QAAA,cAAc,kBA0BzB"}
@@ -1,19 +0,0 @@
1
- export declare const modules: {
2
- '@equinor/fusion-framework-module-msal': string;
3
- '@equinor/fusion-framework-module-navigation': string;
4
- '@equinor/fusion-framework-module-context': string;
5
- 'fusion-framework-module-ag-grid': string;
6
- 'fusion-framework-module-bookmark': string;
7
- 'fusion-framework-module-event': string;
8
- '@equinor/fusion-framework-module-http': string;
9
- '@equinor/fusion-framework-module-service-discovery': string;
10
- 'fusion-framework-module-services': string;
11
- 'fusion-framework-module-signalr': string;
12
- 'fusion-framework-module-telemetry': string;
13
- 'fusion-framework-module-widget': string;
14
- 'fusion-framework-react-module-bookmark': string;
15
- '@equinor/fusion-framework-react-module-http': string;
16
- '@equinor/fusion-framework-react-module-context': string;
17
- 'fusion-framework-react-module-signalr': string;
18
- 'fusion-framework-react-module-event': string;
19
- };
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.modules = void 0;
4
- exports.modules = {
5
- '@equinor/fusion-framework-module-msal': '^4.0.1',
6
- '@equinor/fusion-framework-module-navigation': '^4.0.8',
7
- '@equinor/fusion-framework-module-context': '^5.0.18',
8
- 'fusion-framework-module-ag-grid': '^30.1.0',
9
- 'fusion-framework-module-bookmark': '1.0.10',
10
- 'fusion-framework-module-event': '^4.0.5',
11
- '@equinor/fusion-framework-module-http': '^6.2.2',
12
- '@equinor/fusion-framework-module-service-discovery': '^8.0.7',
13
- 'fusion-framework-module-services': '^3.1.5',
14
- 'fusion-framework-module-signalr': '^2.0.7',
15
- 'fusion-framework-module-telemetry': '^4.0.2',
16
- 'fusion-framework-module-widget': '^1.0.9',
17
- 'fusion-framework-react-module-bookmark': '^2.0.17',
18
- '@equinor/fusion-framework-react-module-http': '^8.0.2',
19
- '@equinor/fusion-framework-react-module-context': '^6.2.19',
20
- 'fusion-framework-react-module-signalr': '^2.0.7',
21
- 'fusion-framework-react-module-event': '^3.1.2',
22
- };
23
- //# sourceMappingURL=modules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modules.js","sourceRoot":"","sources":["../../../../../../../plugins/roma/src/generators/app/data/modules.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,uCAAuC,EAAE,QAAQ;IACjD,6CAA6C,EAAE,QAAQ;IACvD,0CAA0C,EAAE,SAAS;IACrD,iCAAiC,EAAE,SAAS;IAC5C,kCAAkC,EAAE,QAAQ;IAC5C,+BAA+B,EAAE,QAAQ;IACzC,uCAAuC,EAAE,QAAQ;IACjD,oDAAoD,EAAE,QAAQ;IAC9D,kCAAkC,EAAE,QAAQ;IAC5C,iCAAiC,EAAE,QAAQ;IAC3C,mCAAmC,EAAE,QAAQ;IAC7C,gCAAgC,EAAE,QAAQ;IAC1C,wCAAwC,EAAE,SAAS;IACnD,6CAA6C,EAAE,QAAQ;IACvD,gDAAgD,EAAE,SAAS;IAC3D,uCAAuC,EAAE,QAAQ;IACjD,qCAAqC,EAAE,QAAQ;CAChD,CAAC"}