This commit is contained in:
syuilo
2022-01-03 02:12:50 +09:00
parent 408142647c
commit 4a64280a7c
306 changed files with 306 additions and 0 deletions

View File

@ -25,6 +25,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, user) => {
const userGroup = await UserGroups.insert({
id: genId(),

View File

@ -26,6 +26,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, user) => {
const userGroup = await UserGroups.findOne({
id: ps.groupId,

View File

@ -28,6 +28,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, user) => {
// Fetch the invitation
const invitation = await UserGroupInvitations.findOne({

View File

@ -26,6 +26,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, user) => {
// Fetch the invitation
const invitation = await UserGroupInvitations.findOne({

View File

@ -52,6 +52,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
// Fetch the group
const userGroup = await UserGroups.findOne({

View File

@ -20,6 +20,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
const ownedGroups = await UserGroups.find({
userId: me.id,

View File

@ -32,6 +32,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
// Fetch the group
const userGroup = await UserGroups.findOne({

View File

@ -19,6 +19,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
const userGroups = await UserGroups.find({
userId: me.id,

View File

@ -43,6 +43,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
// Fetch the group
const userGroup = await UserGroups.findOne({

View File

@ -32,6 +32,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
// Fetch the group
const userGroup = await UserGroups.findOne({

View File

@ -49,6 +49,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
// Fetch the group
const userGroup = await UserGroups.findOne({

View File

@ -36,6 +36,7 @@ export const meta = {
},
};
// eslint-disable-next-line import/no-default-export
export default define(meta, async (ps, me) => {
// Fetch the group
const userGroup = await UserGroups.findOne({