mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-13 04:50:56 +00:00
fix(oidc): remove generated source file
I forgot that our transpile tooling requires manually gitignoring individual javascript files because we don't actually create a full generated build of backend.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
!outcomeutil.js
|
||||
@@ -1,35 +0,0 @@
|
||||
export class OutcomeObject {
|
||||
userMessage = null;
|
||||
userMessageKey = null;
|
||||
userMessageFields = {};
|
||||
failed = false;
|
||||
messages = [];
|
||||
fields = {};
|
||||
ended = false;
|
||||
infoObject;
|
||||
get succeeded () {
|
||||
return this.ended && !this.failed;
|
||||
}
|
||||
constructor (infoObject) {
|
||||
this.failed = true;
|
||||
this.userMessageFields = {};
|
||||
this.infoObject = infoObject;
|
||||
}
|
||||
log (text, fields) {
|
||||
this.messages.push({ text, fields });
|
||||
}
|
||||
fail (message, i18nKey, fields = {}) {
|
||||
this.userMessage = message;
|
||||
this.userMessageKey = i18nKey;
|
||||
this.userMessageFields = fields;
|
||||
this.ended = true;
|
||||
this.failed = true;
|
||||
return this;
|
||||
}
|
||||
success () {
|
||||
this.ended = true;
|
||||
this.failed = false;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=outcomeutil.js.map
|
||||
Reference in New Issue
Block a user