generated from Baipyrus/DiscordJS-Template
bugfix: removed inaccurate and misplaced properties
This commit is contained in:
parent
f4cbf7fbc8
commit
d67242374e
@ -3,10 +3,6 @@ import { DataTypes, Sequelize } from 'sequelize';
|
|||||||
/**
|
/**
|
||||||
* @typedef {Object} Guild
|
* @typedef {Object} Guild
|
||||||
* @property {string} id A Discord guild ID.
|
* @property {string} id A Discord guild ID.
|
||||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
|
||||||
* @property {(conditions: Object) => Promise<Guild>} findOne Finds one instance in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Array<Guild>>} findAll Finds all instances in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Guild>} findOrCreate Finds or creates an instance in the database matching the provided condition(-s) or default values.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4,10 +4,6 @@ import { DataTypes, Deferrable, Sequelize } from 'sequelize';
|
|||||||
* @typedef {Object} Message
|
* @typedef {Object} Message
|
||||||
* @property {string} id A Discord message ID.
|
* @property {string} id A Discord message ID.
|
||||||
* @property {string} guild A Discord guild ID as a foreign key reference.
|
* @property {string} guild A Discord guild ID as a foreign key reference.
|
||||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
|
||||||
* @property {(conditions: Object) => Promise<Message>} findOne Finds one instance in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Array<Message>>} findAll Finds all instances in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Message>} findOrCreate Finds or creates an instance in the database matching the provided condition(-s) or default values.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -6,10 +6,6 @@ import { DataTypes, Deferrable, Sequelize } from 'sequelize';
|
|||||||
* @property {string} message A Discord message ID as a foreign key reference.
|
* @property {string} message A Discord message ID as a foreign key reference.
|
||||||
* @property {string} role A Discord role ID.
|
* @property {string} role A Discord role ID.
|
||||||
* @property {string} emoji Either a unicode emoji or a string representation in Discord custom emoji format.
|
* @property {string} emoji Either a unicode emoji or a string representation in Discord custom emoji format.
|
||||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
|
||||||
* @property {(conditions: Object) => Promise<RoleEmojiPair>} findOne Finds one instance in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Array<RoleEmojiPair>>} findAll Finds all instances in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<RoleEmojiPair>} findOrCreate Finds or creates an instance in the database matching the provided condition(-s) or default values.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -5,10 +5,6 @@ import { DataTypes, Deferrable, Sequelize } from 'sequelize';
|
|||||||
* @property {string} id A Discord role ID.
|
* @property {string} id A Discord role ID.
|
||||||
* @property {boolean} assign Whether or not the role should be assigned to new members.
|
* @property {boolean} assign Whether or not the role should be assigned to new members.
|
||||||
* @property {string} guild A Discord guild ID as a foreign key reference.
|
* @property {string} guild A Discord guild ID as a foreign key reference.
|
||||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
|
||||||
* @property {(conditions: Object) => Promise<Role>} findOne Finds one instance in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Array<Role>>} findAll Finds all instances in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Role>} findOrCreate Finds or creates an instance in the database matching the provided condition(-s) or default values.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -6,10 +6,6 @@ import { DataTypes, Deferrable, Sequelize } from 'sequelize';
|
|||||||
* @property {boolean} create Whether or not this channel is registered to create customs when joined.
|
* @property {boolean} create Whether or not this channel is registered to create customs when joined.
|
||||||
* @property {(string|null)} owner The owner of this channel, if not registered for customs.
|
* @property {(string|null)} owner The owner of this channel, if not registered for customs.
|
||||||
* @property {string} guild A Discord guild ID as a foreign key reference.
|
* @property {string} guild A Discord guild ID as a foreign key reference.
|
||||||
* @property {(model: Object) => void} hasMany Defines an One-To-Many relationship.
|
|
||||||
* @property {(conditions: Object) => Promise<VoiceChannel>} findOne Finds one instance in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<Array<VoiceChannel>>} findAll Finds all instances in the database matching the provided condition(-s).
|
|
||||||
* @property {(conditions: Object) => Promise<VoiceChannel>} findOrCreate Finds or creates an instance in the database matching the provided condition(-s) or default values.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user