UNPKG

@hsui/sdk

Version:

Hundsun frontend framework JSSDK

37 lines 579 B
export var ajaxSchema = { type: 'object', properties: { url: { type: 'string', required: true }, method: { type: 'string', enum: ['get', 'post'] }, data: { type: ['string', 'number', 'object'] }, timeout: { type: 'number' }, headers: { type: 'object' } } }; export var storageSchema = { type: 'object', properties: { key: { type: 'string', required: true }, value: { type: ['string', 'number', 'object'] }, scope: { type: 'string' } } };