trabajo-afectivo/public/assets/app/models/application-2b9c5be9e31b544886625b8b55de2b7525cd3c47fce20bdfb7801b28d5e6ac8c.js
2022-04-14 16:34:36 -03:00

2 lines
No EOL
4.7 KiB (Stored with Git LFS)
JavaScript

(function(){var a=function(e,t){function a(){this.constructor=e}for(var n in t)i.call(t,n)&&(e[n]=t[n]);return a.prototype=t.prototype,e.prototype=new a,e.__super__=t.prototype,e},i={}.hasOwnProperty;App.Application=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return a(t,e),t.configure("Application","name","redirect_uri"),t.extend(Spine.Model.Ajax),t.url=t.apiPath+"/applications",t.configure_attributes=[{name:"name",display:"Name",tag:"input",type:"text",limit:100,"null":!1},{name:"redirect_uri",display:"Callback URL",tag:"textarea",limit:250,"null":!1,note:"Use one line per URI"},{name:"clients",display:"Clients",tag:"input",readonly:1},{name:"created_at",display:"Created",tag:"datetime",readonly:1},{name:"updated_at",display:"Updated",tag:"datetime",readonly:1}],t.configure_overview=["name","redirect_uri","clients"],t.configure_delete=!0,t}(App.Model)}).call(this);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm51bGwiXSwibmFtZXMiOlsiZXh0ZW5kIiwiY2hpbGQiLCJwYXJlbnQiLCJjdG9yIiwidGhpcyIsImNvbnN0cnVjdG9yIiwia2V5IiwiaGFzUHJvcCIsImNhbGwiLCJwcm90b3R5cGUiLCJfX3N1cGVyX18iLCJoYXNPd25Qcm9wZXJ0eSIsIkFwcCIsIkFwcGxpY2F0aW9uIiwic3VwZXJDbGFzcyIsImFwcGx5IiwiYXJndW1lbnRzIiwiY29uZmlndXJlIiwiU3BpbmUiLCJNb2RlbCIsIkFqYXgiLCJ1cmwiLCJhcGlQYXRoIiwiY29uZmlndXJlX2F0dHJpYnV0ZXMiLCJuYW1lIiwiZGlzcGxheSIsInRhZyIsInR5cGUiLCJsaW1pdCIsIm51bGwiLCJub3RlIiwicmVhZG9ubHkiLCJ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