Skip to content

Commit 302c087

Browse files
committed
feat: add type information to schema
1 parent 2a8c91f commit 302c087

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

src/schema/resource/ResourceInfoType.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
<<<<<<< HEAD
21
import { ColumnType, Schema } from "@topcoder-framework/client-relational";
32
import { ResourceInfoType } from "../../models/domain-layer/legacy/resource_info_type";
43
import { AuditColumns } from "../common/AuditColumns";
54

65
export const ResourceInfoTypeSchema: Schema<ResourceInfoType> = {
7-
=======
8-
import { Schema } from "../../common/QueryRunner.js";
9-
import { ColumnType } from "@topcoder-framework/client-relational";
10-
import { AuditColumns } from "../common/AuditColumns";
11-
12-
export const Resource: Schema = {
13-
>>>>>>> e4ff7a2 (feat: add project, resource, payment schema)
146
dbSchema: "tcs_catalog",
157
tableName: "resource_info_type_lu",
168
columns: {

src/service/LegacyChallenge.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414

1515
import { CreateResult, LookupCriteria } from "@topcoder-framework/lib-common";
1616
import LegacyChallengeDomain from "../domain/LegacyChallenge";
17-
import { LookupCriteria } from "@topcoder-framework/lib-common";
1817

1918
class LegacyChallengeServerImpl implements LegacyChallengeServer {
2019
create: handleUnaryCall<CreateChallengeInput, CreateResult> = (

src/service/Prize.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class PrizeServerImpl implements PrizeServiceServer {
4141
getPrizeTypes: handleUnaryCall<Empty, PrizeTypeList> = (
4242
call: ServerUnaryCall<Empty, PrizeTypeList>,
4343
callback: sendUnaryData<PrizeTypeList>
44+
<<<<<<< HEAD
4445
) => {};
4546

4647
update: handleUnaryCall<UpdatePrizeInput, UpdateResult> = (
@@ -50,6 +51,10 @@ class PrizeServerImpl implements PrizeServiceServer {
5051
PrizeDomain.update(call.request)
5152
.then((result) => callback(null, result))
5253
.catch((err) => callback(err, null));
54+
=======
55+
) => {
56+
console.log("TODO");
57+
>>>>>>> 4df2104 (feat: add type information to schema)
5358
};
5459
}
5560

0 commit comments

Comments
 (0)