feat: [8920] Define explicit type for filter; Add SecureTemplater tests

Signed-off-by: David Zemon <david@zemon.name>
This commit is contained in:
David Zemon
2022-01-21 09:37:59 -06:00
parent af6b692cb3
commit a5600dba15
3 changed files with 36 additions and 1 deletions
+1 -1
View File
@@ -22,5 +22,5 @@
export * from './scaffolder';
export * from './service/router';
export * from './lib/catalog';
export * from './lib';
export * from './processor';
@@ -0,0 +1,18 @@
/*
* Copyright 2022 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export * from './catalog';
export * from './templating';
@@ -0,0 +1,17 @@
/*
* Copyright 2022 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export type { NunjucksFilter } from './SecureTemplater';