Skip to content

Commit 15b239a

Browse files
committed
update: add app id to flavor
1 parent eee0bc0 commit 15b239a

File tree

5 files changed

+16
-7
lines changed

5 files changed

+16
-7
lines changed

dist/js/flavorMixin.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export type FlavorMixin = {
1010
executableId: string;
1111
executableName: string;
1212
applicationName: string;
13+
applicationId: string;
1314
supportedApplicationVersions?: string[];
1415
getInputAsRenderedTemplates: (context: Record<string, unknown>) => Record<string, unknown>[];
1516
};

dist/js/flavorMixin.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,14 @@ function flavorMixin(item) {
2525
get applicationName() {
2626
return this.prop("applicationName", "");
2727
},
28+
get applicationId() {
29+
return this.prop("applicationId", "");
30+
},
2831
get supportedApplicationVersions() {
2932
return this.prop("supportedApplicationVersions");
3033
},
3134
getInputAsRenderedTemplates(context) {
32-
const input = this.input;
35+
const { input } = this;
3336
return input.map((template) => {
3437
if (template && typeof template === "object" && "getRenderedJSON" in template) {
3538
return template.getRenderedJSON(context);

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@exabyte-io/eslint-config": "2025.5.13-0",
5353
"@mat3ra/utils": "2025.9.20-0",
5454
"@mat3ra/code": "2025.8.7-0",
55-
"@mat3ra/esse": "2025.11.26-0",
55+
"@mat3ra/esse": "git+https://github.com/Exabyte-io/esse.git#a4b61341b2adfa916d532afa8950f0d5ca15f419",
5656
"@mat3ra/made": "2025.7.15-0",
5757
"@mat3ra/standata": "2025.10.1-0",
5858
"@mat3ra/tsconfig": "2024.6.3-0",

src/js/flavorMixin.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export type FlavorMixin = {
1414
executableId: string;
1515
executableName: string;
1616
applicationName: string;
17+
applicationId: string;
1718
supportedApplicationVersions?: string[];
1819
getInputAsRenderedTemplates: (context: Record<string, unknown>) => Record<string, unknown>[];
1920
};
@@ -42,12 +43,16 @@ export function flavorMixin(item: Base) {
4243
return this.prop("applicationName", "");
4344
},
4445

46+
get applicationId() {
47+
return this.prop("applicationId", "");
48+
},
49+
4550
get supportedApplicationVersions() {
4651
return this.prop("supportedApplicationVersions");
4752
},
4853

4954
getInputAsRenderedTemplates(context: Record<string, unknown>) {
50-
const input = this.input;
55+
const { input } = this;
5156
return input.map((template) => {
5257
if (template && typeof template === "object" && "getRenderedJSON" in template) {
5358
return (template as any).getRenderedJSON(context);

0 commit comments

Comments
 (0)