@medipass/web-sdk 11.46.0 → 11.46.1-chore-amend-type-paginated-query.0
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/.eslintignore +2 -0
- package/.eslintrc.cjs +1 -94
- package/lib/types/index.d.ts +1 -1
- package/lib/types/subscriptions.d.ts +4 -1
- package/package.json +2 -2
package/.eslintignore
ADDED
package/.eslintrc.cjs
CHANGED
|
@@ -1,96 +1,3 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
extends: ['
|
|
3
|
-
ignorePatterns: ['lib', 'jest.setup.d.ts'],
|
|
4
|
-
plugins: ['@typescript-eslint', 'prettier'],
|
|
5
|
-
parser: '@typescript-eslint/parser',
|
|
6
|
-
parserOptions: {
|
|
7
|
-
ecmaFeatures: {
|
|
8
|
-
jsx: true
|
|
9
|
-
},
|
|
10
|
-
ecmaVersion: 'latest',
|
|
11
|
-
requireConfigFile: false,
|
|
12
|
-
sourceType: 'module'
|
|
13
|
-
},
|
|
14
|
-
rules: {
|
|
15
|
-
'prettier/prettier': [
|
|
16
|
-
'error',
|
|
17
|
-
{
|
|
18
|
-
bracketSpacing: true,
|
|
19
|
-
bracketSameLine: false,
|
|
20
|
-
printWidth: 120,
|
|
21
|
-
singleQuote: true,
|
|
22
|
-
trailingComma: 'none',
|
|
23
|
-
arrowParens: 'avoid'
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
'react/default-props-match-prop-types': [
|
|
27
|
-
1,
|
|
28
|
-
{
|
|
29
|
-
allowRequiredDefaults: true
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
'react/no-array-index-key': 'warn',
|
|
33
|
-
'react/no-children-prop': 'error',
|
|
34
|
-
'react/no-danger': 'error',
|
|
35
|
-
'react/no-danger-with-children': 'error',
|
|
36
|
-
'react/no-deprecated': 'error',
|
|
37
|
-
'react/no-did-update-set-state': 'error',
|
|
38
|
-
'react/no-direct-mutation-state': 'error',
|
|
39
|
-
'react/no-find-dom-node': 'error',
|
|
40
|
-
'react/no-is-mounted': 'error',
|
|
41
|
-
'react/no-redundant-should-component-update': 'error',
|
|
42
|
-
'react/no-render-return-value': 'error',
|
|
43
|
-
'react/no-string-refs': 'error',
|
|
44
|
-
'react/no-unescaped-entities': 'error',
|
|
45
|
-
'react/no-unknown-property': 'error',
|
|
46
|
-
'react/no-unused-prop-types': 'error',
|
|
47
|
-
'react/no-will-update-set-state': 'error',
|
|
48
|
-
'react/prop-types': 'error',
|
|
49
|
-
'react/react-in-jsx-scope': 'error',
|
|
50
|
-
'react/require-default-props': 'error',
|
|
51
|
-
'react/self-closing-comp': 'error',
|
|
52
|
-
'react/style-prop-object': 'error',
|
|
53
|
-
'react/void-dom-elements-no-children': 'error',
|
|
54
|
-
'react/jsx-boolean-value': 'error',
|
|
55
|
-
'react/jsx-closing-bracket-location': ['error', 'tag-aligned'],
|
|
56
|
-
'react/jsx-closing-tag-location': 'error',
|
|
57
|
-
'react/jsx-curly-spacing': ['error', 'never'],
|
|
58
|
-
'react/jsx-equals-spacing': ['error', 'never'],
|
|
59
|
-
'react/jsx-first-prop-new-line': ['error', 'multiline'],
|
|
60
|
-
'react/jsx-key': 'error',
|
|
61
|
-
'react/jsx-max-props-per-line': [
|
|
62
|
-
'error',
|
|
63
|
-
{
|
|
64
|
-
maximum: 1,
|
|
65
|
-
when: 'multiline'
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
'react/jsx-no-comment-textnodes': 'error',
|
|
69
|
-
'react/jsx-no-duplicate-props': [
|
|
70
|
-
'error',
|
|
71
|
-
{
|
|
72
|
-
ignoreCase: true
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
'react/jsx-no-target-blank': 'error',
|
|
76
|
-
'react/jsx-no-undef': 'error',
|
|
77
|
-
'react/jsx-sort-props': [
|
|
78
|
-
'error',
|
|
79
|
-
{
|
|
80
|
-
callbacksLast: false,
|
|
81
|
-
shorthandFirst: false,
|
|
82
|
-
noSortAlphabetically: true,
|
|
83
|
-
reservedFirst: true
|
|
84
|
-
}
|
|
85
|
-
],
|
|
86
|
-
'react/jsx-uses-react': 'error',
|
|
87
|
-
'react/jsx-uses-vars': 'error',
|
|
88
|
-
'react/jsx-wrap-multilines': 'error',
|
|
89
|
-
'react-hooks/rules-of-hooks': 'error',
|
|
90
|
-
'react-hooks/exhaustive-deps': 'warn',
|
|
91
|
-
'react/jsx-handler-names': 'off',
|
|
92
|
-
'react/jsx-pascal-case': 'off',
|
|
93
|
-
'jsx-a11y/href-no-hash': 0,
|
|
94
|
-
'jsx-a11y/anchor-is-valid': 0
|
|
95
|
-
}
|
|
2
|
+
extends: ['../eslint-config-typescript-react-medipass/.eslintrc.js']
|
|
96
3
|
};
|
package/lib/types/index.d.ts
CHANGED
|
@@ -8,7 +8,10 @@ export declare type UpdateBusinessSubscriptionBody = {
|
|
|
8
8
|
paymentMethodId?: string;
|
|
9
9
|
promotionCode?: string;
|
|
10
10
|
};
|
|
11
|
-
export declare type GetBusinessSubscriptionsQuery = PaginatedQuery
|
|
11
|
+
export declare type GetBusinessSubscriptionsQuery = PaginatedQuery & {
|
|
12
|
+
excludeEnded?: boolean;
|
|
13
|
+
excludeUpcoming?: boolean;
|
|
14
|
+
};
|
|
12
15
|
/** START: Requests */
|
|
13
16
|
/** START: Responses */
|
|
14
17
|
export declare type SubscriptionResponse = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/web-sdk",
|
|
3
|
-
"version": "11.46.0",
|
|
3
|
+
"version": "11.46.1-chore-amend-type-paginated-query.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"resolutions": {
|
|
58
58
|
"react-scripts/**/@typescript-eslint/eslint-plugin": "5.32.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "94139ad201ffd3c2016c1ad3e51f99527666ff3b"
|
|
61
61
|
}
|