Browse Source

updated the proxies

pull/14514/head
malik masis 4 years ago
parent
commit
9c73272489
  1. 5
      modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi.Client/ClientProxies/FeaturesClientProxy.Generated.cs
  2. 17
      modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi.Client/ClientProxies/featureManagement-generate-proxy.json
  3. 8
      modules/feature-management/src/Volo.Abp.FeatureManagement.Web/wwwroot/client-proxies/featureManagement-proxy.js

5
modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi.Client/ClientProxies/FeaturesClientProxy.Generated.cs

@ -33,4 +33,9 @@ public partial class FeaturesClientProxy : ClientProxyBase<IFeatureAppService>,
{ typeof(UpdateFeaturesDto), input } { typeof(UpdateFeaturesDto), input }
}); });
} }
public virtual async Task ResetToDefaultAsync()
{
await RequestAsync(nameof(ResetToDefaultAsync));
}
} }

17
modules/feature-management/src/Volo.Abp.FeatureManagement.HttpApi.Client/ClientProxies/featureManagement-generate-proxy.json

@ -7,6 +7,8 @@
"Volo.Abp.FeatureManagement.FeaturesController": { "Volo.Abp.FeatureManagement.FeaturesController": {
"controllerName": "Features", "controllerName": "Features",
"controllerGroupName": "Features", "controllerGroupName": "Features",
"isRemoteService": true,
"apiVersion": null,
"type": "Volo.Abp.FeatureManagement.FeaturesController", "type": "Volo.Abp.FeatureManagement.FeaturesController",
"interfaces": [ "interfaces": [
{ {
@ -147,6 +149,21 @@
}, },
"allowAnonymous": null, "allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService" "implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
},
"ResetToDefaultAsync": {
"uniqueName": "ResetToDefaultAsync",
"name": "ResetToDefaultAsync",
"httpMethod": null,
"url": "api/feature-management/features",
"supportedVersions": [],
"parametersOnMethod": [],
"parameters": [],
"returnValue": {
"type": "System.Void",
"typeSimple": "System.Void"
},
"allowAnonymous": null,
"implementFrom": "Volo.Abp.FeatureManagement.IFeatureAppService"
} }
} }
} }

8
modules/feature-management/src/Volo.Abp.FeatureManagement.Web/wwwroot/client-proxies/featureManagement-proxy.js

@ -27,6 +27,14 @@
}, ajaxParams)); }, ajaxParams));
}; };
volo.abp.featureManagement.features.resetToDefault = function(ajaxParams) {
return abp.ajax($.extend(true, {
url: abp.appPath + 'api/feature-management/features',
type: 'POST',
dataType: null
}, ajaxParams));
};
})(); })();
})(); })();

Loading…
Cancel
Save