2023-03-14 13:18:55 +00:00
|
|
|
/**
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
*/
|
|
|
|
|
2018-10-19 15:17:02 +00:00
|
|
|
import Serializer from './application';
|
2019-12-17 16:16:43 +00:00
|
|
|
import { PRIMARY_KEY, SLUG_KEY } from 'consul-ui/models/policy';
|
2018-10-19 15:17:02 +00:00
|
|
|
|
2020-11-09 17:29:12 +00:00
|
|
|
export default class PolicySerializer extends Serializer {
|
|
|
|
primaryKey = PRIMARY_KEY;
|
|
|
|
slugKey = SLUG_KEY;
|
|
|
|
}
|