mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-28 17:14:56 +00:00
add ACME related data models
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
25680ef503
commit
c0acd78475
@ -15,6 +15,8 @@ JSSRC= \
|
||||
data/RRDStore.js \
|
||||
data/TimezoneStore.js \
|
||||
data/model/Realm.js \
|
||||
data/model/Certificates.js \
|
||||
data/model/ACME.js \
|
||||
form/DisplayEdit.js \
|
||||
form/ExpireDate.js \
|
||||
form/IntegerField.js \
|
||||
|
27
src/data/model/ACME.js
Normal file
27
src/data/model/ACME.js
Normal file
@ -0,0 +1,27 @@
|
||||
Ext.define('proxmox-acme-accounts', {
|
||||
extend: 'Ext.data.Model',
|
||||
fields: ['name'],
|
||||
proxy: {
|
||||
type: 'proxmox',
|
||||
},
|
||||
idProperty: 'name',
|
||||
});
|
||||
|
||||
Ext.define('proxmox-acme-challenges', {
|
||||
extend: 'Ext.data.Model',
|
||||
fields: ['id', 'type', 'schema'],
|
||||
proxy: {
|
||||
type: 'proxmox',
|
||||
},
|
||||
idProperty: 'id',
|
||||
});
|
||||
|
||||
|
||||
Ext.define('proxmox-acme-plugins', {
|
||||
extend: 'Ext.data.Model',
|
||||
fields: ['type', 'plugin', 'api'],
|
||||
proxy: {
|
||||
type: 'proxmox',
|
||||
},
|
||||
idProperty: 'plugin',
|
||||
});
|
6
src/data/model/Certificates.js
Normal file
6
src/data/model/Certificates.js
Normal file
@ -0,0 +1,6 @@
|
||||
Ext.define('proxmox-certificate', {
|
||||
extend: 'Ext.data.Model',
|
||||
|
||||
fields: ['filename', 'fingerprint', 'issuer', 'notafter', 'notbefore', 'subject', 'san', 'public-key-bits', 'public-key-type'],
|
||||
idProperty: 'filename',
|
||||
});
|
Loading…
Reference in New Issue
Block a user