consul/ui/packages/consul-ui/app/services/schema.js

16 lines
675 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Service from '@ember/service';
import { schema as intentionPermissionSchema } from 'consul-ui/models/intention-permission';
import { schema as intentionPermissionHttpSchema } from 'consul-ui/models/intention-permission-http';
import { schema as intentionPermissionHttpHeaderSchema } from 'consul-ui/models/intention-permission-http-header';
export default class SchemaService extends Service {
'intention-permission' = intentionPermissionSchema;
'intention-permission-http' = intentionPermissionHttpSchema;
'intention-permission-http-header' = intentionPermissionHttpHeaderSchema;
}