-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(SupportV4): Support using v4 app template in Studio (#12449)
* Support v4 template
- Loading branch information
1 parent
54bc31f
commit 974d961
Showing
10 changed files
with
49 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
export const expressionSchemaUrl = () => | ||
'https://altinncdn.no/schemas/json/layout/expression.schema.v1.json'; | ||
// V4 Schema Paths | ||
export const footerSchemaUrl = () => | ||
'https://altinncdn.no/schemas/json/layout/footer.schema.v1.json'; | ||
'https://altinncdn.no/toolkits/altinn-app-frontend/4/schemas/json/layout/footer.schema.v1.json'; | ||
export const layoutSetsSchemaUrl = () => | ||
'https://altinncdn.no/schemas/json/layout/layout-sets.schema.v1.json'; | ||
'https://altinncdn.no/toolkits/altinn-app-frontend/4/schemas/json/layout/layout-sets.schema.v1.json'; | ||
export const layoutSchemaUrl = () => | ||
'https://altinncdn.no/schemas/json/layout/layout.schema.v1.json'; | ||
'https://altinncdn.no/toolkits/altinn-app-frontend/4/schemas/json/layout/layout.schema.v1.json'; | ||
export const layoutSettingsSchemaUrl = () => | ||
'https://altinncdn.no/toolkits/altinn-app-frontend/4/schemas/json/layout/layoutSettings.schema.v1.json'; | ||
|
||
// V3 Schema Paths | ||
export const footerSchemaUrlV3 = () => | ||
'https://altinncdn.no/schemas/json/layout/footer.schema.v1.json'; | ||
export const layoutSetsSchemaUrlV3 = () => | ||
'https://altinncdn.no/schemas/json/layout/layout-sets.schema.v1.json'; | ||
export const layoutSchemaUrlV3 = () => | ||
'https://altinncdn.no/schemas/json/layout/layout.schema.v1.json'; | ||
export const layoutSettingsSchemaUrlV3 = () => | ||
'https://altinncdn.no/schemas/json/layout/layoutSettings.schema.v1.json'; | ||
export const numberFormatSchemaUrl = () => | ||
'https://altinncdn.no/schemas/json/component/number-format.schema.v1.json'; | ||
export const componentSchemaUrl = (component) => | ||
`https://altinncdn.no/schemas/json/component/${component}.schema.v1.json`; | ||
|
||
// General Paths | ||
export const orgsListUrl = () => 'https://altinncdn.no/orgs/altinn-orgs.json'; | ||
export const altinnImgLogoHeaderUrl = () => 'https://altinncdn.no/img/Altinn-logo-blue.svg'; | ||
export const widgetUrl = () => 'https://altinncdn.no/altinn-apps/widgets/message.json'; | ||
export const newsListUrl = (langage = 'nb') => | ||
`https://altinncdn.no/studio/designer/news/news.${langage}.json`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters