feat: add interface for Volo.Abp.NameValue as constant

pull/5209/head
Arman Ozak 5 years ago
parent 53defa8c72
commit c1207c25b4

@ -1 +1,22 @@
import { Interface, Property } from '../models';
export const VOLO_REGEX = /^Volo\.Abp\.(Application\.Dtos|ObjectExtending)/;
export const VOLO_NAME_VALUE = new Interface({
base: null,
identifier: 'NameValue',
ref: 'Volo.Abp.NameValue',
namespace: 'Volo.Abp',
properties: [
new Property({
name: 'Name',
type: 'string',
refs: ['System.String'],
}),
new Property({
name: 'Value',
type: 'string',
refs: ['System.String'],
}),
],
});

Loading…
Cancel
Save