@finos/legend-application 16.0.59 → 16.0.60
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/lib/application/LegendApplicationConfig.d.ts +6 -1
- package/lib/application/LegendApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendApplicationConfig.js +10 -1
- package/lib/application/LegendApplicationConfig.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +2 -2
- package/src/application/LegendApplicationConfig.ts +14 -0
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { type ExtensionsConfigurationData } from '@finos/legend-shared';
|
|
16
|
+
import { type ExtensionsConfigurationData, SerializationFactory } from '@finos/legend-shared';
|
|
17
17
|
import type { LegendApplicationConfigurationInput } from './LegendApplication.js';
|
|
18
18
|
import { type KeyedDocumentationEntry, type DocumentationEntryData, type ContextualDocumentationConfig, type ContextualDocumentationEntry, type DocumentationRegistryEntry, type DocumentationLinkEntry } from '../stores/DocumentationService.js';
|
|
19
19
|
import type { SettingOverrideConfigData } from '../stores/SettingService.js';
|
|
@@ -26,6 +26,11 @@ export interface LegendApplicationLink {
|
|
|
26
26
|
url: string;
|
|
27
27
|
label: string;
|
|
28
28
|
}
|
|
29
|
+
export declare class StereotypeConfig {
|
|
30
|
+
profile: string;
|
|
31
|
+
stereotype: string;
|
|
32
|
+
static readonly serialization: SerializationFactory<StereotypeConfig>;
|
|
33
|
+
}
|
|
29
34
|
export interface LegendApplicationConfigurationData {
|
|
30
35
|
appName: string;
|
|
31
36
|
env: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendApplicationConfig.d.ts","sourceRoot":"","sources":["../../src/application/LegendApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,2BAA2B,
|
|
1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,EAAE;QACZ,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;KAC/C,CAAC;IAIF,UAAU,CAAC,EAAE,2BAA2B,CAAC;CAC1C;AAED,8BAAsB,uBAAuB;IAC3C,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IAGvC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/C,QAAQ,CAAC,wBAAwB,CAAC,EAAE,sBAAsB,EAAE,CAAM;IAClE,QAAQ,CAAC,4BAA4B,EAAE,0BAA0B,EAAE,CAAM;IACzE,QAAQ,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,CAAM;IACnE,QAAQ,CAAC,oBAAoB,EAAE,4BAA4B,EAAE,CAAM;IAGnE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACjD,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAC;gBAG9C,KAAK,EAAE,mCAAmC,CAAC,kCAAkC,CAAC;IAsChF,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAOxD,QAAQ,CAAC,+BAA+B,IAAI,MAAM;CACnD"}
|
|
@@ -13,8 +13,17 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { guaranteeNonEmptyString, guaranteeNonNullable, URL_SEPARATOR, } from '@finos/legend-shared';
|
|
16
|
+
import { guaranteeNonEmptyString, guaranteeNonNullable, URL_SEPARATOR, SerializationFactory, } from '@finos/legend-shared';
|
|
17
17
|
import { collectKeyedDocumentationEntriesFromConfig, collectContextualDocumentationEntries, collectDocumentationLinkEntryFromConfig, } from '../stores/DocumentationService.js';
|
|
18
|
+
import { createModelSchema, primitive } from 'serializr';
|
|
19
|
+
export class StereotypeConfig {
|
|
20
|
+
profile;
|
|
21
|
+
stereotype;
|
|
22
|
+
static serialization = new SerializationFactory(createModelSchema(StereotypeConfig, {
|
|
23
|
+
profile: primitive(),
|
|
24
|
+
stereotype: primitive(),
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
18
27
|
export class LegendApplicationConfig {
|
|
19
28
|
appName;
|
|
20
29
|
baseAddress;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EAEpB,aAAa,
|
|
1
|
+
{"version":3,"file":"LegendApplicationConfig.js","sourceRoot":"","sources":["../../src/application/LegendApplicationConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EAEpB,aAAa,EACb,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,0CAA0C,EAC1C,qCAAqC,EAOrC,uCAAuC,GACxC,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAazD,MAAM,OAAO,gBAAgB;IAC3B,OAAO,CAAU;IACjB,UAAU,CAAU;IAEpB,MAAM,CAAU,aAAa,GAAG,IAAI,oBAAoB,CACtD,iBAAiB,CAAC,gBAAgB,EAAE;QAClC,OAAO,EAAE,SAAS,EAAE;QACpB,UAAU,EAAE,SAAS,EAAE;KACxB,CAAC,CACH,CAAC;;AAuBJ,MAAM,OAAgB,uBAAuB;IAClC,OAAO,CAAS;IA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UAAU;QACV,IAAI,CAAC,UAAU,GAAG,oBAAoB,CACpC,KAAK,CAAC,WAAW,CAAC,OAAO,EACzB,+DAA+D,CAChE,CAAC;QACF,IAAI,CAAC,mBAAmB,GAAG,KAAK,CAAC,WAAW,CAAC,SAAS,CAAC;QACvD,IAAI,CAAC,kBAAkB,GAAG,KAAK,CAAC,WAAW,CAAC,SAAS,CAAC;IACxD,CAAC;IAES,MAAM,CAAC,kBAAkB,CAAC,GAAW;QAC7C,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,CAAC;YACzC,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,CAAC;QACtC,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;CAGF"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-application",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.60",
|
|
4
4
|
"description": "Legend application core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"test:watch": "jest --watch"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@finos/legend-art": "7.1.
|
|
48
|
+
"@finos/legend-art": "7.1.114",
|
|
49
49
|
"@finos/legend-shared": "11.0.18",
|
|
50
50
|
"@finos/legend-storage": "3.0.137",
|
|
51
51
|
"@types/react": "19.0.10",
|
|
@@ -19,6 +19,7 @@ import {
|
|
|
19
19
|
guaranteeNonNullable,
|
|
20
20
|
type ExtensionsConfigurationData,
|
|
21
21
|
URL_SEPARATOR,
|
|
22
|
+
SerializationFactory,
|
|
22
23
|
} from '@finos/legend-shared';
|
|
23
24
|
import type { LegendApplicationConfigurationInput } from './LegendApplication.js';
|
|
24
25
|
import {
|
|
@@ -33,6 +34,7 @@ import {
|
|
|
33
34
|
collectDocumentationLinkEntryFromConfig,
|
|
34
35
|
} from '../stores/DocumentationService.js';
|
|
35
36
|
import type { SettingOverrideConfigData } from '../stores/SettingService.js';
|
|
37
|
+
import { createModelSchema, primitive } from 'serializr';
|
|
36
38
|
|
|
37
39
|
export interface LegendApplicationVersionData {
|
|
38
40
|
buildTime?: string;
|
|
@@ -45,6 +47,18 @@ export interface LegendApplicationLink {
|
|
|
45
47
|
label: string;
|
|
46
48
|
}
|
|
47
49
|
|
|
50
|
+
export class StereotypeConfig {
|
|
51
|
+
profile!: string;
|
|
52
|
+
stereotype!: string;
|
|
53
|
+
|
|
54
|
+
static readonly serialization = new SerializationFactory(
|
|
55
|
+
createModelSchema(StereotypeConfig, {
|
|
56
|
+
profile: primitive(),
|
|
57
|
+
stereotype: primitive(),
|
|
58
|
+
}),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
48
62
|
export interface LegendApplicationConfigurationData {
|
|
49
63
|
appName: string;
|
|
50
64
|
env: string;
|