Skip to content

Commit 0694568

Browse files
committed
Fix graph compilation errors
1 parent f69ef95 commit 0694568

File tree

4 files changed

+427
-483
lines changed

4 files changed

+427
-483
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node_modules
2+
build

generated/schema.ts

-60
Original file line numberDiff line numberDiff line change
@@ -2162,32 +2162,6 @@ export class Profile extends Entity {
21622162
}
21632163
}
21642164

2165-
get handle(): string {
2166-
let value = this.get("handle");
2167-
return value!.toString();
2168-
}
2169-
2170-
set handle(value: string) {
2171-
this.set("handle", Value.fromString(value));
2172-
}
2173-
2174-
get picture(): string | null {
2175-
let value = this.get("picture");
2176-
if (!value || value.kind == ValueKind.NULL) {
2177-
return null;
2178-
} else {
2179-
return value.toString();
2180-
}
2181-
}
2182-
2183-
set picture(value: string | null) {
2184-
if (!value) {
2185-
this.unset("picture");
2186-
} else {
2187-
this.set("picture", Value.fromString(<string>value));
2188-
}
2189-
}
2190-
21912165
get coverPicture(): string | null {
21922166
let value = this.get("coverPicture");
21932167
if (!value || value.kind == ValueKind.NULL) {
@@ -2248,23 +2222,6 @@ export class Profile extends Entity {
22482222
}
22492223
}
22502224

2251-
get followModule(): string | null {
2252-
let value = this.get("followModule");
2253-
if (!value || value.kind == ValueKind.NULL) {
2254-
return null;
2255-
} else {
2256-
return value.toString();
2257-
}
2258-
}
2259-
2260-
set followModule(value: string | null) {
2261-
if (!value) {
2262-
this.unset("followModule");
2263-
} else {
2264-
this.set("followModule", Value.fromString(<string>value));
2265-
}
2266-
}
2267-
22682225
get isDefault(): boolean {
22692226
let value = this.get("isDefault");
22702227
return value!.toBoolean();
@@ -2712,23 +2669,6 @@ export class Post extends Entity {
27122669
}
27132670
}
27142671

2715-
get collectedBy(): string | null {
2716-
let value = this.get("collectedBy");
2717-
if (!value || value.kind == ValueKind.NULL) {
2718-
return null;
2719-
} else {
2720-
return value.toString();
2721-
}
2722-
}
2723-
2724-
set collectedBy(value: string | null) {
2725-
if (!value) {
2726-
this.unset("collectedBy");
2727-
} else {
2728-
this.set("collectedBy", Value.fromString(<string>value));
2729-
}
2730-
}
2731-
27322672
get reaction(): string | null {
27332673
let value = this.get("reaction");
27342674
if (!value || value.kind == ValueKind.NULL) {

0 commit comments

Comments
 (0)