@graphql-mesh/types 0.94.3 → 0.94.4-alpha-20230713134914-3bdc4dfa1
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/cjs/config-schema.js +33 -5
- package/cjs/config-schema.json +33 -5
- package/esm/config-schema.js +33 -5
- package/esm/config-schema.json +33 -5
- package/package.json +2 -2
- package/typings/config.d.cts +33 -0
- package/typings/config.d.ts +33 -0
package/cjs/config-schema.js
CHANGED
|
@@ -1823,19 +1823,32 @@ exports.jsonSchema = {
|
|
|
1823
1823
|
"title": "MySQLHandler",
|
|
1824
1824
|
"properties": {
|
|
1825
1825
|
"host": {
|
|
1826
|
-
"type": "string"
|
|
1826
|
+
"type": "string",
|
|
1827
|
+
"description": "The hostname of the database you are connecting to. (Default: localhost)"
|
|
1827
1828
|
},
|
|
1828
1829
|
"port": {
|
|
1829
|
-
"type": "integer"
|
|
1830
|
+
"type": "integer",
|
|
1831
|
+
"description": "The port number to connect to. (Default: 3306)"
|
|
1832
|
+
},
|
|
1833
|
+
"localAddress": {
|
|
1834
|
+
"type": "string",
|
|
1835
|
+
"description": "The source IP address to use for TCP connection"
|
|
1830
1836
|
},
|
|
1831
1837
|
"user": {
|
|
1832
|
-
"type": "string"
|
|
1838
|
+
"type": "string",
|
|
1839
|
+
"description": "The MySQL user to authenticate as"
|
|
1833
1840
|
},
|
|
1834
1841
|
"password": {
|
|
1835
|
-
"type": "string"
|
|
1842
|
+
"type": "string",
|
|
1843
|
+
"description": "The password of that MySQL user"
|
|
1836
1844
|
},
|
|
1837
1845
|
"database": {
|
|
1838
|
-
"type": "string"
|
|
1846
|
+
"type": "string",
|
|
1847
|
+
"description": "Name of the database to use for this connection"
|
|
1848
|
+
},
|
|
1849
|
+
"ssl": {
|
|
1850
|
+
"$ref": "#/definitions/MySQLSSLOptions",
|
|
1851
|
+
"description": "SSL Options for your MySQL connection"
|
|
1839
1852
|
},
|
|
1840
1853
|
"pool": {
|
|
1841
1854
|
"anyOf": [
|
|
@@ -1892,6 +1905,21 @@ exports.jsonSchema = {
|
|
|
1892
1905
|
"fields"
|
|
1893
1906
|
]
|
|
1894
1907
|
},
|
|
1908
|
+
"MySQLSSLOptions": {
|
|
1909
|
+
"additionalProperties": false,
|
|
1910
|
+
"type": "object",
|
|
1911
|
+
"title": "MySQLSSLOptions",
|
|
1912
|
+
"properties": {
|
|
1913
|
+
"rejectUnauthorized": {
|
|
1914
|
+
"type": "boolean",
|
|
1915
|
+
"description": "Default: true"
|
|
1916
|
+
},
|
|
1917
|
+
"ca": {
|
|
1918
|
+
"type": "string",
|
|
1919
|
+
"description": "Path to your CA"
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1895
1923
|
"Neo4jHandler": {
|
|
1896
1924
|
"additionalProperties": false,
|
|
1897
1925
|
"type": "object",
|
package/cjs/config-schema.json
CHANGED
|
@@ -1741,19 +1741,32 @@
|
|
|
1741
1741
|
"title": "MySQLHandler",
|
|
1742
1742
|
"properties": {
|
|
1743
1743
|
"host": {
|
|
1744
|
-
"type": "string"
|
|
1744
|
+
"type": "string",
|
|
1745
|
+
"description": "The hostname of the database you are connecting to. (Default: localhost)"
|
|
1745
1746
|
},
|
|
1746
1747
|
"port": {
|
|
1747
|
-
"type": "integer"
|
|
1748
|
+
"type": "integer",
|
|
1749
|
+
"description": "The port number to connect to. (Default: 3306)"
|
|
1750
|
+
},
|
|
1751
|
+
"localAddress": {
|
|
1752
|
+
"type": "string",
|
|
1753
|
+
"description": "The source IP address to use for TCP connection"
|
|
1748
1754
|
},
|
|
1749
1755
|
"user": {
|
|
1750
|
-
"type": "string"
|
|
1756
|
+
"type": "string",
|
|
1757
|
+
"description": "The MySQL user to authenticate as"
|
|
1751
1758
|
},
|
|
1752
1759
|
"password": {
|
|
1753
|
-
"type": "string"
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"description": "The password of that MySQL user"
|
|
1754
1762
|
},
|
|
1755
1763
|
"database": {
|
|
1756
|
-
"type": "string"
|
|
1764
|
+
"type": "string",
|
|
1765
|
+
"description": "Name of the database to use for this connection"
|
|
1766
|
+
},
|
|
1767
|
+
"ssl": {
|
|
1768
|
+
"$ref": "#/definitions/MySQLSSLOptions",
|
|
1769
|
+
"description": "SSL Options for your MySQL connection"
|
|
1757
1770
|
},
|
|
1758
1771
|
"pool": {
|
|
1759
1772
|
"anyOf": [
|
|
@@ -1807,6 +1820,21 @@
|
|
|
1807
1820
|
},
|
|
1808
1821
|
"required": ["table", "fields"]
|
|
1809
1822
|
},
|
|
1823
|
+
"MySQLSSLOptions": {
|
|
1824
|
+
"additionalProperties": false,
|
|
1825
|
+
"type": "object",
|
|
1826
|
+
"title": "MySQLSSLOptions",
|
|
1827
|
+
"properties": {
|
|
1828
|
+
"rejectUnauthorized": {
|
|
1829
|
+
"type": "boolean",
|
|
1830
|
+
"description": "Default: true"
|
|
1831
|
+
},
|
|
1832
|
+
"ca": {
|
|
1833
|
+
"type": "string",
|
|
1834
|
+
"description": "Path to your CA"
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1810
1838
|
"Neo4jHandler": {
|
|
1811
1839
|
"additionalProperties": false,
|
|
1812
1840
|
"type": "object",
|
package/esm/config-schema.js
CHANGED
|
@@ -1820,19 +1820,32 @@ export const jsonSchema = {
|
|
|
1820
1820
|
"title": "MySQLHandler",
|
|
1821
1821
|
"properties": {
|
|
1822
1822
|
"host": {
|
|
1823
|
-
"type": "string"
|
|
1823
|
+
"type": "string",
|
|
1824
|
+
"description": "The hostname of the database you are connecting to. (Default: localhost)"
|
|
1824
1825
|
},
|
|
1825
1826
|
"port": {
|
|
1826
|
-
"type": "integer"
|
|
1827
|
+
"type": "integer",
|
|
1828
|
+
"description": "The port number to connect to. (Default: 3306)"
|
|
1829
|
+
},
|
|
1830
|
+
"localAddress": {
|
|
1831
|
+
"type": "string",
|
|
1832
|
+
"description": "The source IP address to use for TCP connection"
|
|
1827
1833
|
},
|
|
1828
1834
|
"user": {
|
|
1829
|
-
"type": "string"
|
|
1835
|
+
"type": "string",
|
|
1836
|
+
"description": "The MySQL user to authenticate as"
|
|
1830
1837
|
},
|
|
1831
1838
|
"password": {
|
|
1832
|
-
"type": "string"
|
|
1839
|
+
"type": "string",
|
|
1840
|
+
"description": "The password of that MySQL user"
|
|
1833
1841
|
},
|
|
1834
1842
|
"database": {
|
|
1835
|
-
"type": "string"
|
|
1843
|
+
"type": "string",
|
|
1844
|
+
"description": "Name of the database to use for this connection"
|
|
1845
|
+
},
|
|
1846
|
+
"ssl": {
|
|
1847
|
+
"$ref": "#/definitions/MySQLSSLOptions",
|
|
1848
|
+
"description": "SSL Options for your MySQL connection"
|
|
1836
1849
|
},
|
|
1837
1850
|
"pool": {
|
|
1838
1851
|
"anyOf": [
|
|
@@ -1889,6 +1902,21 @@ export const jsonSchema = {
|
|
|
1889
1902
|
"fields"
|
|
1890
1903
|
]
|
|
1891
1904
|
},
|
|
1905
|
+
"MySQLSSLOptions": {
|
|
1906
|
+
"additionalProperties": false,
|
|
1907
|
+
"type": "object",
|
|
1908
|
+
"title": "MySQLSSLOptions",
|
|
1909
|
+
"properties": {
|
|
1910
|
+
"rejectUnauthorized": {
|
|
1911
|
+
"type": "boolean",
|
|
1912
|
+
"description": "Default: true"
|
|
1913
|
+
},
|
|
1914
|
+
"ca": {
|
|
1915
|
+
"type": "string",
|
|
1916
|
+
"description": "Path to your CA"
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1892
1920
|
"Neo4jHandler": {
|
|
1893
1921
|
"additionalProperties": false,
|
|
1894
1922
|
"type": "object",
|
package/esm/config-schema.json
CHANGED
|
@@ -1741,19 +1741,32 @@
|
|
|
1741
1741
|
"title": "MySQLHandler",
|
|
1742
1742
|
"properties": {
|
|
1743
1743
|
"host": {
|
|
1744
|
-
"type": "string"
|
|
1744
|
+
"type": "string",
|
|
1745
|
+
"description": "The hostname of the database you are connecting to. (Default: localhost)"
|
|
1745
1746
|
},
|
|
1746
1747
|
"port": {
|
|
1747
|
-
"type": "integer"
|
|
1748
|
+
"type": "integer",
|
|
1749
|
+
"description": "The port number to connect to. (Default: 3306)"
|
|
1750
|
+
},
|
|
1751
|
+
"localAddress": {
|
|
1752
|
+
"type": "string",
|
|
1753
|
+
"description": "The source IP address to use for TCP connection"
|
|
1748
1754
|
},
|
|
1749
1755
|
"user": {
|
|
1750
|
-
"type": "string"
|
|
1756
|
+
"type": "string",
|
|
1757
|
+
"description": "The MySQL user to authenticate as"
|
|
1751
1758
|
},
|
|
1752
1759
|
"password": {
|
|
1753
|
-
"type": "string"
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"description": "The password of that MySQL user"
|
|
1754
1762
|
},
|
|
1755
1763
|
"database": {
|
|
1756
|
-
"type": "string"
|
|
1764
|
+
"type": "string",
|
|
1765
|
+
"description": "Name of the database to use for this connection"
|
|
1766
|
+
},
|
|
1767
|
+
"ssl": {
|
|
1768
|
+
"$ref": "#/definitions/MySQLSSLOptions",
|
|
1769
|
+
"description": "SSL Options for your MySQL connection"
|
|
1757
1770
|
},
|
|
1758
1771
|
"pool": {
|
|
1759
1772
|
"anyOf": [
|
|
@@ -1807,6 +1820,21 @@
|
|
|
1807
1820
|
},
|
|
1808
1821
|
"required": ["table", "fields"]
|
|
1809
1822
|
},
|
|
1823
|
+
"MySQLSSLOptions": {
|
|
1824
|
+
"additionalProperties": false,
|
|
1825
|
+
"type": "object",
|
|
1826
|
+
"title": "MySQLSSLOptions",
|
|
1827
|
+
"properties": {
|
|
1828
|
+
"rejectUnauthorized": {
|
|
1829
|
+
"type": "boolean",
|
|
1830
|
+
"description": "Default: true"
|
|
1831
|
+
},
|
|
1832
|
+
"ca": {
|
|
1833
|
+
"type": "string",
|
|
1834
|
+
"description": "Path to your CA"
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1810
1838
|
"Neo4jHandler": {
|
|
1811
1839
|
"additionalProperties": false,
|
|
1812
1840
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/types",
|
|
3
|
-
"version": "0.94.
|
|
3
|
+
"version": "0.94.4-alpha-20230713134914-3bdc4dfa1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/store": "
|
|
6
|
+
"@graphql-mesh/store": "0.94.4-alpha-20230713134914-3bdc4dfa1",
|
|
7
7
|
"@graphql-tools/utils": "^9.2.1 || ^10.0.0",
|
|
8
8
|
"graphql": "*",
|
|
9
9
|
"tslib": "^2.4.0"
|
package/typings/config.d.cts
CHANGED
|
@@ -721,11 +721,31 @@ export interface TypeConverterResolversOpts1 {
|
|
|
721
721
|
pagination?: boolean | PaginationResolverOpts;
|
|
722
722
|
}
|
|
723
723
|
export interface MySQLHandler {
|
|
724
|
+
/**
|
|
725
|
+
* The hostname of the database you are connecting to. (Default: localhost)
|
|
726
|
+
*/
|
|
724
727
|
host?: string;
|
|
728
|
+
/**
|
|
729
|
+
* The port number to connect to. (Default: 3306)
|
|
730
|
+
*/
|
|
725
731
|
port?: number;
|
|
732
|
+
/**
|
|
733
|
+
* The source IP address to use for TCP connection
|
|
734
|
+
*/
|
|
735
|
+
localAddress?: string;
|
|
736
|
+
/**
|
|
737
|
+
* The MySQL user to authenticate as
|
|
738
|
+
*/
|
|
726
739
|
user?: string;
|
|
740
|
+
/**
|
|
741
|
+
* The password of that MySQL user
|
|
742
|
+
*/
|
|
727
743
|
password?: string;
|
|
744
|
+
/**
|
|
745
|
+
* Name of the database to use for this connection
|
|
746
|
+
*/
|
|
728
747
|
database?: string;
|
|
748
|
+
ssl?: MySQLSSLOptions;
|
|
729
749
|
/**
|
|
730
750
|
* Use existing `Pool` instance
|
|
731
751
|
* Format: modulePath#exportName
|
|
@@ -740,6 +760,19 @@ export interface MySQLHandler {
|
|
|
740
760
|
*/
|
|
741
761
|
tableFields?: TableField[];
|
|
742
762
|
}
|
|
763
|
+
/**
|
|
764
|
+
* SSL Options for your MySQL connection
|
|
765
|
+
*/
|
|
766
|
+
export interface MySQLSSLOptions {
|
|
767
|
+
/**
|
|
768
|
+
* Default: true
|
|
769
|
+
*/
|
|
770
|
+
rejectUnauthorized?: boolean;
|
|
771
|
+
/**
|
|
772
|
+
* Path to your CA
|
|
773
|
+
*/
|
|
774
|
+
ca?: string;
|
|
775
|
+
}
|
|
743
776
|
export interface TableField {
|
|
744
777
|
table: string;
|
|
745
778
|
fields: string[];
|
package/typings/config.d.ts
CHANGED
|
@@ -721,11 +721,31 @@ export interface TypeConverterResolversOpts1 {
|
|
|
721
721
|
pagination?: boolean | PaginationResolverOpts;
|
|
722
722
|
}
|
|
723
723
|
export interface MySQLHandler {
|
|
724
|
+
/**
|
|
725
|
+
* The hostname of the database you are connecting to. (Default: localhost)
|
|
726
|
+
*/
|
|
724
727
|
host?: string;
|
|
728
|
+
/**
|
|
729
|
+
* The port number to connect to. (Default: 3306)
|
|
730
|
+
*/
|
|
725
731
|
port?: number;
|
|
732
|
+
/**
|
|
733
|
+
* The source IP address to use for TCP connection
|
|
734
|
+
*/
|
|
735
|
+
localAddress?: string;
|
|
736
|
+
/**
|
|
737
|
+
* The MySQL user to authenticate as
|
|
738
|
+
*/
|
|
726
739
|
user?: string;
|
|
740
|
+
/**
|
|
741
|
+
* The password of that MySQL user
|
|
742
|
+
*/
|
|
727
743
|
password?: string;
|
|
744
|
+
/**
|
|
745
|
+
* Name of the database to use for this connection
|
|
746
|
+
*/
|
|
728
747
|
database?: string;
|
|
748
|
+
ssl?: MySQLSSLOptions;
|
|
729
749
|
/**
|
|
730
750
|
* Use existing `Pool` instance
|
|
731
751
|
* Format: modulePath#exportName
|
|
@@ -740,6 +760,19 @@ export interface MySQLHandler {
|
|
|
740
760
|
*/
|
|
741
761
|
tableFields?: TableField[];
|
|
742
762
|
}
|
|
763
|
+
/**
|
|
764
|
+
* SSL Options for your MySQL connection
|
|
765
|
+
*/
|
|
766
|
+
export interface MySQLSSLOptions {
|
|
767
|
+
/**
|
|
768
|
+
* Default: true
|
|
769
|
+
*/
|
|
770
|
+
rejectUnauthorized?: boolean;
|
|
771
|
+
/**
|
|
772
|
+
* Path to your CA
|
|
773
|
+
*/
|
|
774
|
+
ca?: string;
|
|
775
|
+
}
|
|
743
776
|
export interface TableField {
|
|
744
777
|
table: string;
|
|
745
778
|
fields: string[];
|