Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module.exports = tseslint.config({
"jsdoc/require-param-description": 0,
"jsdoc/require-property-description": 0,
"jsdoc/require-param-type": 0,
"jsdoc/require-param": 1,
"jsdoc/tag-lines": 0,
"jsdoc/check-param-names": [
"error",
Expand All @@ -74,6 +75,15 @@ module.exports = tseslint.config({
}
]
},
settings: {
jsdoc: {
tagNamePreference: {
member: false,
memberof: false,
yield: false,
},
},
},
languageOptions: {
parser: tseslint.parser,
globals: {
Expand Down
28 changes: 14 additions & 14 deletions src/Parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const Parse = {
Parse: undefined,

/**
* @member {EventuallyQueue} Parse.EventuallyQueue
* @property {EventuallyQueue} Parse.EventuallyQueue
* @static
*/
set EventuallyQueue(queue: EventuallyQueue) {
Expand Down Expand Up @@ -172,7 +172,7 @@ const Parse = {
},

/**
* @member {string} Parse.applicationId
* @property {string} Parse.applicationId
* @static
*/
set applicationId(value) {
Expand All @@ -183,7 +183,7 @@ const Parse = {
},

/**
* @member {string} Parse.javaScriptKey
* @property {string} Parse.javaScriptKey
* @static
*/
set javaScriptKey(value) {
Expand All @@ -194,7 +194,7 @@ const Parse = {
},

/**
* @member {string} Parse.masterKey
* @property {string} Parse.masterKey
* @static
*/
set masterKey(value) {
Expand All @@ -205,7 +205,7 @@ const Parse = {
},

/**
* @member {string} Parse.maintenanceKey
* @property {string} Parse.maintenanceKey
* @static
*/
set maintenanceKey(value) {
Expand All @@ -216,7 +216,7 @@ const Parse = {
},

/**
* @member {string} Parse.serverURL
* @property {string} Parse.serverURL
* @static
*/
set serverURL(value) {
Expand All @@ -227,7 +227,7 @@ const Parse = {
},

/**
* @member {string} Parse.serverAuthToken
* @property {string} Parse.serverAuthToken
* @static
*/
set serverAuthToken(value) {
Expand All @@ -238,7 +238,7 @@ const Parse = {
},

/**
* @member {string} Parse.serverAuthType
* @property {string} Parse.serverAuthType
* @static
*/
set serverAuthType(value) {
Expand All @@ -249,7 +249,7 @@ const Parse = {
},

/**
* @member {ParseLiveQuery} Parse.LiveQuery
* @property {ParseLiveQuery} Parse.LiveQuery
* @static
*/
set LiveQuery(liveQuery: ParseLiveQuery) {
Expand All @@ -260,7 +260,7 @@ const Parse = {
},

/**
* @member {string} Parse.liveQueryServerURL
* @property {string} Parse.liveQueryServerURL
* @static
*/
set liveQueryServerURL(value) {
Expand All @@ -271,7 +271,7 @@ const Parse = {
},

/**
* @member {boolean} Parse.encryptedUser
* @property {boolean} Parse.encryptedUser
* @static
*/
set encryptedUser(value: boolean) {
Expand All @@ -282,7 +282,7 @@ const Parse = {
},

/**
* @member {string} Parse.secret
* @property {string} Parse.secret
* @static
*/
set secret(value) {
Expand All @@ -293,7 +293,7 @@ const Parse = {
},

/**
* @member {boolean} Parse.idempotency
* @property {boolean} Parse.idempotency
* @static
*/
set idempotency(value) {
Expand All @@ -304,7 +304,7 @@ const Parse = {
},

/**
* @member {boolean} Parse.allowCustomObjectId
* @property {boolean} Parse.allowCustomObjectId
* @static
*/
set allowCustomObjectId(value) {
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/test_helpers/mockXHR.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* where status is a HTTP status number and result is a JSON object to pass
* alongside it.
* `upload` can be provided to mock the XMLHttpRequest.upload property.
* @ignore
*/
function mockXHR(results, options = {}) {
const XHR = function () {};
Expand Down
28 changes: 14 additions & 14 deletions types/Parse.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ declare const Parse: {
Hooks: any;
Parse: any;
/**
* @member {EventuallyQueue} Parse.EventuallyQueue
* @property {EventuallyQueue} Parse.EventuallyQueue
* @static
*/
EventuallyQueue: EventuallyQueue;
Expand Down Expand Up @@ -258,67 +258,67 @@ declare const Parse: {
*/
getServerHealth(): Promise<any>;
/**
* @member {string} Parse.applicationId
* @property {string} Parse.applicationId
* @static
*/
applicationId: any;
/**
* @member {string} Parse.javaScriptKey
* @property {string} Parse.javaScriptKey
* @static
*/
javaScriptKey: any;
/**
* @member {string} Parse.masterKey
* @property {string} Parse.masterKey
* @static
*/
masterKey: any;
/**
* @member {string} Parse.maintenanceKey
* @property {string} Parse.maintenanceKey
* @static
*/
maintenanceKey: any;
/**
* @member {string} Parse.serverURL
* @property {string} Parse.serverURL
* @static
*/
serverURL: any;
/**
* @member {string} Parse.serverAuthToken
* @property {string} Parse.serverAuthToken
* @static
*/
serverAuthToken: any;
/**
* @member {string} Parse.serverAuthType
* @property {string} Parse.serverAuthType
* @static
*/
serverAuthType: any;
/**
* @member {ParseLiveQuery} Parse.LiveQuery
* @property {ParseLiveQuery} Parse.LiveQuery
* @static
*/
LiveQuery: ParseLiveQuery;
/**
* @member {string} Parse.liveQueryServerURL
* @property {string} Parse.liveQueryServerURL
* @static
*/
liveQueryServerURL: any;
/**
* @member {boolean} Parse.encryptedUser
* @property {boolean} Parse.encryptedUser
* @static
*/
encryptedUser: boolean;
/**
* @member {string} Parse.secret
* @property {string} Parse.secret
* @static
*/
secret: any;
/**
* @member {boolean} Parse.idempotency
* @property {boolean} Parse.idempotency
* @static
*/
idempotency: any;
/**
* @member {boolean} Parse.allowCustomObjectId
* @property {boolean} Parse.allowCustomObjectId
* @static
*/
allowCustomObjectId: any;
Expand Down