This commit is contained in:
2023-03-20 16:20:33 +00:00
parent 514c3ac3f6
commit 8c7d6421f5
2288 changed files with 712 additions and 73769 deletions
@@ -180,6 +180,28 @@ var Unibase;
});
});
}
appUniqueId(uniqueid) {
return __awaiter(this, void 0, void 0, function* () {
const url = 'apis/v4/unibase/platform/apps/getappuniqueid/appuniqueid/' + uniqueid;
return yield this.dataHelper().getAsync(url).then(function (response) {
if (response.result != null && response.result != "") {
response.result = JSON.parse(response.result);
}
return response;
});
});
}
getUniqueId(uniqueid) {
return __awaiter(this, void 0, void 0, function* () {
const url = 'apis/v4/unibase/platform/apps/getuniqueid/uniqueid/' + uniqueid;
return yield this.dataHelper().getAsync(url).then(function (response) {
if (response.result != null && response.result != "") {
response.result = JSON.parse(response.result);
}
return response;
});
});
}
getDocumentFileId(documentid) {
return __awaiter(this, void 0, void 0, function* () {
const url = 'apis/v4/unibase/platform/apps/getdocumentfileid/id/' + documentid;
@@ -537,6 +559,17 @@ var Unibase;
});
});
}
saveLatestVersionFromC02(obj) {
return __awaiter(this, void 0, void 0, function* () {
var url = "apis/v4/unibase/platform/apps/upgradeversionsave";
return yield this.dataHelper().postAsync(url, obj).then(function (response) {
if (response.result != null) {
response.result = JSON.parse(response.result);
}
return response;
});
});
}
upgradeApp(installedappid, versionno) {
return __awaiter(this, void 0, void 0, function* () {
var url = "apis/v4/unibase/platform/apps/upgradeappversion/installedappid/" + installedappid + "/versionno/" + versionno;
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
{"version":3,"file":"iappmanager.js","sourceRoot":"","sources":["iappmanager.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
{"version":3,"file":"ipartitionmanager.js","sourceRoot":"","sources":["ipartitionmanager.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
{"version":3,"file":"istagemanager.js","sourceRoot":"","sources":["istagemanager.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
{"version":3,"file":"partitionmanager.js","sourceRoot":"","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AC1B,CAAC;iBAEJ;gBAxBY,yBAAgB,mBAwB5B,CAAA;YAEL,CAAC,EA3BgB,QAAQ,GAAR,aAAQ,KAAR,aAAQ,QA2BxB;QACL,CAAC,EA7BgB,IAAI,GAAJ,aAAI,KAAJ,aAAI,QA6BpB;IACL,CAAC,EA/BgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QA+BxB;AACL,CAAC,EAjCS,OAAO,KAAP,OAAO,QAiChB"}
@@ -1 +0,0 @@
var __awaiter=this&&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})},Unibase;(function(n){let t;(function(n){let t;(function(t){let i;(function(t){class i extends n.Core.BaseManager{createPartitionTables(n){return __awaiter(this,void 0,void 0,function*(){const t="apis/v4/unibase/platform/partitions/createpartitiontables/partitionid/"+n;return yield this.dataHelper().postAsync(t,null).then(function(n){return n.result!==null&&(n.result=JSON.parse(n.result)),n})})}refreshAllPartitions(){return __awaiter(this,void 0,void 0,function*(){return yield this.dataHelper().postAsync("apis/v4/unibase/platform/partitions/refreshallpartitions/np",null).then(function(n){return n.result!==null&&(n.result=JSON.parse(n.result)),n})})}static Instance(){return this._instance===undefined&&(this._instance=new i),this._instance}}t.PartitionManager=i})(i=t.Managers||(t.Managers={}))})(t=n.Apps||(n.Apps={}))})(t=n.Platform||(n.Platform={}))})(Unibase||(Unibase={}));
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long