-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update SPI Info * Update API Docs workflow * Update CI * Add DocC bundle * Wrap exports * Fix the imports
- Loading branch information
Showing
13 changed files
with
58 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
name: deploy-api-docs | ||
on: | ||
push: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
name: api.vapor.codes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Deploy api-docs | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: vapor.codes | ||
username: vapor | ||
key: ${{ secrets.VAPOR_CODES_SSH_KEY }} | ||
script: ./github-actions/deploy-api-docs.sh | ||
build-and-deploy: | ||
uses: vapor/api-docs/.github/workflows/build-and-deploy-docs-workflow.yml@main | ||
secrets: inherit | ||
with: | ||
package_name: mysql-kit | ||
modules: MySQLKit | ||
pathsToInvalidate: /mysqlkit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
version: 1 | ||
metadata: | ||
authors: “Maintained by the Vapor Core Team with hundreds of contributions from the Vapor Community.” | ||
authors: "Maintained by the Vapor Core Team with hundreds of contributions from the Vapor Community." | ||
external_links: | ||
documentation: "https://api.vapor.codes/postgreskit/documentation/postgreskit/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ``MySQLKit`` | ||
|
||
MySQLKit is a library to provide a simple Swift interface to MySQLNIO using SQLKit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
#if !BUILDING_DOCC | ||
|
||
@_exported import MySQLNIO | ||
@_exported import AsyncKit | ||
@_exported import SQLKit | ||
@_exported import struct Foundation.URL | ||
@_exported import struct Foundation.Data | ||
@_exported import struct NIOSSL.TLSConfiguration | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import Foundation | ||
import MySQLNIO | ||
|
||
public struct MySQLDataEncoder { | ||
let json: JSONEncoder | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
import MySQLNIO | ||
import SQLKit | ||
|
||
extension MySQLDatabase { | ||
public func sql( | ||
encoder: MySQLDataEncoder = .init(), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters