File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: azure-search-openai-javascript
44metadata :
55 template : azure-search-openai-javascript@1.0.0
66requiredVersions :
7- azd : " >= 1.10.0"
7+ azd : ' >= 1.10.0'
88
99services :
1010 webapp :
Original file line number Diff line number Diff line change @@ -9,13 +9,12 @@ import { type SchemaTypes } from '../plugins/schemas.js';
99const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
1010
1111const root : FastifyPluginAsync = async ( _fastify , _options ) : Promise < void > => {
12- const fastify =
13- _fastify . withTypeProvider <
14- JsonSchemaToTsProvider < {
15- ValidatorSchemaOptions : { references : SchemaTypes } ;
16- SerializerSchemaOptions : { references : SchemaTypes } ;
17- } >
18- > ( ) ;
12+ const fastify = _fastify . withTypeProvider <
13+ JsonSchemaToTsProvider < {
14+ ValidatorSchemaOptions : { references : SchemaTypes } ;
15+ SerializerSchemaOptions : { references : SchemaTypes } ;
16+ } >
17+ > ( ) ;
1918
2019 fastify . get ( '/' , async function ( _request , _reply ) {
2120 const packageJson = JSON . parse ( await fs . readFile ( path . join ( __dirname , '../../package.json' ) , 'utf8' ) ) ;
Original file line number Diff line number Diff line change 11{
22 "files" : [],
3- "references" : [
4- { "path" : " ./tsconfig.app.json" },
5- { "path" : " ./tsconfig.node.json" }
6- ]
3+ "references" : [{ "path" : " ./tsconfig.app.json" }, { "path" : " ./tsconfig.node.json" }]
74}
You can’t perform that action at this time.
0 commit comments