Skip to content

Commit

Permalink
Fix graph compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
andyrobert3 committed Nov 14, 2022
1 parent f69ef95 commit 0694568
Show file tree
Hide file tree
Showing 4 changed files with 427 additions and 483 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
build
60 changes: 0 additions & 60 deletions generated/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2162,32 +2162,6 @@ export class Profile extends Entity {
}
}

get handle(): string {
let value = this.get("handle");
return value!.toString();
}

set handle(value: string) {
this.set("handle", Value.fromString(value));
}

get picture(): string | null {
let value = this.get("picture");
if (!value || value.kind == ValueKind.NULL) {
return null;
} else {
return value.toString();
}
}

set picture(value: string | null) {
if (!value) {
this.unset("picture");
} else {
this.set("picture", Value.fromString(<string>value));
}
}

get coverPicture(): string | null {
let value = this.get("coverPicture");
if (!value || value.kind == ValueKind.NULL) {
Expand Down Expand Up @@ -2248,23 +2222,6 @@ export class Profile extends Entity {
}
}

get followModule(): string | null {
let value = this.get("followModule");
if (!value || value.kind == ValueKind.NULL) {
return null;
} else {
return value.toString();
}
}

set followModule(value: string | null) {
if (!value) {
this.unset("followModule");
} else {
this.set("followModule", Value.fromString(<string>value));
}
}

get isDefault(): boolean {
let value = this.get("isDefault");
return value!.toBoolean();
Expand Down Expand Up @@ -2712,23 +2669,6 @@ export class Post extends Entity {
}
}

get collectedBy(): string | null {
let value = this.get("collectedBy");
if (!value || value.kind == ValueKind.NULL) {
return null;
} else {
return value.toString();
}
}

set collectedBy(value: string | null) {
if (!value) {
this.unset("collectedBy");
} else {
this.set("collectedBy", Value.fromString(<string>value));
}
}

get reaction(): string | null {
let value = this.get("reaction");
if (!value || value.kind == ValueKind.NULL) {
Expand Down
Loading

0 comments on commit 0694568

Please sign in to comment.