Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • User Account User Account
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • m4lab_tv1
  • User AccountUser Account
  • Merge requests
  • !151

Mlab 667

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rosanny Sihombing requested to merge MLAB-667 into testing 2 years ago
  • Overview 0
  • Commits 4
  • Pipelines 0
  • Changes 401
  • Rosanny Sihombing @sihombing mentioned in commit 8bdf5627 2 years ago

    mentioned in commit 8bdf5627

  • Rosanny Sihombing @sihombing merged 2 years ago

    merged

  • Loading
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • testing (base)

and
  • latest version
    cf9f5af3
    4 commits, 2 years ago

401+ files
+ 81228
- 117

    Preferences

    File browser
    Compare changes

Too many changes to show.

To preserve performance only 401 of 401+ files are displayed.
Plain diff Email patch
__t‎ests‎
db.unit‎.test.js‎ +0 -50
gitlab.un‎it.test.js‎ +0 -36
public.endp‎oint.test.js‎ +0 -16
bu‎ilt‎
cla‎sses‎
proje‎ct.js‎ +3 -0
rep‎o.js‎ +1 -0
use‎r.js‎ +7 -0
websi‎te.js‎ +1 -0
con‎fig‎
conf‎ig.js‎ +22 -0
cons‎t.js‎ +1 -0
dbco‎nn.js‎ +2 -0
mail‎er.js‎ +1 -0
contr‎oller‎
dbContr‎oller.js‎ +14 -0
gitlabCon‎troller.js‎ +2 -0
publicCon‎troller.js‎ +9 -0
pub‎lic‎
def‎ault‎
logo‎.png‎ +0 -0
j‎s‎
generalFu‎nction.js‎ +0 -0
headf‎oot.js‎ +0 -0
headfoot‎Logout.js‎ +0 -0
registr‎ation.js‎ +0 -0
secur‎ity.js‎ +0 -0
rou‎tes‎
ce‎rt‎
cert‎.pem‎ +0 -0
cert_i‎dp.pem‎ +0 -0
key‎.pem‎ +0 -0
accou‎nt.js‎ +12 -0
publ‎ic.js‎ +7 -0
vi‎ews‎
D‎E‎
acc‎ount‎
conta‎ct.pug‎ +0 -0
forgot‎Pwd.pug‎ +0 -0
home‎.pug‎ +0 -0
newInform‎ation.pug‎ +0 -0
profi‎le.pug‎ +0 -0
registra‎tion.pug‎ +0 -0
rese‎t.pug‎ +0 -0
securi‎ty.pug‎ +0 -0
servic‎es.pug‎ +0 -0
updateInfo‎rmation.pug‎ +0 -0
verifica‎tion.pug‎ +0 -0
pro‎ject‎
updateProjec‎tOverview.pug‎ +0 -0
404‎.pug‎ +0 -0
500‎.pug‎ +0 -0
E‎N‎
acc‎ount‎
forgot‎Pwd.pug‎ +0 -0
home‎.pug‎ +0 -0
profi‎le.pug‎ +0 -0
registra‎tion.pug‎ +0 -0
rese‎t.pug‎ +0 -0
securi‎ty.pug‎ +0 -0
servic‎es.pug‎ +0 -0
404‎.pug‎ +0 -0
500‎.pug‎ +0 -0
app‎.js‎ +7 -0
node_m‎odules‎
.b‎in‎
_mo‎cha‎ +12 -0
_moch‎a.cmd‎ +17 -0
_moch‎a.ps1‎ +28 -0
h‎e‎ +12 -0
he.‎cmd‎ +17 -0
he.‎ps1‎ +28 -0
mi‎me‎ +12 -0
mime‎.cmd‎ +17 -0
mime‎.ps1‎ +28 -0
mkd‎irp‎ +12 -0
mkdir‎p.cmd‎ +17 -0
mkdir‎p.ps1‎ +28 -0
mo‎cha‎ +12 -0
moch‎a.cmd‎ +17 -0
moch‎a.ps1‎ +28 -0
par‎ser‎ +12 -0
parse‎r.cmd‎ +17 -0
parse‎r.ps1‎ +28 -0
@ba‎bel‎
helper-valida‎tor-identifier‎
l‎ib‎
identi‎fier.js‎ +84 -0
inde‎x.js‎ +57 -0
keywo‎rd.js‎ +38 -0
scr‎ipts‎
generate-ident‎ifier-regex.js‎ +75 -0
LIC‎ENSE‎ +22 -0
READ‎ME.md‎ +19 -0
packag‎e.json‎ +28 -0
par‎ser‎
b‎in‎
babel-p‎arser.js‎ +15 -0
l‎ib‎
inde‎x.js‎ +16667 -0
index.‎js.map‎ +1 -0
typ‎ings‎
babel-pa‎rser.d.ts‎ +214 -0
CHANGE‎LOG.md‎ +1073 -0
LIC‎ENSE‎ +19 -0
READ‎ME.md‎ +19 -0
packag‎e.json‎ +44 -0
ty‎pes‎
l‎ib‎
ass‎erts‎
gene‎rated‎
inde‎x.js‎ +1522 -0
assert‎Node.js‎ +17 -0
ast-types‎/generated‎
inde‎x.js‎ +0 -0
buil‎ders‎
fl‎ow‎
createFlowU‎nionType.js‎ +20 -0
createTypeAnnotati‎onBasedOnTypeof.js‎ +41 -0
gene‎rated‎
inde‎x.js‎ +2227 -0
upperc‎ase.js‎ +1519 -0
re‎act‎
buildChi‎ldren.js‎ +29 -0
types‎cript‎
createTSUn‎ionType.js‎ +21 -0
validat‎eNode.js‎ +20 -0
cl‎one‎
clon‎e.js‎ +12 -0
cloneD‎eep.js‎ +12 -0
cloneDeepWi‎thoutLoc.js‎ +12 -0
cloneN‎ode.js‎ +120 -0
cloneWith‎outLoc.js‎ +12 -0
comm‎ents‎
addCom‎ment.js‎ +15 -0
addComm‎ents.js‎ +23 -0
inheritInne‎rComments.js‎ +12 -0
inheritLeadi‎ngComments.js‎ +12 -0
inheritTraili‎ngComments.js‎ +12 -0
inheritsC‎omments.js‎ +19 -0
removeCo‎mments.js‎ +16 -0
cons‎tants‎
gene‎rated‎
inde‎x.js‎ +107 -0
inde‎x.js‎ +49 -0
conve‎rters‎
ensureB‎lock.js‎ +14 -0
gatherSequence‎Expressions.js‎ +75 -0
toBindingIden‎tifierName.js‎ +14 -0
toBlo‎ck.js‎ +34 -0
toComput‎edKey.js‎ +15 -0
toExpre‎ssion.js‎ +33 -0
toIdent‎ifier.js‎ +30 -0
toKeyA‎lias.js‎ +46 -0
toSequenceE‎xpression.js‎ +21 -0
toState‎ment.js‎ +47 -0
valueTo‎Node.js‎ +99 -0
defin‎itions‎
cor‎e.js‎ +1658 -0
experim‎ental.js‎ +133 -0
flo‎w.js‎ +486 -0
inde‎x.js‎ +103 -0
jsx‎.js‎ +157 -0
mis‎c.js‎ +32 -0
placeho‎lders.js‎ +33 -0
typesc‎ript.js‎ +487 -0
util‎s.js‎ +343 -0
modifi‎cations‎
fl‎ow‎
removeTypeD‎uplicates.js‎ +78 -0
types‎cript‎
removeTypeD‎uplicates.js‎ +54 -0
appendToMembe‎rExpression.js‎ +15 -0
inher‎its.js‎ +33 -0
prependToMembe‎rExpression.js‎ +13 -0
removePro‎perties.js‎ +29 -0
removePrope‎rtiesDeep.js‎ +15 -0
retri‎evers‎
getBindingId‎entifiers.js‎ +105 -0
getOuterBindin‎gIdentifiers.js‎ +15 -0
trav‎erse‎
trave‎rse.js‎ +55 -0
travers‎eFast.js‎ +28 -0
ut‎ils‎
re‎act‎
cleanJSXElement‎LiteralChild.js‎ +47 -0
inher‎it.js‎ +12 -0
shallow‎Equal.js‎ +18 -0
valid‎ators‎
gene‎rated‎
inde‎x.js‎ +4827 -0
re‎act‎
isCompa‎tTag.js‎ +10 -0
isReactCo‎mponent.js‎ +12 -0
buildMatchMemb‎erExpression.js‎ +13 -0
is‎.js‎ +33 -0
isBind‎ing.js‎ +31 -0
isBlockS‎coped.js‎ +14 -0
isImmut‎able.js‎ +24 -0
isLe‎t.js‎ +14 -0
isNo‎de.js‎ +12 -0
isNodesEqu‎ivalent.js‎ +70 -0
isPlacehol‎derType.js‎ +21 -0
isRefer‎enced.js‎ +128 -0
isSco‎pe.js‎ +20 -0
isSpecifie‎rDefault.js‎ +14 -0
isTy‎pe.js‎ +24 -0
isValidES3I‎dentifier.js‎ +14 -0
isValidIde‎ntifier.js‎ +20 -0
isVa‎r.js‎ +16 -0
matchesP‎attern.js‎ +42 -0
valid‎ate.js‎ +32 -0
index-le‎gacy.d.ts‎ +2732 -0
index‎.d.ts‎ +2963 -0
inde‎x.js‎ +647 -0
index.‎js.flow‎ +2586 -0
scr‎ipts‎
gener‎ators‎
asser‎ts.js‎ +50 -0
ast-ty‎pes.js‎ +146 -0
build‎ers.js‎ +192 -0
consta‎nts.js‎ +15 -0
doc‎s.js‎ +283 -0
flo‎w.js‎ +260 -0
typescript‎-legacy.js‎ +369 -0
valida‎tors.js‎ +87 -0
ut‎ils‎
formatBuil‎derName.js‎ +8 -0
lowerF‎irst.js‎ +3 -0
stringifyV‎alidator.js‎ +66 -0
toFuncti‎onName.js‎ +4 -0
packag‎e.json‎ +1 -0
LIC‎ENSE‎ +22 -0
READ‎ME.md‎ +19 -0
packag‎e.json‎ +40 -0
@xmldom‎/xmldom‎
l‎ib‎
.eslin‎trc.yml‎ +2 -0
convent‎ions.js‎ +144 -0
dom-pa‎rser.js‎ +268 -0
dom‎.js‎ +1500 -0
entit‎ies.js‎ +273 -0
inde‎x.js‎ +4 -0
sax‎.js‎ +644 -0
CHANGE‎LOG.md‎ +328 -0
LIC‎ENSE‎ +8 -0
index‎.d.ts‎ +43 -0
packag‎e.json‎ +57 -0
read‎me.md‎ +338 -0
acc‎epts‎
HISTO‎RY.md‎ +236 -0
LIC‎ENSE‎ +23 -0
READ‎ME.md‎ +142 -0
inde‎x.js‎ +238 -0
packag‎e.json‎ +47 -0
array-‎flatten‎
LIC‎ENSE‎ +21 -0
READ‎ME.md‎ +43 -0
array-fl‎atten.js‎ +64 -0
packag‎e.json‎ +39 -0
as‎ap‎
CHANG‎ES.md‎ +70 -0
LICEN‎SE.md‎ +21 -0
READ‎ME.md‎ +237 -0
asa‎p.js‎ +65 -0
browser‎-asap.js‎ +66 -0
browser‎-raw.js‎ +223 -0
packag‎e.json‎ +58 -0
raw‎.js‎ +101 -0
assert‎-never‎
READ‎ME.md‎ +39 -0
index‎.d.ts‎ +27 -0
inde‎x.js‎ +35 -0
inde‎x.ts‎ +36 -0
packag‎e.json‎ +28 -0
asserti‎on-error‎
Histo‎ry.md‎ +24 -0
READ‎ME.md‎ +41 -0
index‎.d.ts‎ +11 -0
inde‎x.js‎ +116 -0
packag‎e.json‎ +29 -0
as‎ync‎
di‎st‎
asyn‎c.js‎ +6059 -0
async.‎min.js‎ +1 -0
asyn‎c.mjs‎ +5947 -0
inte‎rnal‎
DoublyLin‎kedList.js‎ +92 -0
Hea‎p.js‎ +120 -0
applyE‎ach.js‎ +29 -0
asyncEach‎OfLimit.js‎ +75 -0
await‎ify.js‎ +27 -0
breakL‎oop.js‎ +10 -0
console‎Func.js‎ +31 -0
createT‎ester.js‎ +40 -0
eachOfL‎imit.js‎ +90 -0
filt‎er.js‎ +55 -0
getIter‎ator.js‎ +11 -0
initialP‎arams.js‎ +14 -0
isArray‎Like.js‎ +10 -0
itera‎tor.js‎ +57 -0
map‎.js‎ +30 -0
onc‎e.js‎ +17 -0
onlyO‎nce.js‎ +15 -0
paral‎lel.js‎ +34 -0
promiseCa‎llback.js‎ +23 -0
queu‎e.js‎ +294 -0
rang‎e.js‎ +14 -0
reje‎ct.js‎ +26 -0
setImme‎diate.js‎ +34 -0
without‎Index.js‎ +10 -0
wrapAs‎ync.js‎ +34 -0
CHANGE‎LOG.md‎ +348 -0
LIC‎ENSE‎ +19 -0
READ‎ME.md‎ +59 -0
all‎.js‎ +119 -0
allLi‎mit.js‎ +46 -0
allSer‎ies.js‎ +45 -0
any‎.js‎ +122 -0
anyLi‎mit.js‎ +47 -0
anySer‎ies.js‎ +46 -0
appl‎y.js‎ +55 -0
applyE‎ach.js‎ +57 -0
applyEach‎Series.js‎ +37 -0
async‎ify.js‎ +118 -0
aut‎o.js‎ +333 -0
autoIn‎ject.js‎ +182 -0
bower‎.json‎ +17 -0
carg‎o.js‎ +63 -0
cargoQ‎ueue.js‎ +71 -0
compo‎se.js‎ +55 -0
conc‎at.js‎ +115 -0
concatL‎imit.js‎ +60 -0
concatS‎eries.js‎ +41 -0
const‎ant.js‎ +55 -0
dete‎ct.js‎ +96 -0
detectL‎imit.js‎ +48 -0
detectS‎eries.js‎ +47 -0
dir‎.js‎ +43 -0
doDur‎ing.js‎ +68 -0
doUnt‎il.js‎ +46 -0
doWhi‎lst.js‎ +68 -0
duri‎ng.js‎ +78 -0
eac‎h.js‎ +129 -0
eachLi‎mit.js‎ +50 -0
each‎Of.js‎ +185 -0
eachOfL‎imit.js‎ +47 -0
eachOfS‎eries.js‎ +39 -0
eachSe‎ries.js‎ +44 -0
ensureA‎sync.js‎ +67 -0
ever‎y.js‎ +119 -0
everyL‎imit.js‎ +46 -0
everySe‎ries.js‎ +45 -0
filt‎er.js‎ +93 -0
filterL‎imit.js‎ +45 -0
filterS‎eries.js‎ +43 -0
fin‎d.js‎ +96 -0
findLi‎mit.js‎ +48 -0
findSe‎ries.js‎ +47 -0
flatM‎ap.js‎ +115 -0
flatMap‎Limit.js‎ +60 -0
flatMapS‎eries.js‎ +41 -0
fold‎l.js‎ +153 -0
fold‎r.js‎ +41 -0
forEa‎ch.js‎ +129 -0
forEach‎Limit.js‎ +50 -0
forEac‎hOf.js‎ +185 -0
forEachO‎fLimit.js‎ +47 -0
forEachOf‎Series.js‎ +39 -0
forEachS‎eries.js‎ +44 -0
forev‎er.js‎ +68 -0
group‎By.js‎ +108 -0
groupBy‎Limit.js‎ +71 -0
groupByS‎eries.js‎ +36 -0
inde‎x.js‎ +588 -0
inje‎ct.js‎ +153 -0
log‎.js‎ +41 -0
map‎.js‎ +142 -0
mapLi‎mit.js‎ +45 -0
mapSer‎ies.js‎ +44 -0
mapVal‎ues.js‎ +152 -0
mapValue‎sLimit.js‎ +61 -0
mapValues‎Series.js‎ +37 -0
memoi‎ze.js‎ +91 -0
nextT‎ick.js‎ +52 -0
packag‎e.json‎ +75 -0
paral‎lel.js‎ +180 -0
parallel‎Limit.js‎ +41 -0
priority‎Queue.js‎ +86 -0
queu‎e.js‎ +167 -0
rac‎e.js‎ +67 -0
redu‎ce.js‎ +153 -0
reduceR‎ight.js‎ +41 -0
refle‎ct.js‎ +78 -0
reflec‎tAll.js‎ +93 -0
reje‎ct.js‎ +87 -0
rejectL‎imit.js‎ +45 -0
rejectS‎eries.js‎ +43 -0
retr‎y.js‎ +159 -0
retrya‎ble.js‎ +77 -0
sele‎ct.js‎ +93 -0
selectL‎imit.js‎ +45 -0
selectS‎eries.js‎ +43 -0
seq‎.js‎ +79 -0
seri‎es.js‎ +186 -0
setImme‎diate.js‎ +45 -0
som‎e.js‎ +122 -0
someLi‎mit.js‎ +47 -0
someSe‎ries.js‎ +46 -0
sort‎By.js‎ +190 -0
timeo‎ut.js‎ +89 -0
time‎s.js‎ +50 -0
timesL‎imit.js‎ +43 -0
timesSe‎ries.js‎ +32 -0
transf‎orm.js‎ +173 -0
tryEa‎ch.js‎ +78 -0
unmemo‎ize.js‎ +25 -0
unti‎l.js‎ +61 -0
waterf‎all.js‎ +105 -0
whil‎st.js‎ +78 -0
wrapS‎ync.js‎ +118 -0
asyn‎ckit‎
l‎ib‎
abor‎t.js‎ +29 -0
asyn‎c.js‎ +34 -0
defe‎r.js‎ +26 -0
itera‎te.js‎ +75 -0
readable_a‎synckit.js‎ +91 -0
readable_p‎arallel.js‎ +25 -0
readable_‎serial.js‎ +25 -0
readable_seri‎al_ordered.js‎ +29 -0
stat‎e.js‎ +37 -0
stream‎ify.js‎ +141 -0
termin‎ator.js‎ +29 -0
LIC‎ENSE‎ +21 -0
READ‎ME.md‎ +233 -0
benc‎h.js‎ +76 -0
inde‎x.js‎ +6 -0
packag‎e.json‎ +63 -0
paral‎lel.js‎ +43 -0
seri‎al.js‎ +17 -0
serialOr‎dered.js‎ +75 -0
stre‎am.js‎ +21 -0
ax‎ios‎
di‎st‎
axio‎s.js‎ +2193 -0
axio‎s.map‎ +1 -0
axios.‎min.js‎ +3 -0
axios.‎min.map‎ +1 -0
l‎ib‎
adap‎ters‎
READ‎ME.md‎ +37 -0
htt‎p.js‎ +331 -0
xhr‎.js‎ +189 -0
can‎cel‎
Canc‎el.js‎ +19 -0
CancelT‎oken.js‎ +57 -0
isCan‎cel.js‎ +5 -0
co‎re‎
Axio‎s.js‎ +148 -0
axio‎s.js‎ +56 -0
CHANGE‎LOG.md‎ +775 -0
LIC‎ENSE‎ +19 -0
READ‎ME.md‎ +868 -0
SECUR‎ITY.md‎ +5 -0
UPGRADE_‎GUIDE.md‎ +162 -0
index‎.d.ts‎ +168 -0
inde‎x.js‎ +1 -0
.package-‎lock.json‎ +1805 -0
.bab‎elrc‎ +0 -5
.giti‎gnore‎ +5 -3
.gitlab‎-ci.yml‎ +0 -3
jest.co‎nfig.js‎ +0 -4
__tests/db.unit.test.js deleted 100644 → 0
+ 0
- 50
  • View file @ de3756a3

const dbController = require('../../src/controller/dbController')
describe('DB methohds test', () => {
it('returns a user from DB by email', async () => {
const user = await dbController.getUserByEmail('litehon958@whipjoy.com')
expect(user).not.toBeNull()
})
it('returns a null user', async () => {
const user = await dbController.getUserByEmail('jondoe@nowhere.com') // a non-exist user
expect(user).toBeNull()
})
it("returns a user's email", async () => {
const email = await dbController.getUserEmailById(1)
expect(email).not.toBeNull()
})
it("returns null instead of a user's email", async () => {
const email = await dbController.getUserEmailById(1005) // no user has this ID
expect(email).toBeNull()
})
it('returns null from DB by token', async () => {
const user = await dbController.getUserByToken('12345678') // unvalid token
expect(user).toBeNull() // for valid token = expect(user).not.toBeNull()
})
it("returns a user's verification token, if any", async () => {
const token = await dbController.getVerificationTokenByUserId(1)
expect(token).toBeNull()
})
it("returns a user's ID, if any", async () => {
const token = await dbController.getUserIdByVerificationToken('12345678') // unvalid token
expect(token).toBeNull() // for valid token = expect(user).not.toBeNull()
})
it("returns a user's GitLab_ID, if any", async () => {
const id = await dbController.getGitlabId(1)
expect(id).not.toBeNull()
})
it('checks user email', async () => {
const user = await dbController.checkUserEmail('litehon958@whipjoy.com')
expect(user).not.toBeNull()
})
it('checks user email and return null', async () => {
const user = await dbController.checkUserEmail('jondoe@nowhere.com') // a non-exist user
expect(user).toBeNull()
})
})
__tests/gitlab.unit.test.js deleted 100644 → 0
+ 0
- 36
  • View file @ de3756a3

const gitlabController = require('../src/controller/gitlabController')
const axios = require('axios')
jest.mock('axios')
describe('GitLab API', () => {
test('returns an existing gitlab user by an email address', async () => {
axios.get.mockResolvedValue({
})
const user = await gitlabController.getUserByEmail('litehon958@whipjoy.com')
expect(user).not.toBeNull()
})
test('returns an undefined user', async () => {
const user = await gitlabController.getUserByEmail('johndoe@nowhere.com')
expect(user).toBeUndefined()
})
test('returns users project', async () => {
const userProjects = await gitlabController.getUserProjects(136)
expect(userProjects).toBeDefined()
})
test('returns undefined projects, due to non-existing gitlab user ID', async () => {
const userProjects = await gitlabController.getUserProjects(0)
expect(userProjects).toBeUndefined()
})
test('returns a project by ID', async () => {
const project = await gitlabController.getProjectById(13) // m4lab_landing_page
expect(project).toBeDefined()
})
test('returns undefined, due to invalid project ID', async () => {
const project = await gitlabController.getProjectById(0)
expect(project).toBeUndefined()
})
})
__tests/public.endpoint.test.js deleted 100644 → 0
+ 0
- 16
  • View file @ de3756a3

const request = require('supertest')
const express = require('express')
const app = express()
app.set('port', 9989)
describe('Test endpoint(s)', () => {
it('should return a 200 status code', () => {
request(app)
.get('/contact')
.expect(200)
.end(function (err, res) {
if (err) throw err
})
})
})
built/classes/project.js 0 → 100644
+ 3
- 0
  • View file @ cf9f5af3

  • Edit in single-file editor

  • Open in Web IDE

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Project=void 0;function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function _defineProperties(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}function _createClass(a,b,c){return b&&_defineProperties(a.prototype,b),c&&_defineProperties(a,c),Object.defineProperty(a,"prototype",{writable:!1}),a}var Project=/*#__PURE__*/function(){function a(b,c,d,e,f,g){_classCallCheck(this,a),this.ownerGitlabId=b,this.name=c,this.desc=d,this.id=e,this.logo=f,this.path=g}// getter
return _createClass(a,[{key:"getOwnerGitlabId",value:function getOwnerGitlabId(){return this.ownerGitlabId}},{key:"getId",value:function getId(){return this.id}},{key:"getName",value:function getName(){return this.name}},{key:"getDesc",value:function getDesc(){return this.desc}},{key:"getLogo",value:function getLogo(){return this.logo}},{key:"getPath",value:function getPath(){return this.path}// setter
},{key:"setOwnerGitlabId",value:function setOwnerGitlabId(a){this.ownerGitlabId=a}},{key:"setId",value:function setId(a){this.id=a}},{key:"setName",value:function setName(a){this.name=a}},{key:"setDesc",value:function setDesc(a){this.desc=a}},{key:"setLogo",value:function setLogo(a){this.logo=a}},{key:"setPath",value:function setPath(a){this.path=a}}]),a}();exports.Project=Project;
\ No newline at end of file
built/classes/repo.js 0 → 100644
+ 1
- 0
  • View file @ cf9f5af3

  • Edit in single-file editor

  • Open in Web IDE

"use strict";var _project=require("./project");function _typeof(a){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(a)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.Repo=void 0;function _defineProperties(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}function _createClass(a,b,c){return b&&_defineProperties(a.prototype,b),c&&_defineProperties(a,c),Object.defineProperty(a,"prototype",{writable:!1}),a}function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function _inherits(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),b&&_setPrototypeOf(a,b)}function _setPrototypeOf(a,b){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,b){return a.__proto__=b,a},_setPrototypeOf(a,b)}function _createSuper(a){var b=_isNativeReflectConstruct();return function(){var c,d=_getPrototypeOf(a);if(b){var e=_getPrototypeOf(this).constructor;c=Reflect.construct(d,arguments,e)}else c=d.apply(this,arguments);return _possibleConstructorReturn(this,c)}}function _possibleConstructorReturn(a,b){if(b&&("object"===_typeof(b)||"function"==typeof b))return b;if(void 0!==b)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(a)}function _assertThisInitialized(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(a){return!1}}function _getPrototypeOf(a){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},_getPrototypeOf(a)}var Repo=/*#__PURE__*/function(a){function b(a,d,e,f,g,h){return _classCallCheck(this,b),c.call(this,a,d,e,f,g,h)}_inherits(b,a);var c=_createSuper(b);return _createClass(b)}(_project.Project);exports.Repo=Repo;
\ No newline at end of file
0 Assignees
None
Assign to
0 Reviewers
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
Lock merge request
Unlocked
participants
Reference:
Source branch: MLAB-667

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal