@nuxt/scripts 0.4.0 → 0.4.1
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/README.md +4 -8
- package/dist/client/200.html +57 -43
- package/dist/client/404.html +57 -43
- package/dist/client/_nuxt/{CFYSkdJN.js → BE5dUAj2.js} +1 -1
- package/dist/client/_nuxt/BEjL32p1.js +5754 -0
- package/dist/client/_nuxt/BwXNTs7T.js +1 -0
- package/dist/client/_nuxt/{CCsrmkFc.js → C3OXR31I.js} +1 -1
- package/dist/client/_nuxt/CGmujMTu.js +1 -0
- package/dist/client/_nuxt/CO5hpdkB.js +1 -0
- package/dist/client/_nuxt/CiRxTSAc.js +1 -0
- package/dist/client/_nuxt/{C7Ygk604.js → CnGjBSoe.js} +1 -1
- package/dist/client/_nuxt/CpAANOdC.js +1 -0
- package/dist/client/_nuxt/DAfrLhwG.js +1 -0
- package/dist/client/_nuxt/DGMFlOLs.js +1 -0
- package/dist/client/_nuxt/DKb4lQY2.js +1 -0
- package/dist/client/_nuxt/Dit6kIrv.js +11 -0
- package/dist/client/_nuxt/FJDVp-XM.js +1 -0
- package/dist/client/_nuxt/KPqz0Sb3.js +1 -0
- package/dist/client/_nuxt/MS3qTAOR.js +1 -0
- package/dist/client/_nuxt/P5f3PASf.js +40 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/d030288c-d564-4054-b340-ad07c9c6d534.json +1 -0
- package/dist/client/_nuxt/yPaGq8vJ.js +31 -0
- package/dist/client/_nuxt/zkPAHE4u.js +1 -0
- package/dist/client/index.html +57 -43
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/registry.d.mts +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.mjs +1 -1
- package/dist/runtime/registry/google-analytics.mjs +1 -1
- package/dist/runtime/types.d.ts +3 -2
- package/package.json +7 -7
- package/dist/client/_nuxt/CudBhkk3.js +0 -1
- package/dist/client/_nuxt/DbUJKcwL.js +0 -31
- package/dist/client/_nuxt/builds/meta/2a8bbe8d-00a2-43ea-ae62-2d603f7034d4.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=Object.freeze({displayName:"TypeSpec",fileTypes:["tsp"],name:"typespec",patterns:[{include:"#statement"}],repository:{"alias-statement":{begin:"\\b(alias)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.alias-statement.typespec",patterns:[{include:"#type-parameters"},{include:"#operator-assignment"},{include:"#expression"}]},"augment-decorator-statement":{begin:"((@@)\\b[_$[:alpha:]]([_$[:alnum:]]|\\.[_$[:alpha:]])*\\b)",beginCaptures:{1:{name:"entity.name.tag.tsp"},2:{name:"entity.name.tag.tsp"}},end:"(?=[_$[:alpha:]])|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.augment-decorator-statement.typespec",patterns:[{include:"#token"},{include:"#parenthesized-expression"}]},"block-comment":{begin:"/\\*",end:"\\*/",name:"comment.block.tsp"},"boolean-literal":{match:"\\b(true|false)\\b",name:"constant.language.tsp"},decorator:{begin:"((@)\\b[_$[:alpha:]]([_$[:alnum:]]|\\.[_$[:alpha:]])*\\b)",beginCaptures:{1:{name:"entity.name.tag.tsp"},2:{name:"entity.name.tag.tsp"}},end:"(?=[_$[:alpha:]])|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.decorator.typespec",patterns:[{include:"#token"},{include:"#parenthesized-expression"}]},"decorator-declaration-statement":{begin:"(?:(extern)\\s+)?\\b(dec)\\b\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"keyword.other.tsp"},3:{name:"entity.name.function.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.decorator-declaration-statement.typespec",patterns:[{include:"#token"},{include:"#operation-parameters"}]},directive:{begin:"\\s*(#\\b[_$[:alpha:]][_$[:alnum:]]*\\b)",beginCaptures:{1:{name:"keyword.directive.name.tsp"}},end:"$|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.directive.typespec",patterns:[{include:"#string-literal"},{include:"#identifier-expression"}]},"doc-comment":{begin:"/\\*\\*",beginCaptures:{0:{name:"comment.block.tsp"}},end:"\\*/",endCaptures:{0:{name:"comment.block.tsp"}},name:"comment.block.tsp",patterns:[{include:"#doc-comment-block"}]},"doc-comment-block":{patterns:[{include:"#doc-comment-param"},{include:"#doc-comment-return-tag"},{include:"#doc-comment-unknown-tag"}]},"doc-comment-param":{captures:{1:{name:"keyword.tag.tspdoc"},2:{name:"keyword.tag.tspdoc"},3:{name:"variable.name.tsp"}},match:"(?x)((@)(?:param|template))\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)\\b",name:"comment.block.tsp"},"doc-comment-return-tag":{captures:{1:{name:"keyword.tag.tspdoc"},2:{name:"keyword.tag.tspdoc"}},match:"(?x)((@)(?:returns))\\b",name:"comment.block.tsp"},"doc-comment-unknown-tag":{captures:{1:{name:"entity.name.tag.tsp"},2:{name:"entity.name.tag.tsp"}},match:"(?x)((@)(?:\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`))\\b",name:"comment.block.tsp"},"else-expression":{begin:"\\b(else)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"((?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.else-expression.typespec",patterns:[{include:"#projection-expression"},{include:"#projection-body"}]},"else-if-expression":{begin:"\\b(else)\\s+(if)\\b",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"keyword.other.tsp"}},end:"((?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.else-if-expression.typespec",patterns:[{include:"#projection-expression"},{include:"#projection-body"}]},"enum-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.curlybrace.open.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.curlybrace.close.tsp"}},name:"meta.enum-body.typespec",patterns:[{include:"#enum-member"},{include:"#token"},{include:"#directive"},{include:"#decorator"},{include:"#punctuation-comma"}]},"enum-member":{begin:"(?:(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)\\s*(:?))",beginCaptures:{1:{name:"variable.name.tsp"},2:{name:"keyword.operator.type.annotation.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.enum-member.typespec",patterns:[{include:"#token"},{include:"#type-annotation"}]},"enum-statement":{begin:"\\b(enum)\\b\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"entity.name.type.tsp"}},end:"(?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.enum-statement.typespec",patterns:[{include:"#token"},{include:"#enum-body"}]},"escape-character":{match:"\\\\.",name:"constant.character.escape.tsp"},expression:{patterns:[{include:"#token"},{include:"#directive"},{include:"#parenthesized-expression"},{include:"#valueof"},{include:"#type-arguments"},{include:"#tuple-expression"},{include:"#model-expression"},{include:"#identifier-expression"}]},"function-call":{begin:"(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)\\s*(\\()",beginCaptures:{1:{name:"entity.name.function.tsp"},2:{name:"punctuation.parenthesis.open.tsp"}},end:"\\)",endCaptures:{0:{name:"punctuation.parenthesis.close.tsp"}},name:"meta.function-call.typespec",patterns:[{include:"#expression"}]},"function-declaration-statement":{begin:"(?:(extern)\\s+)?\\b(fn)\\b\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"keyword.other.tsp"},3:{name:"entity.name.function.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.function-declaration-statement.typespec",patterns:[{include:"#token"},{include:"#operation-parameters"},{include:"#type-annotation"}]},"identifier-expression":{match:"\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`",name:"entity.name.type.tsp"},"if-expression":{begin:"\\b(if)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"((?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.if-expression.typespec",patterns:[{include:"#projection-expression"},{include:"#projection-body"}]},"import-statement":{begin:"\\b(import)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.import-statement.typespec",patterns:[{include:"#token"}]},"interface-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.curlybrace.open.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.curlybrace.close.tsp"}},name:"meta.interface-body.typespec",patterns:[{include:"#token"},{include:"#directive"},{include:"#decorator"},{include:"#interface-member"},{include:"#punctuation-semicolon"}]},"interface-heritage":{begin:"\\b(extends)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"((?=\\{)|(?=;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.interface-heritage.typespec",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},"interface-member":{begin:"(?:\\b(op)\\b\\s+)?(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"entity.name.function.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.interface-member.typespec",patterns:[{include:"#token"},{include:"#operation-signature"}]},"interface-statement":{begin:"\\b(interface)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.interface-statement.typespec",patterns:[{include:"#token"},{include:"#type-parameters"},{include:"#interface-heritage"},{include:"#interface-body"},{include:"#expression"}]},"line-comment":{match:"//.*$",name:"comment.line.double-slash.tsp"},"model-expression":{begin:"\\{",beginCaptures:{0:{name:"punctuation.curlybrace.open.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.curlybrace.close.tsp"}},name:"meta.model-expression.typespec",patterns:[{include:"#model-property"},{include:"#token"},{include:"#directive"},{include:"#decorator"},{include:"#spread-operator"},{include:"#punctuation-semicolon"}]},"model-heritage":{begin:"\\b(extends|is)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"((?=\\{)|(?=;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.model-heritage.typespec",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},"model-property":{begin:'(?:(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)|(\\"(?:[^\\"\\\\]|\\\\.)*\\"))',beginCaptures:{1:{name:"variable.name.tsp"},2:{name:"string.quoted.double.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.model-property.typespec",patterns:[{include:"#token"},{include:"#type-annotation"},{include:"#operator-assignment"},{include:"#expression"}]},"model-statement":{begin:"\\b(model)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.model-statement.typespec",patterns:[{include:"#token"},{include:"#type-parameters"},{include:"#model-heritage"},{include:"#expression"}]},"namespace-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.curlybrace.open.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.curlybrace.close.tsp"}},name:"meta.namespace-body.typespec",patterns:[{include:"#statement"}]},"namespace-name":{begin:"(?=[_$[:alpha:]])",end:"((?=\\{)|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.namespace-name.typespec",patterns:[{include:"#identifier-expression"},{include:"#punctuation-accessor"}]},"namespace-statement":{begin:"\\b(namespace)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"((?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.namespace-statement.typespec",patterns:[{include:"#token"},{include:"#namespace-name"},{include:"#namespace-body"}]},"numeric-literal":{match:"(?:\\b(?<!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$)|\\b(?<!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$)|(?<!\\$)(?:(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)|(?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)|(?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)|(?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)|(?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)|(?:\\b[0-9][0-9_]*(\\.)(n)?\\B)|(?:\\B(\\.)[0-9][0-9_]*(n)?\\b)|(?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)))(?!\\$))",name:"constant.numeric.tsp"},"operation-heritage":{begin:"\\b(is)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.operation-heritage.typespec",patterns:[{include:"#expression"}]},"operation-parameters":{begin:"\\(",beginCaptures:{0:{name:"punctuation.parenthesis.open.tsp"}},end:"\\)",endCaptures:{0:{name:"punctuation.parenthesis.close.tsp"}},name:"meta.operation-parameters.typespec",patterns:[{include:"#token"},{include:"#decorator"},{include:"#model-property"},{include:"#spread-operator"},{include:"#punctuation-comma"}]},"operation-signature":{patterns:[{include:"#type-parameters"},{include:"#operation-heritage"},{include:"#operation-parameters"},{include:"#type-annotation"}]},"operation-statement":{begin:"\\b(op)\\b\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"entity.name.function.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.operation-statement.typespec",patterns:[{include:"#token"},{include:"#operation-signature"}]},"operator-assignment":{match:"=",name:"keyword.operator.assignment.tsp"},"parenthesized-expression":{begin:"\\(",beginCaptures:{0:{name:"punctuation.parenthesis.open.tsp"}},end:"\\)",endCaptures:{0:{name:"punctuation.parenthesis.close.tsp"}},name:"meta.parenthesized-expression.typespec",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},projection:{begin:"(from|to)",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"((?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.projection.typespec",patterns:[{include:"#projection-parameters"},{include:"#projection-body"}]},"projection-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.curlybrace.open.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.curlybrace.close.tsp"}},name:"meta.projection-body.typespec",patterns:[{include:"#projection-expression"},{include:"#punctuation-semicolon"}]},"projection-expression":{patterns:[{include:"#else-if-expression"},{include:"#if-expression"},{include:"#else-expression"},{include:"#function-call"}]},"projection-parameter":{begin:"(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"variable.name.tsp"}},end:"(?=\\))|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.projection-parameter.typespec",patterns:[]},"projection-parameters":{begin:"\\(",beginCaptures:{0:{name:"punctuation.parenthesis.open.tsp"}},end:"\\)",endCaptures:{0:{name:"punctuation.parenthesis.close.tsp"}},name:"meta.projection-parameters.typespec",patterns:[{include:"#token"},{include:"#projection-parameter"}]},"projection-statement":{begin:"\\b(projection)\\b\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)(#)(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"keyword.other.tsp"},3:{name:"keyword.operator.selector.tsp"},4:{name:"variable.name.tsp"}},end:"((?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b))",name:"meta.projection-statement.typespec",patterns:[{include:"#projection-statement-body"}]},"projection-statement-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.curlybrace.open.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.curlybrace.close.tsp"}},name:"meta.projection-statement-body.typespec",patterns:[{include:"#projection"}]},"punctuation-accessor":{match:"\\.",name:"punctuation.accessor.tsp"},"punctuation-comma":{match:",",name:"punctuation.comma.tsp"},"punctuation-semicolon":{match:";",name:"punctuation.terminator.statement.tsp"},"scalar-extends":{begin:"\\b(extends)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?=;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.scalar-extends.typespec",patterns:[{include:"#expression"},{include:"#punctuation-comma"}]},"scalar-statement":{begin:"\\b(scalar)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.scalar-statement.typespec",patterns:[{include:"#token"},{include:"#type-parameters"},{include:"#scalar-extends"},{include:"#expression"}]},"spread-operator":{begin:"\\.\\.\\.",beginCaptures:{0:{name:"keyword.operator.spread.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.spread-operator.typespec",patterns:[{include:"#expression"}]},statement:{patterns:[{include:"#token"},{include:"#directive"},{include:"#augment-decorator-statement"},{include:"#decorator"},{include:"#model-statement"},{include:"#scalar-statement"},{include:"#union-statement"},{include:"#interface-statement"},{include:"#enum-statement"},{include:"#alias-statement"},{include:"#namespace-statement"},{include:"#operation-statement"},{include:"#import-statement"},{include:"#using-statement"},{include:"#decorator-declaration-statement"},{include:"#function-declaration-statement"},{include:"#projection-statement"},{include:"#punctuation-semicolon"}]},"string-literal":{begin:'"',end:'"|$',name:"string.quoted.double.tsp",patterns:[{include:"#template-expression"},{include:"#escape-character"}]},"template-expression":{begin:"\\$\\{",beginCaptures:{0:{name:"punctuation.definition.template-expression.begin.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.definition.template-expression.end.tsp"}},name:"meta.template-expression.typespec",patterns:[{include:"#expression"}]},token:{patterns:[{include:"#doc-comment"},{include:"#line-comment"},{include:"#block-comment"},{include:"#triple-quoted-string-literal"},{include:"#string-literal"},{include:"#boolean-literal"},{include:"#numeric-literal"}]},"triple-quoted-string-literal":{begin:'"""',end:'"""',name:"string.quoted.triple.tsp",patterns:[{include:"#template-expression"},{include:"#escape-character"}]},"tuple-expression":{begin:"\\[",beginCaptures:{0:{name:"punctuation.squarebracket.open.tsp"}},end:"\\]",endCaptures:{0:{name:"punctuation.squarebracket.close.tsp"}},name:"meta.tuple-expression.typespec",patterns:[{include:"#expression"}]},"type-annotation":{begin:"\\s*(\\??)\\s*(:)",beginCaptures:{1:{name:"keyword.operator.optional.tsp"},2:{name:"keyword.operator.type.annotation.tsp"}},end:"(?=,|;|@|\\)|\\}|=|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.type-annotation.typespec",patterns:[{include:"#expression"}]},"type-arguments":{begin:"<",beginCaptures:{0:{name:"punctuation.definition.typeparameters.begin.tsp"}},end:">",endCaptures:{0:{name:"punctuation.definition.typeparameters.end.tsp"}},name:"meta.type-arguments.typespec",patterns:[{include:"#identifier-expression"},{include:"#operator-assignment"},{include:"#expression"},{include:"#punctuation-comma"}]},"type-parameter":{begin:"(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"entity.name.type.tsp"}},end:"(?=>)|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.type-parameter.typespec",patterns:[{include:"#token"},{include:"#type-parameter-constraint"},{include:"#type-parameter-default"}]},"type-parameter-constraint":{begin:"extends",beginCaptures:{0:{name:"keyword.other.tsp"}},end:"(?=>)|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.type-parameter-constraint.typespec",patterns:[{include:"#expression"}]},"type-parameter-default":{begin:"=",beginCaptures:{0:{name:"keyword.operator.assignment.tsp"}},end:"(?=>)|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.type-parameter-default.typespec",patterns:[{include:"#expression"}]},"type-parameters":{begin:"<",beginCaptures:{0:{name:"punctuation.definition.typeparameters.begin.tsp"}},end:">",endCaptures:{0:{name:"punctuation.definition.typeparameters.end.tsp"}},name:"meta.type-parameters.typespec",patterns:[{include:"#type-parameter"},{include:"#punctuation-comma"}]},"union-body":{begin:"\\{",beginCaptures:{0:{name:"punctuation.curlybrace.open.tsp"}},end:"\\}",endCaptures:{0:{name:"punctuation.curlybrace.close.tsp"}},name:"meta.union-body.typespec",patterns:[{include:"#union-variant"},{include:"#token"},{include:"#directive"},{include:"#decorator"},{include:"#expression"},{include:"#punctuation-comma"}]},"union-statement":{begin:"\\b(union)\\b\\s+(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)",beginCaptures:{1:{name:"keyword.other.tsp"},2:{name:"entity.name.type.tsp"}},end:"(?<=\\})|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.union-statement.typespec",patterns:[{include:"#token"},{include:"#union-body"}]},"union-variant":{begin:"(?:(\\b[_$[:alpha:]][_$[:alnum:]]*\\b|`(?:[^`\\\\]|\\\\.)*`)\\s*(:))",beginCaptures:{1:{name:"variable.name.tsp"},2:{name:"keyword.operator.type.annotation.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.union-variant.typespec",patterns:[{include:"#token"},{include:"#expression"}]},"using-statement":{begin:"\\b(using)\\b",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.using-statement.typespec",patterns:[{include:"#token"},{include:"#identifier-expression"}]},valueof:{begin:"\\b(valueof)",beginCaptures:{1:{name:"keyword.other.tsp"}},end:"(?=>)|(?=,|;|@|\\)|\\}|\\b(?:extern)\\b|\\b(?:namespace|model|op|using|import|enum|alias|union|interface|dec|fn)\\b)",name:"meta.valueof.typespec",patterns:[{include:"#expression"}]}},scopeName:"source.tsp",aliases:["tsp"]});var n=[e];export{n as default};
|
package/dist/client/index.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!DOCTYPE html><html><head><meta charset="utf-8">
|
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
3
|
<link rel="stylesheet" href="/__nuxt-scripts/_nuxt/entry.D91GVkD7.css">
|
|
4
|
-
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
4
|
+
<link rel="modulepreload" as="script" crossorigin href="/__nuxt-scripts/_nuxt/yPaGq8vJ.js">
|
|
5
5
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DXFkqnOI.js">
|
|
6
6
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D6NljDpC.js">
|
|
7
7
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CowR2XfX.js">
|
|
@@ -19,12 +19,46 @@
|
|
|
19
19
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CupVZNk8.js">
|
|
20
20
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B4yE-MfL.js">
|
|
21
21
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CG4fK2Nq.js">
|
|
22
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DGMFlOLs.js">
|
|
23
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C5gCGmDW.js">
|
|
24
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B2DkETJQ.js">
|
|
25
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/RCJZWN-0.js">
|
|
26
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BF6G6X0H.js">
|
|
27
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Bg0wAK5a.js">
|
|
28
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BOnd8D4O.js">
|
|
29
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DouzTJIq.js">
|
|
30
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DbK06e1c.js">
|
|
31
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DISxKEhY.js">
|
|
32
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DvyTQcux.js">
|
|
33
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DNR26wTC.js">
|
|
34
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BaNxgKSR.js">
|
|
35
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/RE3ujT-k.js">
|
|
36
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DS9ZWoKD.js">
|
|
37
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BAMIS8DD.js">
|
|
38
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/wChcbJ1V.js">
|
|
39
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DAGYewaG.js">
|
|
40
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CsyrCbsw.js">
|
|
41
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D_T9yQUo.js">
|
|
42
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DwuVtWc2.js">
|
|
43
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BXfENWL6.js">
|
|
44
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BIxS-Weu.js">
|
|
45
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Du6_OKDb.js">
|
|
46
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B9S9BZZh.js">
|
|
47
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DHmGyzbM.js">
|
|
48
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/RqY_Nz63.js">
|
|
49
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dwo2i-71.js">
|
|
50
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CarfVElc.js">
|
|
51
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BZfs-ost.js">
|
|
52
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BVGdgKAv.js">
|
|
53
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DGxQkqYo.js">
|
|
54
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CMDmr8et.js">
|
|
55
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/vMsNTMhM.js">
|
|
56
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dez-Qvcc.js">
|
|
57
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BT9ZzGyQ.js">
|
|
58
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DC8MraHL.js">
|
|
22
59
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/PWN5J14X.js">
|
|
23
60
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BXR915QZ.js">
|
|
24
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DC8MraHL.js">
|
|
25
61
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DSrLtGYv.js">
|
|
26
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CMDmr8et.js">
|
|
27
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Du6_OKDb.js">
|
|
28
62
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DXT9h7v2.js">
|
|
29
63
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BlxWTfDV.js">
|
|
30
64
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/i0IPvypD.js">
|
|
@@ -35,39 +69,26 @@
|
|
|
35
69
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BaedD2tq.js">
|
|
36
70
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/3ghuYFLd.js">
|
|
37
71
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C1DVX8_8.js">
|
|
38
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DbK06e1c.js">
|
|
39
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/RCJZWN-0.js">
|
|
40
72
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Bgpqy2XC.js">
|
|
41
73
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CIekO_uJ.js">
|
|
42
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BF6G6X0H.js">
|
|
43
74
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DXZpi2gR.js">
|
|
44
75
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Cgl53LJQ.js">
|
|
76
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CGmujMTu.js">
|
|
45
77
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BOpLLL-w.js">
|
|
46
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Bg0wAK5a.js">
|
|
47
78
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CX2EUjC8.js">
|
|
48
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BOnd8D4O.js">
|
|
49
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DouzTJIq.js">
|
|
50
79
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B6bHXiXE.js">
|
|
51
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BZfs-ost.js">
|
|
52
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DISxKEhY.js">
|
|
53
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B2DkETJQ.js">
|
|
54
80
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C6Aznpr-.js">
|
|
55
81
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/ByMv4Xf1.js">
|
|
56
82
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/PifQWv0n.js">
|
|
57
83
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DZLoTQm4.js">
|
|
58
84
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DsfXcHUZ.js">
|
|
59
85
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D71BffLY.js">
|
|
60
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DvyTQcux.js">
|
|
61
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DNR26wTC.js">
|
|
62
86
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Eh5U-gDp.js">
|
|
63
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
64
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/RE3ujT-k.js">
|
|
87
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BEjL32p1.js">
|
|
65
88
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/ChMCFiS0.js">
|
|
66
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CarfVElc.js">
|
|
67
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BVGdgKAv.js">
|
|
68
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DS9ZWoKD.js">
|
|
69
89
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C6XIsc4F.js">
|
|
70
90
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DfeQjIbs.js">
|
|
91
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/KPqz0Sb3.js">
|
|
71
92
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/sQpxpyUs.js">
|
|
72
93
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D6pmzCqS.js">
|
|
73
94
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Djqq6n-7.js">
|
|
@@ -75,6 +96,7 @@
|
|
|
75
96
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/NL97_oaV.js">
|
|
76
97
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B_SUYfiV.js">
|
|
77
98
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CoEqzGFw.js">
|
|
99
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DAfrLhwG.js">
|
|
78
100
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DjTlIhuc.js">
|
|
79
101
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DAVo6uMX.js">
|
|
80
102
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/JgH_6NEN.js">
|
|
@@ -82,20 +104,17 @@
|
|
|
82
104
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Bbv8ARUV.js">
|
|
83
105
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CQUCfALx.js">
|
|
84
106
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/nclm9rTJ.js">
|
|
85
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BAMIS8DD.js">
|
|
86
107
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BN4LRXf6.js">
|
|
87
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CsyrCbsw.js">
|
|
88
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/wChcbJ1V.js">
|
|
89
108
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BmCW-tYz.js">
|
|
90
109
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/G-Jz5hiA.js">
|
|
91
110
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DUdlC5k_.js">
|
|
92
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
93
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
94
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CudBhkk3.js">
|
|
111
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dit6kIrv.js">
|
|
112
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CpAANOdC.js">
|
|
95
113
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DZqG9GXz.js">
|
|
96
114
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DmDrTTlz.js">
|
|
97
115
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BR6CMsBL.js">
|
|
98
116
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CqYeW6XZ.js">
|
|
117
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CiRxTSAc.js">
|
|
99
118
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C3qJFuQy.js">
|
|
100
119
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DzwdaLuO.js">
|
|
101
120
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DeVv6D4_.js">
|
|
@@ -106,19 +125,12 @@
|
|
|
106
125
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BUpeXbsf.js">
|
|
107
126
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C9d3aiqh.js">
|
|
108
127
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dble9ECP.js">
|
|
109
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D_T9yQUo.js">
|
|
110
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DwuVtWc2.js">
|
|
111
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BXfENWL6.js">
|
|
112
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BIxS-Weu.js">
|
|
113
128
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DIr-ordK.js">
|
|
114
129
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/o5b8QYQO.js">
|
|
115
130
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Db2-y2xY.js">
|
|
116
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DGxQkqYo.js">
|
|
117
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/vMsNTMhM.js">
|
|
118
131
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dg0DGYq4.js">
|
|
119
132
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Ksn5IXup.js">
|
|
120
133
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DdacRhvC.js">
|
|
121
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B9S9BZZh.js">
|
|
122
134
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DGDuLtS6.js">
|
|
123
135
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Btshr8M_.js">
|
|
124
136
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CcYwH0AH.js">
|
|
@@ -132,11 +144,8 @@
|
|
|
132
144
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/YdT6Gj0u.js">
|
|
133
145
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dszwcx0o.js">
|
|
134
146
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CrgTADc5.js">
|
|
135
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DHmGyzbM.js">
|
|
136
147
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BWKJ1FCf.js">
|
|
137
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/RqY_Nz63.js">
|
|
138
148
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B6ZnTe72.js">
|
|
139
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dwo2i-71.js">
|
|
140
149
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Cthz8VOO.js">
|
|
141
150
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BbJj1K1w.js">
|
|
142
151
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/HrnDn_2Q.js">
|
|
@@ -148,6 +157,9 @@
|
|
|
148
157
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DhFF74a2.js">
|
|
149
158
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/37ic6j3l.js">
|
|
150
159
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CfPQhs6g.js">
|
|
160
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BwXNTs7T.js">
|
|
161
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/MS3qTAOR.js">
|
|
162
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/FJDVp-XM.js">
|
|
151
163
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B5NHDIr7.js">
|
|
152
164
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D384ylkT.js">
|
|
153
165
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Lpdzc9s2.js">
|
|
@@ -161,23 +173,24 @@
|
|
|
161
173
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/dIHJ9UdL.js">
|
|
162
174
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DSsji4Hu.js">
|
|
163
175
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CThH5sBG.js">
|
|
176
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DKb4lQY2.js">
|
|
164
177
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DJZWsvj0.js">
|
|
165
178
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C15OxdQ5.js">
|
|
166
179
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/6XBPEST2.js">
|
|
167
180
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BH1M7C1g.js">
|
|
168
181
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DLP9ZvWb.js">
|
|
169
182
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/wKgfcFVx.js">
|
|
170
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Dez-Qvcc.js">
|
|
171
183
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BscxmKrE.js">
|
|
172
184
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CuJfdYLG.js">
|
|
173
185
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BxwAa5i0.js">
|
|
174
186
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C_8Fx7bH.js">
|
|
175
187
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DBeuZS66.js">
|
|
176
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BT9ZzGyQ.js">
|
|
177
188
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DnLUQrgA.js">
|
|
178
189
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BacI6-DX.js">
|
|
190
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/zkPAHE4u.js">
|
|
179
191
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/I4qd5QHW.js">
|
|
180
192
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C2TBxDwV.js">
|
|
193
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CO5hpdkB.js">
|
|
181
194
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/beD-FUib.js">
|
|
182
195
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/DVfdqzEq.js">
|
|
183
196
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/QZ3jNtnE.js">
|
|
@@ -188,8 +201,9 @@
|
|
|
188
201
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Cicx_DS6.js">
|
|
189
202
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/D3VXSfF0.js">
|
|
190
203
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BZz1Hhek.js">
|
|
191
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
204
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/P5f3PASf.js">
|
|
192
205
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CJQrLysU.js">
|
|
206
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BICIrM8O.js">
|
|
193
207
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/B1nm99XP.js">
|
|
194
208
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/Bsp1M94H.js">
|
|
195
209
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CsTmP73Z.js">
|
|
@@ -239,10 +253,10 @@
|
|
|
239
253
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/V_y36BGi.js">
|
|
240
254
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BGq4KZyx.js">
|
|
241
255
|
<link rel="prefetch" as="style" href="/__nuxt-scripts/_nuxt/error-404.BRldFSII.css">
|
|
242
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
243
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
256
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/BE5dUAj2.js">
|
|
257
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/C3OXR31I.js">
|
|
244
258
|
<link rel="prefetch" as="style" href="/__nuxt-scripts/_nuxt/error-500.D8yw_IbC.css">
|
|
245
|
-
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/
|
|
246
|
-
<script type="module" src="/__nuxt-scripts/_nuxt/
|
|
259
|
+
<link rel="prefetch" as="script" crossorigin href="/__nuxt-scripts/_nuxt/CnGjBSoe.js">
|
|
260
|
+
<script type="module" src="/__nuxt-scripts/_nuxt/yPaGq8vJ.js" crossorigin></script><script>"use strict";(()=>{const a=window,e=document.documentElement,c=window.localStorage,d=["dark","light"],n=c&&c.getItem&&c.getItem("nuxt-color-mode")||"system";let l=n==="system"?f():n;const i=e.getAttribute("data-color-mode-forced");i&&(l=i),r(l),a["__NUXT_COLOR_MODE__"]={preference:n,value:l,getColorScheme:f,addColorScheme:r,removeColorScheme:u};function r(o){const t=""+o+"",s="";e.classList?e.classList.add(t):e.className+=" "+t,s&&e.setAttribute("data-"+s,o)}function u(o){const t=""+o+"",s="";e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(t,"g"),""),s&&e.removeAttribute("data-"+s)}function m(o){return a.matchMedia("(prefers-color-scheme"+o+")")}function f(){if(a.matchMedia&&m("").media!=="not all"){for(const o of d)if(m(":"+o).matches)return o}return"light"}})();
|
|
247
261
|
</script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" id="__NUXT_DATA__" data-ssr="false">[{"_errors":1,"serverRendered":2,"data":3,"state":4,"once":5},{},false,{},{},["Set"]]</script>
|
|
248
262
|
<script>window.__NUXT__={};window.__NUXT__.config={public:{"nuxt-scripts":{defaultScriptOptions:{trigger:"onNuxtReady"}}},app:{baseURL:"/__nuxt-scripts",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as nuxt_schema from 'nuxt/schema';
|
|
2
|
-
import { NuxtConfigScriptRegistry, NuxtUseScriptOptions, NuxtUseScriptInput, RegistryScripts } from '
|
|
2
|
+
import { NuxtConfigScriptRegistry, NuxtUseScriptOptions, NuxtUseScriptInput, RegistryScripts } from './runtime/types.ts';
|
|
3
3
|
|
|
4
4
|
interface ModuleOptions {
|
|
5
5
|
/**
|
package/dist/module.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as nuxt_schema from 'nuxt/schema';
|
|
2
|
-
import { NuxtConfigScriptRegistry, NuxtUseScriptOptions, NuxtUseScriptInput, RegistryScripts } from '
|
|
2
|
+
import { NuxtConfigScriptRegistry, NuxtUseScriptOptions, NuxtUseScriptInput, RegistryScripts } from './runtime/types.ts';
|
|
3
3
|
|
|
4
4
|
interface ModuleOptions {
|
|
5
5
|
/**
|
package/dist/module.json
CHANGED
package/dist/registry.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SegmentInput } from './runtime/registry/segment.ts';
|
|
2
2
|
import { PlausibleAnalyticsInput } from './runtime/registry/plausible-analytics.ts';
|
|
3
3
|
import { GoogleAnalyticsInput } from './runtime/registry/google-analytics.ts';
|
|
4
|
-
import { RegistryScripts } from '
|
|
4
|
+
import { RegistryScripts } from './runtime/types.ts';
|
|
5
5
|
|
|
6
6
|
declare function GoogleAnalyticsScriptResolver(options?: GoogleAnalyticsInput): string;
|
|
7
7
|
declare function PlausibleAnalyticsScriptResolver(options: PlausibleAnalyticsInput): string;
|
package/dist/registry.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SegmentInput } from './runtime/registry/segment.ts';
|
|
2
2
|
import { PlausibleAnalyticsInput } from './runtime/registry/plausible-analytics.ts';
|
|
3
3
|
import { GoogleAnalyticsInput } from './runtime/registry/google-analytics.ts';
|
|
4
|
-
import { RegistryScripts } from '
|
|
4
|
+
import { RegistryScripts } from './runtime/types.ts';
|
|
5
5
|
|
|
6
6
|
declare function GoogleAnalyticsScriptResolver(options?: GoogleAnalyticsInput): string;
|
|
7
7
|
declare function PlausibleAnalyticsScriptResolver(options: PlausibleAnalyticsInput): string;
|
package/dist/registry.mjs
CHANGED
|
@@ -177,7 +177,7 @@ const registry = (resolve) => {
|
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
label: "YouTube
|
|
180
|
+
label: "YouTube Player",
|
|
181
181
|
category: "content",
|
|
182
182
|
logo: `<svg xmlns="http://www.w3.org/2000/svg" width="45.52" height="32" viewBox="0 0 256 180"><path fill="red" d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134"/><path fill="#FFF" d="m102.421 128.06l66.328-38.418l-66.328-38.418z"/></svg>`,
|
|
183
183
|
import: {
|
package/dist/runtime/types.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export type RegistryScriptInput<T extends ObjectSchema<any> = EmptyOptionsSchema
|
|
|
100
100
|
scriptInput?: UseScriptInput;
|
|
101
101
|
scriptOptions?: Bundelable extends true ? Omit<NuxtUseScriptOptions, 'use'> : Omit<NuxtUseScriptOptions, 'bundle' | 'use'>;
|
|
102
102
|
};
|
|
103
|
-
export
|
|
103
|
+
export interface RegistryScript {
|
|
104
104
|
import: Import;
|
|
105
105
|
scriptBundling?: false | ((options?: any) => string);
|
|
106
106
|
label?: string;
|
|
@@ -110,5 +110,6 @@ export type RegistryScripts = {
|
|
|
110
110
|
light: string;
|
|
111
111
|
dark: string;
|
|
112
112
|
};
|
|
113
|
-
}
|
|
113
|
+
}
|
|
114
|
+
export type RegistryScripts = RegistryScript[];
|
|
114
115
|
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/scripts",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"description": "Load third-party scripts with better performance, privacy and DX in Nuxt Apps.",
|
|
6
6
|
"author": {
|
|
7
7
|
"website": "https://harlanzw.com",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@nuxt/devtools-kit": "^1.
|
|
44
|
-
"@nuxt/devtools-ui-kit": "^1.
|
|
43
|
+
"@nuxt/devtools-kit": "^1.3.1",
|
|
44
|
+
"@nuxt/devtools-ui-kit": "^1.3.1",
|
|
45
45
|
"@nuxt/kit": "^3.11.2",
|
|
46
46
|
"@types/google.maps": "^3.55.8",
|
|
47
47
|
"@types/stripe-v3": "^3.1.33",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"ofetch": "^1.3.4",
|
|
59
59
|
"ohash": "^1.1.3",
|
|
60
60
|
"pathe": "^1.1.2",
|
|
61
|
-
"pkg-types": "^1.1.
|
|
62
|
-
"semver": "^7.6.
|
|
63
|
-
"shiki": "^1.
|
|
61
|
+
"pkg-types": "^1.1.1",
|
|
62
|
+
"semver": "^7.6.2",
|
|
63
|
+
"shiki": "^1.5.1",
|
|
64
64
|
"sirv": "^2.0.4",
|
|
65
65
|
"std-env": "^3.7.0",
|
|
66
66
|
"third-party-capital": "^1.0.28",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@antfu/eslint-config": "2.16.1",
|
|
75
|
-
"@nuxt/devtools-ui-kit": "^1.
|
|
75
|
+
"@nuxt/devtools-ui-kit": "^1.3.1",
|
|
76
76
|
"@nuxt/module-builder": "^0.6.0",
|
|
77
77
|
"@nuxt/test-utils": "3.12.1",
|
|
78
78
|
"@unhead/schema": "^1.9.10",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=Object.freeze({displayName:"HashiCorp HCL",fileTypes:["hcl"],name:"hcl",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}],repository:{attribute_access:{begin:"\\.(?!\\*)",beginCaptures:{0:{name:"keyword.operator.accessor.hcl"}},comment:"Matches traversal attribute access such as .attr",end:"[[:alpha:]][\\w-]*|\\d*",endCaptures:{0:{patterns:[{comment:"Attribute name",match:"(?!null|false|true)[[:alpha:]][\\w-]*",name:"variable.other.member.hcl"},{comment:"Optional attribute index",match:"\\d+",name:"constant.numeric.integer.hcl"}]}}},attribute_definition:{captures:{1:{name:"punctuation.section.parens.begin.hcl"},2:{name:"variable.other.readwrite.hcl"},3:{name:"punctuation.section.parens.end.hcl"},4:{name:"keyword.operator.assignment.hcl"}},comment:'Identifier "=" with optional parens',match:"(\\()?(\\b(?!null\\b|false\\b|true\\b)[[:alpha:]][[:alnum:]_-]*)(\\))?\\s*(\\=(?!\\=|\\>))\\s*",name:"variable.declaration.hcl"},attribute_splat:{begin:"\\.",beginCaptures:{0:{name:"keyword.operator.accessor.hcl"}},comment:"Legacy attribute-only splat",end:"\\*",endCaptures:{0:{name:"keyword.operator.splat.hcl"}}},block:{begin:"([\\w][\\-\\w]*)([^?{\\r\\n]*)(\\{)",beginCaptures:{1:{patterns:[{comment:"Block type",match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"entity.name.type.hcl"}]},2:{patterns:[{comment:"Block label (String Literal)",match:'\\"[^\\"\\r\\n]*\\"',name:"variable.other.enummember.hcl"},{comment:"Block label (Indentifier)",match:"[[:alpha:]][[:alnum:]_-]*",name:"variable.other.enummember.hcl"}]},3:{name:"punctuation.section.block.begin.hcl"}},comment:'This will match HCL blocks like `thing1 "one" "two" {` or `thing2 {`',end:"\\}",endCaptures:{0:{name:"punctuation.section.block.end.hcl"}},name:"meta.block.hcl",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#expressions"},{include:"#block"}]},block_inline_comments:{begin:"/\\*",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Inline comments start with the /* sequence and end with the */ sequence, and may have any characters within except the ending sequence. An inline comment is considered equivalent to a whitespace sequence",end:"\\*/",name:"comment.block.hcl"},brackets:{begin:"\\[",beginCaptures:{0:{name:"punctuation.section.brackets.begin.hcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.brackets.end.hcl"}},patterns:[{comment:"Splat operator",match:"\\*",name:"keyword.operator.splat.hcl"},{include:"#comma"},{include:"#comments"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{include:"#expressions"},{include:"#local_identifiers"}]},char_escapes:{comment:"Character Escapes",match:'\\\\[nrt"\\\\]|\\\\u(\\h{8}|\\h{4})',name:"constant.character.escape.hcl"},comma:{comment:"Commas - used in certain expressions",match:"\\,",name:"punctuation.separator.hcl"},comments:{patterns:[{include:"#hash_line_comments"},{include:"#double_slash_line_comments"},{include:"#block_inline_comments"}]},double_slash_line_comments:{begin:"//",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with // sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:"$\\n?",name:"comment.line.double-slash.hcl"},expressions:{patterns:[{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#brackets"},{include:"#objects"},{include:"#attribute_access"},{include:"#attribute_splat"},{include:"#functions"},{include:"#parens"}]},for_expression_body:{patterns:[{comment:"in keyword",match:"\\bin\\b",name:"keyword.operator.word.hcl"},{comment:"if keyword",match:"\\bif\\b",name:"keyword.control.conditional.hcl"},{match:"\\:",name:"keyword.operator.hcl"},{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},functions:{begin:"([:\\-\\w]+)(\\()",beginCaptures:{1:{patterns:[{match:"\\b[[:alpha:]][\\w_-]*::([[:alpha:]][\\w_-]*::)?[[:alpha:]][\\w_-]*\\b",name:"support.function.namespaced.hcl"},{match:"\\b[[:alpha:]][\\w_-]*\\b",name:"support.function.builtin.hcl"}]},2:{name:"punctuation.section.parens.begin.hcl"}},comment:"Built-in function calls",end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.hcl"}},name:"meta.function-call.hcl",patterns:[{include:"#comments"},{include:"#expressions"},{include:"#comma"}]},hash_line_comments:{begin:"#",captures:{0:{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with # sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:"$\\n?",name:"comment.line.number-sign.hcl"},hcl_type_keywords:{comment:"Type keywords known to HCL.",match:"\\b(any|string|number|bool|list|set|map|tuple|object)\\b",name:"storage.type.hcl"},heredoc:{begin:"(\\<\\<\\-?)\\s*(\\w+)\\s*$",beginCaptures:{1:{name:"keyword.operator.heredoc.hcl"},2:{name:"keyword.control.heredoc.hcl"}},comment:"String Heredoc",end:"^\\s*\\2\\s*$",endCaptures:{0:{name:"keyword.control.heredoc.hcl"}},name:"string.unquoted.heredoc.hcl",patterns:[{include:"#string_interpolation"}]},inline_for_expression:{captures:{1:{name:"keyword.control.hcl"},2:{patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"},{include:"#for_expression_body"}]}},match:"(for)\\b(.*)\\n"},inline_if_expression:{begin:"(if)\\b",beginCaptures:{1:{name:"keyword.control.conditional.hcl"}},end:"\\n",patterns:[{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},language_constants:{comment:"Language Constants",match:"\\b(true|false|null)\\b",name:"constant.language.hcl"},literal_values:{patterns:[{include:"#numeric_literals"},{include:"#language_constants"},{include:"#string_literals"},{include:"#heredoc"},{include:"#hcl_type_keywords"}]},local_identifiers:{comment:"Local Identifiers",match:"\\b(?!null|false|true)[[:alpha:]][[:alnum:]_-]*\\b",name:"variable.other.readwrite.hcl"},numeric_literals:{patterns:[{captures:{1:{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, no fraction, optional exponent",match:"\\b\\d+([Ee][+-]?)\\d+\\b",name:"constant.numeric.float.hcl"},{captures:{1:{name:"punctuation.separator.decimal.hcl"},2:{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, fraction, optional exponent",match:"\\b\\d+(\\.)\\d+(?:([Ee][+-]?)\\d+)?\\b",name:"constant.numeric.float.hcl"},{comment:"Integers",match:"\\b\\d+\\b",name:"constant.numeric.integer.hcl"}]},object_for_expression:{begin:"(\\{)\\s?(for)\\b",beginCaptures:{1:{name:"punctuation.section.braces.begin.hcl"},2:{name:"keyword.control.hcl"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.braces.end.hcl"}},patterns:[{match:"\\=\\>",name:"storage.type.function.hcl"},{include:"#for_expression_body"}]},object_key_values:{patterns:[{include:"#comments"},{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#heredoc"},{include:"#functions"}]},objects:{begin:"\\{",beginCaptures:{0:{name:"punctuation.section.braces.begin.hcl"}},end:"\\}",endCaptures:{0:{name:"punctuation.section.braces.end.hcl"}},name:"meta.braces.hcl",patterns:[{include:"#comments"},{include:"#objects"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{captures:{1:{name:"meta.mapping.key.hcl variable.other.readwrite.hcl"},2:{name:"keyword.operator.assignment.hcl"}},comment:"Literal, named object key",match:"\\b((?!null|false|true)[[:alpha:]][[:alnum:]_-]*)\\s*(\\=(?!=))\\s*"},{captures:{1:{name:"meta.mapping.key.hcl string.quoted.double.hcl"},2:{name:"punctuation.definition.string.begin.hcl"},3:{name:"punctuation.definition.string.end.hcl"},4:{name:"keyword.operator.hcl"}},comment:"String object key",match:'^\\s*((").*("))\\s*(\\=)\\s*'},{begin:"^\\s*\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.hcl"}},comment:"Computed object key (any expression between parens)",end:"(\\))\\s*(=|:)\\s*",endCaptures:{1:{name:"punctuation.section.parens.end.hcl"},2:{name:"keyword.operator.hcl"}},name:"meta.mapping.key.hcl",patterns:[{include:"#attribute_access"},{include:"#attribute_splat"}]},{include:"#object_key_values"}]},operators:{patterns:[{match:"\\>\\=",name:"keyword.operator.hcl"},{match:"\\<\\=",name:"keyword.operator.hcl"},{match:"\\=\\=",name:"keyword.operator.hcl"},{match:"\\!\\=",name:"keyword.operator.hcl"},{match:"\\+",name:"keyword.operator.arithmetic.hcl"},{match:"\\-",name:"keyword.operator.arithmetic.hcl"},{match:"\\*",name:"keyword.operator.arithmetic.hcl"},{match:"\\/",name:"keyword.operator.arithmetic.hcl"},{match:"\\%",name:"keyword.operator.arithmetic.hcl"},{match:"\\&\\&",name:"keyword.operator.logical.hcl"},{match:"\\|\\|",name:"keyword.operator.logical.hcl"},{match:"\\!",name:"keyword.operator.logical.hcl"},{match:"\\>",name:"keyword.operator.hcl"},{match:"\\<",name:"keyword.operator.hcl"},{match:"\\?",name:"keyword.operator.hcl"},{match:"\\.\\.\\.",name:"keyword.operator.hcl"},{match:"\\:",name:"keyword.operator.hcl"},{match:"\\=\\>",name:"keyword.operator.hcl"}]},parens:{begin:"\\(",beginCaptures:{0:{name:"punctuation.section.parens.begin.hcl"}},comment:"Parens - matched *after* function syntax",end:"\\)",endCaptures:{0:{name:"punctuation.section.parens.end.hcl"}},patterns:[{include:"#comments"},{include:"#expressions"}]},string_interpolation:{begin:"(?<![%$])([%$]{)",beginCaptures:{1:{name:"keyword.other.interpolation.begin.hcl"}},comment:"String interpolation",end:"\\}",endCaptures:{0:{name:"keyword.other.interpolation.end.hcl"}},name:"meta.interpolation.hcl",patterns:[{comment:"Trim left whitespace",match:"\\~\\s",name:"keyword.operator.template.left.trim.hcl"},{comment:"Trim right whitespace",match:"\\s\\~",name:"keyword.operator.template.right.trim.hcl"},{comment:"if/else/endif and for/in/endfor directives",match:"\\b(if|else|endif|for|in|endfor)\\b",name:"keyword.control.hcl"},{include:"#expressions"},{include:"#local_identifiers"}]},string_literals:{begin:'"',beginCaptures:{0:{name:"punctuation.definition.string.begin.hcl"}},comment:"Strings",end:'"',endCaptures:{0:{name:"punctuation.definition.string.end.hcl"}},name:"string.quoted.double.hcl",patterns:[{include:"#string_interpolation"},{include:"#char_escapes"}]},tuple_for_expression:{begin:"(\\[)\\s?(for)\\b",beginCaptures:{1:{name:"punctuation.section.brackets.begin.hcl"},2:{name:"keyword.control.hcl"}},end:"\\]",endCaptures:{0:{name:"punctuation.section.brackets.end.hcl"}},patterns:[{include:"#for_expression_body"}]}},scopeName:"source.hcl"});var n=[e];export{n as default};
|