-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added
publish.ps1
script to start building the final schema.
- Loading branch information
Showing
5 changed files
with
134 additions
and
176 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
72 changes: 72 additions & 0 deletions
72
src/schemas/pa-yaml/v3.0/ControlLibraryVDev/ControlTypeId-1P-controls-enum.schema.yaml
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Unfortunately, it also seems to make it so that schema cache doesn't get updated if the schema file updates. | ||
# WORKAROUND: Close the VSCode window and reopen. | ||
# | ||
# How to add snippets for use in VS Code: https://code.visualstudio.com/docs/languages/json#_define-snippets-in-json-schemas | ||
|
||
$schema: http://json-schema.org/draft-07/schema# | ||
$id: http://powerapps.com/schemas/pa-yaml/v3.0/ControlTypeId-1P-controls-enum.schema | ||
description: >- | ||
The schema object representing the enum of ControlTypeIds for the current version of the controls library. | ||
enum: | ||
- AddMedia | ||
- Attachments | ||
- Audio | ||
- Button | ||
- Camera | ||
- CheckBox | ||
- Circle | ||
- ComboBox | ||
- DatePicker | ||
- DropDown | ||
- Form | ||
- TypedDataCard | ||
- DataCard | ||
- Gallery | ||
- GroupContainer | ||
- Icon | ||
- Image | ||
- Label | ||
- ListBox | ||
- Microphone | ||
- PDFViewer | ||
- PowerBI | ||
- Radio | ||
- Rating | ||
- Rectangle | ||
- Slider | ||
- StreamVideo | ||
- TextInput | ||
- Timer | ||
- Toggle | ||
- Video | ||
- FluentV8/Button | ||
- FluentV8/CheckBox | ||
- FluentV8/ComboBox | ||
- FluentV8/DatePicker | ||
- FluentV8/Label | ||
- FluentV8/Radio | ||
- FluentV8/Rating | ||
- FluentV8/Slider | ||
- FluentV8/TextBox | ||
- FluentV8/Toggle | ||
- FluentV9/Badge | ||
- FluentV9/Button | ||
- FluentV9/CheckBox | ||
- FluentV9/ComboBox | ||
- FluentV9/DatePicker | ||
- FluentV9/DropDown | ||
- FluentV9/Header | ||
- FluentV9/InfoButton | ||
- FluentV9/Link | ||
- FluentV9/NumberInput | ||
- FluentV9/Progress | ||
- FluentV9/Radio | ||
- FluentV9/Slider | ||
- FluentV9/Spinner | ||
- FluentV9/StreamVideo | ||
- FluentV9/TabList | ||
- FluentV9/Text | ||
- FluentV9/TextInput | ||
- FluentV9/Toggle | ||
- FluentV9/Grid |
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,14 +1 @@ | ||
:: SETLOCAL will also autoreset the current directory | ||
@SETLOCAL | ||
@CD %~dp0 | ||
|
||
@SET _RepoRoot=%~dp0..\..\ | ||
@SET _SchemasDistRoot=%_RepoRoot%schemas\ | ||
|
||
|
||
:: TODO: Instead of a straight copy, we should remove yaml comments; only keeping '$comment' | ||
:: TODO: We MAY want to also publish the *.schema.json files too. | ||
@ECHO Copying pa-yaml/v3.0 ... | ||
@RMDIR /S /Q "%_SchemasDistRoot%pa-yaml\v3.0\" | ||
@MKDIR "%_SchemasDistRoot%pa-yaml\v3.0\" | ||
@COPY pa-yaml\v3.0\pa.schema.yaml "%_SchemasDistRoot%pa-yaml\v3.0\" | ||
@pwsh.exe -executionpolicy bypass -file %~dp0publish.ps1 |
Oops, something went wrong.