Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pick up latest version of Azure.Bicep.Types #2067

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion bicep-types
Submodule bicep-types updated 39 files
+0 −27 .github/policies/automergeTriggers.yml
+2 −0 .github/policies/labelAdded.dependabot.yml
+7 −7 .github/workflows/build.yml
+15 −5 src/Bicep.Types.UnitTests/BaselineTests.cs
+4 −4 src/Bicep.Types.UnitTests/Bicep.Types.UnitTests.csproj
+46 −41 src/Bicep.Types.UnitTests/TypeSerializerTests.cs
+94 −42 src/Bicep.Types.UnitTests/packages.lock.json
+1 −1 src/Bicep.Types/Bicep.Types.csproj
+31 −0 src/Bicep.Types/Concrete/FunctionType.cs
+16 −2 src/Bicep.Types/Concrete/ResourceType.cs
+19 −4 src/Bicep.Types/Concrete/TypeBase.cs
+17 −0 src/Bicep.Types/CrossFileTypeReference.cs
+5 −3 src/Bicep.Types/ITypeLoader.cs
+20 −6 src/Bicep.Types/Index/TypeIndex.cs
+23 −0 src/Bicep.Types/Index/TypeSettings.cs
+57 −0 src/Bicep.Types/Serialization/CrossFileTypeReferenceConverter.cs
+0 −38 src/Bicep.Types/Serialization/ReferenceLinkConverter.cs
+0 −161 src/Bicep.Types/Serialization/TypeBaseConverter.cs
+1 −8 src/Bicep.Types/Serialization/TypeJsonContext.cs
+61 −0 src/Bicep.Types/Serialization/TypeReferenceConverter.cs
+46 −21 src/Bicep.Types/Serialization/TypeSerializer.cs
+10 −11 src/Bicep.Types/TypeLoader.cs
+0 −18 src/Bicep.Types/TypeLocation.cs
+20 −21 src/Bicep.Types/packages.lock.json
+1 −1 src/Directory.Build.props
+1,190 −1,198 src/bicep-types/package-lock.json
+2 −2 src/bicep-types/package.json
+20 −23 src/bicep-types/src/indexer.ts
+144 −119 src/bicep-types/src/types.ts
+81 −15 src/bicep-types/src/writers/json.ts
+69 −69 src/bicep-types/src/writers/markdown.ts
+116 −1 src/bicep-types/test/integration/baselines/foo/foo/types.json
+19 −1 src/bicep-types/test/integration/baselines/foo/index.json
+37 −0 src/bicep-types/test/integration/baselines/foo/types.json
+11 −0 src/bicep-types/test/integration/baselines/foo/types.md
+86 −1 src/bicep-types/test/integration/baselines/http/http/v1/types.json
+8 −1 src/bicep-types/test/integration/baselines/http/index.json
+71 −31 src/bicep-types/test/integration/types.test.ts
+1 −1 version.json
163 changes: 162 additions & 1 deletion generated/addons/microsoft.addons/2017-05-15/types.json
Original file line number Diff line number Diff line change
@@ -1 +1,162 @@
[{"13":{}},{"6":{"Value":"Essential"}},{"6":{"Value":"Standard"}},{"6":{"Value":"Advanced"}},{"5":{"Elements":[1,2,3,0]}},{"6":{"Value":"Microsoft.Addons/supportProviders/supportPlanTypes"}},{"6":{"Value":"2017-05-15"}},{"2":{"Name":"Microsoft.Addons/supportProviders/supportPlanTypes","Properties":{"id":{"Type":0,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":5,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":6,"Flags":10,"Description":"The resource api version"},"properties":{"Type":8,"Flags":2,"Description":"Describes Canonical support plan type and status."}}}},{"2":{"Name":"CanonicalSupportPlanProperties","Properties":{"provisioningState":{"Type":16,"Flags":0,"Description":"The provisioning state of the resource."}}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Cancelled"}},{"6":{"Value":"Purchasing"}},{"6":{"Value":"Downgrading"}},{"6":{"Value":"Cancelling"}},{"6":{"Value":"Upgrading"}},{"5":{"Elements":[9,10,11,12,13,14,15,0]}},{"4":{"Name":"Microsoft.Addons/supportProviders/supportPlanTypes@2017-05-15","ScopeType":4,"Body":7,"Flags":0}}]
[
{
"$type": "StringType"
},
{
"$type": "StringLiteralType",
"value": "Essential"
},
{
"$type": "StringLiteralType",
"value": "Standard"
},
{
"$type": "StringLiteralType",
"value": "Advanced"
},
{
"$type": "UnionType",
"elements": [
{
"$ref": "#/1"
},
{
"$ref": "#/2"
},
{
"$ref": "#/3"
},
{
"$ref": "#/0"
}
]
},
{
"$type": "StringLiteralType",
"value": "Microsoft.Addons/supportProviders/supportPlanTypes"
},
{
"$type": "StringLiteralType",
"value": "2017-05-15"
},
{
"$type": "ObjectType",
"name": "Microsoft.Addons/supportProviders/supportPlanTypes",
"properties": {
"id": {
"type": {
"$ref": "#/0"
},
"flags": 10,
"description": "The resource id"
},
"name": {
"type": {
"$ref": "#/4"
},
"flags": 9,
"description": "The resource name"
},
"type": {
"type": {
"$ref": "#/5"
},
"flags": 10,
"description": "The resource type"
},
"apiVersion": {
"type": {
"$ref": "#/6"
},
"flags": 10,
"description": "The resource api version"
},
"properties": {
"type": {
"$ref": "#/8"
},
"flags": 2,
"description": "Describes Canonical support plan type and status."
}
}
},
{
"$type": "ObjectType",
"name": "CanonicalSupportPlanProperties",
"properties": {
"provisioningState": {
"type": {
"$ref": "#/16"
},
"flags": 0,
"description": "The provisioning state of the resource."
}
}
},
{
"$type": "StringLiteralType",
"value": "Succeeded"
},
{
"$type": "StringLiteralType",
"value": "Failed"
},
{
"$type": "StringLiteralType",
"value": "Cancelled"
},
{
"$type": "StringLiteralType",
"value": "Purchasing"
},
{
"$type": "StringLiteralType",
"value": "Downgrading"
},
{
"$type": "StringLiteralType",
"value": "Cancelling"
},
{
"$type": "StringLiteralType",
"value": "Upgrading"
},
{
"$type": "UnionType",
"elements": [
{
"$ref": "#/9"
},
{
"$ref": "#/10"
},
{
"$ref": "#/11"
},
{
"$ref": "#/12"
},
{
"$ref": "#/13"
},
{
"$ref": "#/14"
},
{
"$ref": "#/15"
},
{
"$ref": "#/0"
}
]
},
{
"$type": "ResourceType",
"name": "Microsoft.Addons/supportProviders/supportPlanTypes@2017-05-15",
"scopeType": 4,
"body": {
"$ref": "#/7"
},
"flags": 0
}
]
Loading
Loading