serverless/test/fixtures/programmatic/configSchemaExtensionsError/test-plugin-with-colliding-function-property.js
2021-04-09 16:10:21 +02:00

22 lines
504 B
JavaScript

'use strict';
class TestPluginWithCollidingFunctionEventPropertyError {
constructor(serverless) {
serverless.configSchemaHandler.defineProvider('someProvider', {
function: {
properties: {
handler: { type: 'string' },
},
},
});
serverless.configSchemaHandler.defineFunctionProperties('someProvider', {
properties: {
handler: { type: 'string' },
},
});
}
}
module.exports = TestPluginWithCollidingFunctionEventPropertyError;