jp.db.schemas 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/repositories/index.d.ts +5 -1
- package/dist/repositories/index.d.ts.map +1 -1
- package/dist/repositories/index.js +9 -1
- package/dist/repositories/index.js.map +1 -1
- package/dist/repositories/simple-rooms.repository.d.ts +8 -0
- package/dist/repositories/simple-rooms.repository.d.ts.map +1 -0
- package/dist/repositories/simple-rooms.repository.js +36 -0
- package/dist/repositories/simple-rooms.repository.js.map +1 -0
- package/dist/repositories/tournament-many-tables-rooms.repository.d.ts +8 -0
- package/dist/repositories/tournament-many-tables-rooms.repository.d.ts.map +1 -0
- package/dist/repositories/tournament-many-tables-rooms.repository.js +36 -0
- package/dist/repositories/tournament-many-tables-rooms.repository.js.map +1 -0
- package/dist/repositories/tournament-one-table-rooms.repository.d.ts +8 -0
- package/dist/repositories/tournament-one-table-rooms.repository.d.ts.map +1 -0
- package/dist/repositories/tournament-one-table-rooms.repository.js +36 -0
- package/dist/repositories/tournament-one-table-rooms.repository.js.map +1 -0
- package/dist/repositories/tournament-result.repository.d.ts +9 -0
- package/dist/repositories/tournament-result.repository.d.ts.map +1 -0
- package/dist/repositories/tournament-result.repository.js +39 -0
- package/dist/repositories/tournament-result.repository.js.map +1 -0
- package/dist/schemas/achievement.schema.js +1 -1
- package/dist/schemas/achievement.schema.js.map +1 -1
- package/dist/schemas/admin.schema.js +1 -1
- package/dist/schemas/admin.schema.js.map +1 -1
- package/dist/schemas/article.schema.js +1 -1
- package/dist/schemas/article.schema.js.map +1 -1
- package/dist/schemas/balance_history.schema.js +1 -1
- package/dist/schemas/balance_history.schema.js.map +1 -1
- package/dist/schemas/banner.schema.js +1 -1
- package/dist/schemas/banner.schema.js.map +1 -1
- package/dist/schemas/channel_message.schema.js +1 -1
- package/dist/schemas/channel_message.schema.js.map +1 -1
- package/dist/schemas/complain.schema.js +1 -1
- package/dist/schemas/complain.schema.js.map +1 -1
- package/dist/schemas/feature.schema.js +1 -1
- package/dist/schemas/feature.schema.js.map +1 -1
- package/dist/schemas/game_result.schema.js +1 -1
- package/dist/schemas/game_result.schema.js.map +1 -1
- package/dist/schemas/menu.schema.js +1 -1
- package/dist/schemas/menu.schema.js.map +1 -1
- package/dist/schemas/notification.schema.js +1 -1
- package/dist/schemas/notification.schema.js.map +1 -1
- package/dist/schemas/product.schema.js +1 -1
- package/dist/schemas/product.schema.js.map +1 -1
- package/dist/schemas/purchase.schema.js +1 -1
- package/dist/schemas/purchase.schema.js.map +1 -1
- package/dist/schemas/purchase_channel.schema.js +1 -1
- package/dist/schemas/purchase_channel.schema.js.map +1 -1
- package/dist/schemas/rating.schema.js +1 -1
- package/dist/schemas/rating.schema.js.map +1 -1
- package/dist/schemas/rooms.schema.js +1 -1
- package/dist/schemas/rooms.schema.js.map +1 -1
- package/dist/schemas/scheduled_tournament.schema.js +1 -1
- package/dist/schemas/scheduled_tournament.schema.js.map +1 -1
- package/dist/schemas/server.schema.js +1 -1
- package/dist/schemas/server.schema.js.map +1 -1
- package/dist/schemas/setting.schema.js +1 -1
- package/dist/schemas/setting.schema.js.map +1 -1
- package/dist/schemas/simple_rooms.schema.d.ts +125 -0
- package/dist/schemas/simple_rooms.schema.d.ts.map +1 -0
- package/dist/schemas/simple_rooms.schema.js +65 -0
- package/dist/schemas/simple_rooms.schema.js.map +1 -0
- package/dist/schemas/tournament_many_tables_rooms.schema.d.ts +200 -0
- package/dist/schemas/tournament_many_tables_rooms.schema.d.ts.map +1 -0
- package/dist/schemas/tournament_many_tables_rooms.schema.js +93 -0
- package/dist/schemas/tournament_many_tables_rooms.schema.js.map +1 -0
- package/dist/schemas/tournament_one_table_rooms.schema.d.ts +125 -0
- package/dist/schemas/tournament_one_table_rooms.schema.d.ts.map +1 -0
- package/dist/schemas/tournament_one_table_rooms.schema.js +65 -0
- package/dist/schemas/tournament_one_table_rooms.schema.js.map +1 -0
- package/dist/schemas/tournament_result.schema.d.ts +82 -0
- package/dist/schemas/tournament_result.schema.d.ts.map +1 -0
- package/dist/schemas/tournament_result.schema.js +45 -0
- package/dist/schemas/tournament_result.schema.js.map +1 -0
- package/dist/schemas/user.schema.js +1 -1
- package/dist/schemas/user.schema.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +28 -0
- package/src/repositories/index.ts +8 -0
- package/src/repositories/simple-rooms.repository.ts +17 -0
- package/src/repositories/tournament-many-tables-rooms.repository.ts +17 -0
- package/src/repositories/tournament-one-table-rooms.repository.ts +17 -0
- package/src/repositories/tournament-result.repository.ts +21 -0
- package/src/schemas/achievement.schema.ts +1 -1
- package/src/schemas/admin.schema.ts +1 -1
- package/src/schemas/article.schema.ts +1 -1
- package/src/schemas/balance_history.schema.ts +1 -1
- package/src/schemas/banner.schema.ts +1 -1
- package/src/schemas/channel_message.schema.ts +1 -1
- package/src/schemas/complain.schema.ts +1 -1
- package/src/schemas/feature.schema.ts +1 -1
- package/src/schemas/game_result.schema.ts +1 -1
- package/src/schemas/menu.schema.ts +1 -1
- package/src/schemas/notification.schema.ts +1 -1
- package/src/schemas/product.schema.ts +1 -1
- package/src/schemas/purchase.schema.ts +1 -1
- package/src/schemas/purchase_channel.schema.ts +1 -1
- package/src/schemas/rating.schema.ts +1 -1
- package/src/schemas/rooms.schema.ts +1 -1
- package/src/schemas/scheduled_tournament.schema.ts +1 -1
- package/src/schemas/server.schema.ts +1 -1
- package/src/schemas/setting.schema.ts +1 -1
- package/src/schemas/simple_rooms.schema.ts +43 -0
- package/src/schemas/tournament_many_tables_rooms.schema.ts +70 -0
- package/src/schemas/tournament_one_table_rooms.schema.ts +43 -0
- package/src/schemas/tournament_result.schema.ts +36 -0
- package/src/schemas/user.schema.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.schema.js","sourceRoot":"","sources":["../../src/schemas/product.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAkHnB,CAAA;AAlHY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"product.schema.js","sourceRoot":"","sources":["../../src/schemas/product.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAkHnB,CAAA;AAlHY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;4CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;8CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;oDACqB;AAG5B;IADC,IAAA,eAAI,GAAE;;sDACuB;AAG9B;IADC,IAAA,eAAI,GAAE;;+CACgB;AAGvB;IADC,IAAA,eAAI,GAAE;;iDACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;yCACW;AAGlB;IADC,IAAA,eAAI,GAAE;;6CACe;AAKtB;IADC,IAAA,eAAI,GAAE;;yCACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;gDACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;6CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;qCACO;kBAjHL,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CAkHnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase.schema.js","sourceRoot":"","sources":["../../src/schemas/purchase.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AACxE,uCAA0E;AAKnE,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAuDpB,CAAA;AAvDY,4BAAQ;AAMR;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"purchase.schema.js","sourceRoot":"","sources":["../../src/schemas/purchase.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AACxE,uCAA0E;AAKnE,IAAM,QAAQ,GAAd,MAAM,QAAQ;CAuDpB,CAAA;AAvDY,4BAAQ;AAMR;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;4CAC0B;AAG5B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,sBAAW,CAAC,QAAQ,EAAE,CAAC;8BAC1B,gBAAK,CAAC,QAAQ;2CAAC;AAG1B;IADC,IAAA,eAAI,GAAE;;uCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;0CACU;AAGjB;IADC,IAAA,eAAI,GAAE;8BACG,IAAI;0CAAC;AAGf;IADC,IAAA,eAAI,GAAE;;sCACM;AAGb;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;2CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;mDACoB;AAG3B;IADC,IAAA,eAAI,GAAE;;gDACiB;AAGxB;IADC,IAAA,eAAI,GAAE;;8CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;sCACM;mBAtDJ,QAAQ;IADpB,IAAA,iBAAM,GAAE;GACI,QAAQ,CAuDpB;AAEY,QAAA,cAAc,GAAG,wBAAa,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"purchase_channel.schema.js","sourceRoot":"","sources":["../../src/schemas/purchase_channel.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,eAAe,GAArB,MAAM,eAAe;CAsB3B,CAAA;AAtBY,0CAAe;AAMf;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"purchase_channel.schema.js","sourceRoot":"","sources":["../../src/schemas/purchase_channel.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,eAAe,GAArB,MAAM,eAAe;CAsB3B,CAAA;AAtBY,0CAAe;AAMf;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;sDAC6B;AAG/B;IADC,IAAA,eAAI,GAAE;;+CACQ;AAGf;IADC,IAAA,eAAI,GAAE;;mDACY;AAGnB;IADC,IAAA,eAAI,GAAE;;kDACW;AAGlB;IADC,IAAA,eAAI,GAAE;;gDACS;AAGhB;IADC,IAAA,eAAI,GAAE;;6CACM;0BArBJ,eAAe;IAD3B,IAAA,iBAAM,GAAE;GACI,eAAe,CAsB3B;AAEY,QAAA,qBAAqB,GAAG,wBAAa,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rating.schema.js","sourceRoot":"","sources":["../../src/schemas/rating.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAqClB,CAAA;AArCY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"rating.schema.js","sourceRoot":"","sources":["../../src/schemas/rating.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAqClB,CAAA;AArCY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;6CAC6B;AAG/B;IADC,IAAA,eAAI,GAAE;;mCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;6CACe;AAGtB;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;oCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;2CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;oCACM;iBApCJ,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CAqClB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooms.schema.js","sourceRoot":"","sources":["../../src/schemas/rooms.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAWjE,IAAM,IAAI,GAAV,MAAM,IAAI;CAiDhB,CAAA;AAjDY,oBAAI;AAMJ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"rooms.schema.js","sourceRoot":"","sources":["../../src/schemas/rooms.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAWjE,IAAM,IAAI,GAAV,MAAM,IAAI;CAiDhB,CAAA;AAjDY,oBAAI;AAMJ;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;oCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;kCACM;AAGb;IADC,IAAA,eAAI,GAAE;;oCACQ;AAGf;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;mCACO;AAG9B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;sCACU;AAGjC;IADC,IAAA,eAAI,GAAE;;sCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;wCACY;AAGnB;IADC,IAAA,eAAI,GAAE;;iCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;qCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;mCACO;AAGd;IADC,IAAA,eAAI,GAAE;;8CACkB;AAGzB;IADC,IAAA,eAAI,GAAE;;sCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;uCACW;AAGlB;IADC,IAAA,eAAI,GAAE;;sCACW;eAhDT,IAAI;IADhB,IAAA,iBAAM,GAAE;GACI,IAAI,CAiDhB;AAEY,QAAA,UAAU,GAAG,wBAAa,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled_tournament.schema.js","sourceRoot":"","sources":["../../src/schemas/scheduled_tournament.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAoBjE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAsE/B,CAAA;AAtEY,kDAAmB;AAMnB;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduled_tournament.schema.js","sourceRoot":"","sources":["../../src/schemas/scheduled_tournament.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAoBjE,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAsE/B,CAAA;AAtEY,kDAAmB;AAMnB;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;yDAC4B;AAG9B;IADC,IAAA,eAAI,GAAE;;iDACM;AAGb;IADC,IAAA,eAAI,GAAE;;iDACM;AAGb;IADC,IAAA,eAAI,GAAE;;mDACQ;AAGf;IADC,IAAA,eAAI,GAAE;;qDACU;AAGjB;IADC,IAAA,eAAI,GAAE;;sDACW;AAGlB;IADC,IAAA,eAAI,GAAE;;gDACK;AAGZ;IADC,IAAA,eAAI,GAAE;;oDACS;AAGhB;IADC,IAAA,eAAI,GAAE;;wDACa;AAGpB;IADC,IAAA,eAAI,GAAE;;4DACiB;AAGxB;IADC,IAAA,eAAI,GAAE;8BACD,IAAI;iDAAC;AAGX;IADC,IAAA,eAAI,GAAE;;oDACS;AAGhB;IADC,IAAA,eAAI,GAAE;;oDACS;AAGhB;IADC,IAAA,eAAI,GAAE;8BACO,KAAK;yDAAkC;AAGrD;IADC,IAAA,eAAI,GAAE;8BACE,KAAK;oDAA6B;AAG3C;IADC,IAAA,eAAI,GAAE;;4DACiB;AAGxB;IADC,IAAA,eAAI,GAAE;;mDACQ;AAGf;IADC,IAAA,eAAI,GAAE;;qDACU;AAGjB;IADC,IAAA,eAAI,GAAE;8BACS,KAAK;2DAAS;AAG9B;IADC,IAAA,eAAI,GAAE;;oDACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qDACW;AAGlB;IADC,IAAA,eAAI,GAAE;;iDACM;8BArEJ,mBAAmB;IAD/B,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,uBAAuB,EAAE,CAAC;GACnC,mBAAmB,CAsE/B;AAEY,QAAA,yBAAyB,GAAG,wBAAa,CAAC,cAAc,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.schema.js","sourceRoot":"","sources":["../../src/schemas/server.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAalB,CAAA;AAbY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"server.schema.js","sourceRoot":"","sources":["../../src/schemas/server.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAalB,CAAA;AAbY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;wCACwB;AAG1B;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;kCACI;iBAZF,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CAalB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.schema.js","sourceRoot":"","sources":["../../src/schemas/setting.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAkCnB,CAAA;AAlCY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"setting.schema.js","sourceRoot":"","sources":["../../src/schemas/setting.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,OAAO,GAAb,MAAM,OAAO;CAkCnB,CAAA;AAlCY,0BAAO;AAMP;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;0CACyB;AAG3B;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;sCACO;AAGd;IADC,IAAA,eAAI,GAAE;;wCACS;AAGhB;IADC,IAAA,eAAI,GAAE;;yCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;qCACM;AAGb;IADC,IAAA,eAAI,GAAE;;0CACY;AAGnB;IADC,IAAA,eAAI,GAAE;;wCACW;AAGlB;IADC,IAAA,eAAI,GAAE;;qCACO;kBAjCL,OAAO;IADnB,IAAA,iBAAM,GAAE;GACI,OAAO,CAkCnB;AAEY,QAAA,aAAa,GAAG,wBAAa,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Document, HydratedDocument } from 'mongoose';
|
|
2
|
+
export type SimpleRoomDocument = HydratedDocument<SimpleRoom>;
|
|
3
|
+
export declare class SimpleRoom {
|
|
4
|
+
readonly roomId: string;
|
|
5
|
+
title: Record<string, string>;
|
|
6
|
+
subtitle: Record<string, string>;
|
|
7
|
+
tableSize: number;
|
|
8
|
+
bet: number;
|
|
9
|
+
ticketPrice: number;
|
|
10
|
+
roomType: string;
|
|
11
|
+
gameType: string;
|
|
12
|
+
rulesType: string;
|
|
13
|
+
deckType?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const SimpleRoomSchema: import("mongoose").Schema<SimpleRoom, import("mongoose").Model<SimpleRoom, any, any, any, (Document<unknown, any, SimpleRoom, any, import("mongoose").DefaultSchemaOptions> & SimpleRoom & {
|
|
16
|
+
_id: import("mongoose").Types.ObjectId;
|
|
17
|
+
} & {
|
|
18
|
+
__v: number;
|
|
19
|
+
} & {
|
|
20
|
+
id: string;
|
|
21
|
+
}) | (Document<unknown, any, SimpleRoom, any, import("mongoose").DefaultSchemaOptions> & SimpleRoom & {
|
|
22
|
+
_id: import("mongoose").Types.ObjectId;
|
|
23
|
+
} & {
|
|
24
|
+
__v: number;
|
|
25
|
+
}), any, SimpleRoom>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
26
|
+
id: string;
|
|
27
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
28
|
+
_id: import("mongoose").Types.ObjectId;
|
|
29
|
+
} & {
|
|
30
|
+
__v: number;
|
|
31
|
+
}, "id"> & {
|
|
32
|
+
id: string;
|
|
33
|
+
}, {
|
|
34
|
+
readonly roomId?: import("mongoose").SchemaDefinitionProperty<string, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
35
|
+
id: string;
|
|
36
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
37
|
+
_id: import("mongoose").Types.ObjectId;
|
|
38
|
+
} & {
|
|
39
|
+
__v: number;
|
|
40
|
+
}, "id"> & {
|
|
41
|
+
id: string;
|
|
42
|
+
}>;
|
|
43
|
+
title?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
44
|
+
id: string;
|
|
45
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
46
|
+
_id: import("mongoose").Types.ObjectId;
|
|
47
|
+
} & {
|
|
48
|
+
__v: number;
|
|
49
|
+
}, "id"> & {
|
|
50
|
+
id: string;
|
|
51
|
+
}>;
|
|
52
|
+
subtitle?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
53
|
+
id: string;
|
|
54
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
55
|
+
_id: import("mongoose").Types.ObjectId;
|
|
56
|
+
} & {
|
|
57
|
+
__v: number;
|
|
58
|
+
}, "id"> & {
|
|
59
|
+
id: string;
|
|
60
|
+
}>;
|
|
61
|
+
tableSize?: import("mongoose").SchemaDefinitionProperty<number, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
62
|
+
id: string;
|
|
63
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
64
|
+
_id: import("mongoose").Types.ObjectId;
|
|
65
|
+
} & {
|
|
66
|
+
__v: number;
|
|
67
|
+
}, "id"> & {
|
|
68
|
+
id: string;
|
|
69
|
+
}>;
|
|
70
|
+
bet?: import("mongoose").SchemaDefinitionProperty<number, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
71
|
+
id: string;
|
|
72
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
73
|
+
_id: import("mongoose").Types.ObjectId;
|
|
74
|
+
} & {
|
|
75
|
+
__v: number;
|
|
76
|
+
}, "id"> & {
|
|
77
|
+
id: string;
|
|
78
|
+
}>;
|
|
79
|
+
ticketPrice?: import("mongoose").SchemaDefinitionProperty<number, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
80
|
+
id: string;
|
|
81
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
82
|
+
_id: import("mongoose").Types.ObjectId;
|
|
83
|
+
} & {
|
|
84
|
+
__v: number;
|
|
85
|
+
}, "id"> & {
|
|
86
|
+
id: string;
|
|
87
|
+
}>;
|
|
88
|
+
roomType?: import("mongoose").SchemaDefinitionProperty<string, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
89
|
+
id: string;
|
|
90
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
91
|
+
_id: import("mongoose").Types.ObjectId;
|
|
92
|
+
} & {
|
|
93
|
+
__v: number;
|
|
94
|
+
}, "id"> & {
|
|
95
|
+
id: string;
|
|
96
|
+
}>;
|
|
97
|
+
gameType?: import("mongoose").SchemaDefinitionProperty<string, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
98
|
+
id: string;
|
|
99
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
100
|
+
_id: import("mongoose").Types.ObjectId;
|
|
101
|
+
} & {
|
|
102
|
+
__v: number;
|
|
103
|
+
}, "id"> & {
|
|
104
|
+
id: string;
|
|
105
|
+
}>;
|
|
106
|
+
rulesType?: import("mongoose").SchemaDefinitionProperty<string, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
107
|
+
id: string;
|
|
108
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
109
|
+
_id: import("mongoose").Types.ObjectId;
|
|
110
|
+
} & {
|
|
111
|
+
__v: number;
|
|
112
|
+
}, "id"> & {
|
|
113
|
+
id: string;
|
|
114
|
+
}>;
|
|
115
|
+
deckType?: import("mongoose").SchemaDefinitionProperty<string, SimpleRoom, Document<unknown, {}, SimpleRoom, {
|
|
116
|
+
id: string;
|
|
117
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<SimpleRoom & {
|
|
118
|
+
_id: import("mongoose").Types.ObjectId;
|
|
119
|
+
} & {
|
|
120
|
+
__v: number;
|
|
121
|
+
}, "id"> & {
|
|
122
|
+
id: string;
|
|
123
|
+
}>;
|
|
124
|
+
}, SimpleRoom>;
|
|
125
|
+
//# sourceMappingURL=simple_rooms.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simple_rooms.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/simple_rooms.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,UAAU,CAAC,CAAC;AAE9D,qBACa,UAAU;IAMnB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG9B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGjC,SAAS,EAAE,MAAM,CAAC;IAGlB,GAAG,EAAE,MAAM,CAAC;IAGZ,WAAW,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA2C,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SimpleRoomSchema = exports.SimpleRoom = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
let SimpleRoom = class SimpleRoom {
|
|
15
|
+
};
|
|
16
|
+
exports.SimpleRoom = SimpleRoom;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Virtual)({
|
|
19
|
+
get: function () {
|
|
20
|
+
return this._id.toString();
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], SimpleRoom.prototype, "roomId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)({ type: Object }),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], SimpleRoom.prototype, "title", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)({ type: Object }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], SimpleRoom.prototype, "subtitle", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], SimpleRoom.prototype, "tableSize", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], SimpleRoom.prototype, "bet", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], SimpleRoom.prototype, "ticketPrice", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, mongoose_1.Prop)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], SimpleRoom.prototype, "roomType", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], SimpleRoom.prototype, "gameType", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], SimpleRoom.prototype, "rulesType", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, mongoose_1.Prop)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], SimpleRoom.prototype, "deckType", void 0);
|
|
61
|
+
exports.SimpleRoom = SimpleRoom = __decorate([
|
|
62
|
+
(0, mongoose_1.Schema)({ collection: 'simple_rooms' })
|
|
63
|
+
], SimpleRoom);
|
|
64
|
+
exports.SimpleRoomSchema = mongoose_1.SchemaFactory.createForClass(SimpleRoom);
|
|
65
|
+
//# sourceMappingURL=simple_rooms.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simple_rooms.schema.js","sourceRoot":"","sources":["../../src/schemas/simple_rooms.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,UAAU,GAAhB,MAAM,UAAU;CAkCtB,CAAA;AAlCY,gCAAU;AAMV;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;0CACsB;AAGxB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yCACO;AAG9B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACU;AAGjC;IADC,IAAA,eAAI,GAAE;;6CACW;AAGlB;IADC,IAAA,eAAI,GAAE;;uCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;+CACa;AAGpB;IADC,IAAA,eAAI,GAAE;;4CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;4CACU;AAGjB;IADC,IAAA,eAAI,GAAE;;6CACW;AAGlB;IADC,IAAA,eAAI,GAAE;;4CACW;qBAjCT,UAAU;IADtB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC;GAC1B,UAAU,CAkCtB;AAEY,QAAA,gBAAgB,GAAG,wBAAa,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { Document, HydratedDocument } from 'mongoose';
|
|
2
|
+
export type TournamentManyTablesRoomDocument = HydratedDocument<TournamentManyTablesRoom>;
|
|
3
|
+
export interface IParticipant {
|
|
4
|
+
userId: string;
|
|
5
|
+
userName: string;
|
|
6
|
+
userAvatarUrl: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class TournamentManyTablesRoom {
|
|
9
|
+
readonly roomId: string;
|
|
10
|
+
title: Record<string, string>;
|
|
11
|
+
subtitle: Record<string, string>;
|
|
12
|
+
tableSize: number;
|
|
13
|
+
bet: number;
|
|
14
|
+
ticketPrice: number;
|
|
15
|
+
roomType: string;
|
|
16
|
+
gameType: string;
|
|
17
|
+
rulesType: string;
|
|
18
|
+
deckType?: string;
|
|
19
|
+
createDate: Date;
|
|
20
|
+
startDate: Date;
|
|
21
|
+
description: Record<string, string>;
|
|
22
|
+
participants: Array<IParticipant>;
|
|
23
|
+
maxParticipants: number;
|
|
24
|
+
status: string;
|
|
25
|
+
type: string;
|
|
26
|
+
}
|
|
27
|
+
export declare const TournamentManyTablesRoomSchema: import("mongoose").Schema<TournamentManyTablesRoom, import("mongoose").Model<TournamentManyTablesRoom, any, any, any, (Document<unknown, any, TournamentManyTablesRoom, any, import("mongoose").DefaultSchemaOptions> & TournamentManyTablesRoom & {
|
|
28
|
+
_id: import("mongoose").Types.ObjectId;
|
|
29
|
+
} & {
|
|
30
|
+
__v: number;
|
|
31
|
+
} & {
|
|
32
|
+
id: string;
|
|
33
|
+
}) | (Document<unknown, any, TournamentManyTablesRoom, any, import("mongoose").DefaultSchemaOptions> & TournamentManyTablesRoom & {
|
|
34
|
+
_id: import("mongoose").Types.ObjectId;
|
|
35
|
+
} & {
|
|
36
|
+
__v: number;
|
|
37
|
+
}), any, TournamentManyTablesRoom>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
38
|
+
id: string;
|
|
39
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
40
|
+
_id: import("mongoose").Types.ObjectId;
|
|
41
|
+
} & {
|
|
42
|
+
__v: number;
|
|
43
|
+
}, "id"> & {
|
|
44
|
+
id: string;
|
|
45
|
+
}, {
|
|
46
|
+
readonly roomId?: import("mongoose").SchemaDefinitionProperty<string, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
47
|
+
id: string;
|
|
48
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
49
|
+
_id: import("mongoose").Types.ObjectId;
|
|
50
|
+
} & {
|
|
51
|
+
__v: number;
|
|
52
|
+
}, "id"> & {
|
|
53
|
+
id: string;
|
|
54
|
+
}>;
|
|
55
|
+
title?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
56
|
+
id: string;
|
|
57
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
58
|
+
_id: import("mongoose").Types.ObjectId;
|
|
59
|
+
} & {
|
|
60
|
+
__v: number;
|
|
61
|
+
}, "id"> & {
|
|
62
|
+
id: string;
|
|
63
|
+
}>;
|
|
64
|
+
subtitle?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
65
|
+
id: string;
|
|
66
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
67
|
+
_id: import("mongoose").Types.ObjectId;
|
|
68
|
+
} & {
|
|
69
|
+
__v: number;
|
|
70
|
+
}, "id"> & {
|
|
71
|
+
id: string;
|
|
72
|
+
}>;
|
|
73
|
+
tableSize?: import("mongoose").SchemaDefinitionProperty<number, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
74
|
+
id: string;
|
|
75
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
76
|
+
_id: import("mongoose").Types.ObjectId;
|
|
77
|
+
} & {
|
|
78
|
+
__v: number;
|
|
79
|
+
}, "id"> & {
|
|
80
|
+
id: string;
|
|
81
|
+
}>;
|
|
82
|
+
bet?: import("mongoose").SchemaDefinitionProperty<number, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
83
|
+
id: string;
|
|
84
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
85
|
+
_id: import("mongoose").Types.ObjectId;
|
|
86
|
+
} & {
|
|
87
|
+
__v: number;
|
|
88
|
+
}, "id"> & {
|
|
89
|
+
id: string;
|
|
90
|
+
}>;
|
|
91
|
+
ticketPrice?: import("mongoose").SchemaDefinitionProperty<number, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
92
|
+
id: string;
|
|
93
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
94
|
+
_id: import("mongoose").Types.ObjectId;
|
|
95
|
+
} & {
|
|
96
|
+
__v: number;
|
|
97
|
+
}, "id"> & {
|
|
98
|
+
id: string;
|
|
99
|
+
}>;
|
|
100
|
+
roomType?: import("mongoose").SchemaDefinitionProperty<string, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
101
|
+
id: string;
|
|
102
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
103
|
+
_id: import("mongoose").Types.ObjectId;
|
|
104
|
+
} & {
|
|
105
|
+
__v: number;
|
|
106
|
+
}, "id"> & {
|
|
107
|
+
id: string;
|
|
108
|
+
}>;
|
|
109
|
+
gameType?: import("mongoose").SchemaDefinitionProperty<string, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
110
|
+
id: string;
|
|
111
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
112
|
+
_id: import("mongoose").Types.ObjectId;
|
|
113
|
+
} & {
|
|
114
|
+
__v: number;
|
|
115
|
+
}, "id"> & {
|
|
116
|
+
id: string;
|
|
117
|
+
}>;
|
|
118
|
+
rulesType?: import("mongoose").SchemaDefinitionProperty<string, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
119
|
+
id: string;
|
|
120
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
121
|
+
_id: import("mongoose").Types.ObjectId;
|
|
122
|
+
} & {
|
|
123
|
+
__v: number;
|
|
124
|
+
}, "id"> & {
|
|
125
|
+
id: string;
|
|
126
|
+
}>;
|
|
127
|
+
deckType?: import("mongoose").SchemaDefinitionProperty<string, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
128
|
+
id: string;
|
|
129
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
130
|
+
_id: import("mongoose").Types.ObjectId;
|
|
131
|
+
} & {
|
|
132
|
+
__v: number;
|
|
133
|
+
}, "id"> & {
|
|
134
|
+
id: string;
|
|
135
|
+
}>;
|
|
136
|
+
createDate?: import("mongoose").SchemaDefinitionProperty<Date, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
137
|
+
id: string;
|
|
138
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
139
|
+
_id: import("mongoose").Types.ObjectId;
|
|
140
|
+
} & {
|
|
141
|
+
__v: number;
|
|
142
|
+
}, "id"> & {
|
|
143
|
+
id: string;
|
|
144
|
+
}>;
|
|
145
|
+
startDate?: import("mongoose").SchemaDefinitionProperty<Date, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
146
|
+
id: string;
|
|
147
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
148
|
+
_id: import("mongoose").Types.ObjectId;
|
|
149
|
+
} & {
|
|
150
|
+
__v: number;
|
|
151
|
+
}, "id"> & {
|
|
152
|
+
id: string;
|
|
153
|
+
}>;
|
|
154
|
+
description?: import("mongoose").SchemaDefinitionProperty<Record<string, string>, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
155
|
+
id: string;
|
|
156
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
157
|
+
_id: import("mongoose").Types.ObjectId;
|
|
158
|
+
} & {
|
|
159
|
+
__v: number;
|
|
160
|
+
}, "id"> & {
|
|
161
|
+
id: string;
|
|
162
|
+
}>;
|
|
163
|
+
participants?: import("mongoose").SchemaDefinitionProperty<IParticipant[], TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
164
|
+
id: string;
|
|
165
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
166
|
+
_id: import("mongoose").Types.ObjectId;
|
|
167
|
+
} & {
|
|
168
|
+
__v: number;
|
|
169
|
+
}, "id"> & {
|
|
170
|
+
id: string;
|
|
171
|
+
}>;
|
|
172
|
+
maxParticipants?: import("mongoose").SchemaDefinitionProperty<number, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
173
|
+
id: string;
|
|
174
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
175
|
+
_id: import("mongoose").Types.ObjectId;
|
|
176
|
+
} & {
|
|
177
|
+
__v: number;
|
|
178
|
+
}, "id"> & {
|
|
179
|
+
id: string;
|
|
180
|
+
}>;
|
|
181
|
+
status?: import("mongoose").SchemaDefinitionProperty<string, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
182
|
+
id: string;
|
|
183
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
184
|
+
_id: import("mongoose").Types.ObjectId;
|
|
185
|
+
} & {
|
|
186
|
+
__v: number;
|
|
187
|
+
}, "id"> & {
|
|
188
|
+
id: string;
|
|
189
|
+
}>;
|
|
190
|
+
type?: import("mongoose").SchemaDefinitionProperty<string, TournamentManyTablesRoom, Document<unknown, {}, TournamentManyTablesRoom, {
|
|
191
|
+
id: string;
|
|
192
|
+
}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Omit<TournamentManyTablesRoom & {
|
|
193
|
+
_id: import("mongoose").Types.ObjectId;
|
|
194
|
+
} & {
|
|
195
|
+
__v: number;
|
|
196
|
+
}, "id"> & {
|
|
197
|
+
id: string;
|
|
198
|
+
}>;
|
|
199
|
+
}, TournamentManyTablesRoom>;
|
|
200
|
+
//# sourceMappingURL=tournament_many_tables_rooms.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament_many_tables_rooms.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/tournament_many_tables_rooms.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,gCAAgC,GAAG,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;AAE1F,MAAM,WAAW,YAAY;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,qBACa,wBAAwB;IAMjC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAG9B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGjC,SAAS,EAAE,MAAM,CAAC;IAGlB,GAAG,EAAE,MAAM,CAAC;IAGZ,WAAW,EAAE,MAAM,CAAC;IAGpB,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;IAGjB,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,UAAU,EAAE,IAAI,CAAC;IAGjB,SAAS,EAAE,IAAI,CAAC;IAGhB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAGpC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAGlC,eAAe,EAAE,MAAM,CAAC;IAGxB,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAAyD,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TournamentManyTablesRoomSchema = exports.TournamentManyTablesRoom = void 0;
|
|
13
|
+
const mongoose_1 = require("@nestjs/mongoose");
|
|
14
|
+
let TournamentManyTablesRoom = class TournamentManyTablesRoom {
|
|
15
|
+
};
|
|
16
|
+
exports.TournamentManyTablesRoom = TournamentManyTablesRoom;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, mongoose_1.Virtual)({
|
|
19
|
+
get: function () {
|
|
20
|
+
return this._id.toString();
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], TournamentManyTablesRoom.prototype, "roomId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, mongoose_1.Prop)({ type: Object }),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], TournamentManyTablesRoom.prototype, "title", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, mongoose_1.Prop)({ type: Object }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], TournamentManyTablesRoom.prototype, "subtitle", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, mongoose_1.Prop)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], TournamentManyTablesRoom.prototype, "tableSize", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, mongoose_1.Prop)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TournamentManyTablesRoom.prototype, "bet", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, mongoose_1.Prop)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], TournamentManyTablesRoom.prototype, "ticketPrice", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, mongoose_1.Prop)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], TournamentManyTablesRoom.prototype, "roomType", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, mongoose_1.Prop)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], TournamentManyTablesRoom.prototype, "gameType", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, mongoose_1.Prop)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], TournamentManyTablesRoom.prototype, "rulesType", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, mongoose_1.Prop)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], TournamentManyTablesRoom.prototype, "deckType", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, mongoose_1.Prop)(),
|
|
63
|
+
__metadata("design:type", Date)
|
|
64
|
+
], TournamentManyTablesRoom.prototype, "createDate", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, mongoose_1.Prop)(),
|
|
67
|
+
__metadata("design:type", Date)
|
|
68
|
+
], TournamentManyTablesRoom.prototype, "startDate", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, mongoose_1.Prop)({ type: Object }),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], TournamentManyTablesRoom.prototype, "description", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, mongoose_1.Prop)(),
|
|
75
|
+
__metadata("design:type", Array)
|
|
76
|
+
], TournamentManyTablesRoom.prototype, "participants", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, mongoose_1.Prop)(),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], TournamentManyTablesRoom.prototype, "maxParticipants", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, mongoose_1.Prop)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], TournamentManyTablesRoom.prototype, "status", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, mongoose_1.Prop)(),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], TournamentManyTablesRoom.prototype, "type", void 0);
|
|
89
|
+
exports.TournamentManyTablesRoom = TournamentManyTablesRoom = __decorate([
|
|
90
|
+
(0, mongoose_1.Schema)({ collection: 'tournament_many_tables_rooms' })
|
|
91
|
+
], TournamentManyTablesRoom);
|
|
92
|
+
exports.TournamentManyTablesRoomSchema = mongoose_1.SchemaFactory.createForClass(TournamentManyTablesRoom);
|
|
93
|
+
//# sourceMappingURL=tournament_many_tables_rooms.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tournament_many_tables_rooms.schema.js","sourceRoot":"","sources":["../../src/schemas/tournament_many_tables_rooms.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAYjE,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAuDpC,CAAA;AAvDY,4DAAwB;AAMxB;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;wDACsB;AAGxB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;uDACO;AAG9B;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;0DACU;AAGjC;IADC,IAAA,eAAI,GAAE;;2DACW;AAGlB;IADC,IAAA,eAAI,GAAE;;qDACK;AAGZ;IADC,IAAA,eAAI,GAAE;;6DACa;AAGpB;IADC,IAAA,eAAI,GAAE;;0DACU;AAGjB;IADC,IAAA,eAAI,GAAE;;0DACU;AAGjB;IADC,IAAA,eAAI,GAAE;;2DACW;AAGlB;IADC,IAAA,eAAI,GAAE;;0DACW;AAGlB;IADC,IAAA,eAAI,GAAE;8BACK,IAAI;4DAAC;AAGjB;IADC,IAAA,eAAI,GAAE;8BACI,IAAI;2DAAC;AAGhB;IADC,IAAA,eAAI,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6DACa;AAGpC;IADC,IAAA,eAAI,GAAE;8BACO,KAAK;8DAAe;AAGlC;IADC,IAAA,eAAI,GAAE;;iEACiB;AAGxB;IADC,IAAA,eAAI,GAAE;;wDACQ;AAGf;IADC,IAAA,eAAI,GAAE;;sDACM;mCAtDJ,wBAAwB;IADpC,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,8BAA8B,EAAE,CAAC;GAC1C,wBAAwB,CAuDpC;AAEY,QAAA,8BAA8B,GAAG,wBAAa,CAAC,cAAc,CAAC,wBAAwB,CAAC,CAAC"}
|