Aaron Sky
a776055fb4
CI enhancements ( #6 )
...
* Revise CI to prepare for better examples
* I thought I deleted that
* Rename jobs
2022-06-06 09:02:18 -04:00
Aaron Sky
2dc98bc628
Support tokens as a dynamic, generic construct ( #4 )
...
* Support tokens as a dynamic, generic construct
This new design will make it so a single client can be used with all sorts of API, even though the authorization requirements for different API versions require different tokens.
* update tokenprovider docs
2022-06-06 06:38:18 -04:00
Aaron Sky
520d377c97
Update the workflow status badge
2022-06-04 20:22:18 -04:00
Aaron Sky
6eba280035
some small docs
2022-06-04 20:13:00 -04:00
Aaron Sky
618a7976f0
Raise minimum to iOS 13/macOS 10.15
2022-06-04 20:09:03 -04:00
Aaron Sky
eeeb1ae194
Support for the /meta endpoint
2022-06-04 19:49:11 -04:00
Aaron Sky
587811d65e
Add Swift Concurrency backport support
2021-12-11 22:37:08 -05:00
Aaron Sky
bb7805b5c1
Some minor documentation enhancements
2021-12-11 22:16:08 -05:00
Aaron Sky
c2916a1877
Consolidate example targets into main package
2021-08-29 00:07:08 -04:00
Aaron Sky
357ab2776c
Followable URLs are now followable resources
2021-08-28 23:55:23 -04:00
Aaron Sky
25000a03b2
Simplified declarations and removed generic-specialized client
2021-08-28 10:48:43 -04:00
Aaron Sky
85b6c7a796
Refactored Resource interface for better ergonomics
2021-08-22 12:40:06 -04:00
Aaron Sky
ea5f50b12d
Fix visibility issue with new async/await methods
2021-08-18 20:51:49 -04:00
Aaron Sky
a1c8937aa1
trying out async/await without breaking old support
2021-08-16 21:06:56 -04:00
Aaron Sky
964aa5976f
Create a new decoder/encoder on-demand to prevent state-locking issues
2020-07-02 07:54:50 -04:00
Aaron Sky
57788f44a9
Corrected a bug in Emoji where an emoji with no aliases would not deserialize
2020-06-27 20:41:12 -04:00
Aaron Sky
7ae8255eab
Updated for Xcode 12 beta 1
2020-06-22 20:57:50 -04:00
Aaron Sky
321115c2bc
Added some more tests and niceties to GraphQL.Content
2020-05-27 23:30:47 -04:00
Aaron Sky
e679c00e41
Merge pull request #3 from aaronsky/graphql_content_as_sum_type
...
Trying out GraphQL.Content as a sum type to see if this is compatible with the API
2020-05-26 22:46:47 -04:00
Aaron Sky
bd8c3a97c0
Trying out GraphQL.Content as a sum type to see if this is compatible with the API
2020-05-26 15:59:47 -04:00
Aaron Sky
8af051e8ff
Removed Encodable requirement for GraphQL.Content, and added subscripts to JSONValue
2020-05-24 19:29:28 -04:00
Aaron Sky
6a756d1f03
The Everyone team has no description and no user creator by default, which makes sense
2020-05-24 17:23:55 -04:00
Aaron Sky
7ac26dfc93
I can't believe I forgot to add a symbol for 204 No Content responses
2020-05-24 16:49:45 -04:00
Aaron Sky
0b958010cd
Renamed Buildkite to BuildkiteClient
2020-05-24 16:38:38 -04:00
Aaron Sky
f618cab94f
Fixed a missing public memberwise init
2020-05-23 22:10:19 -04:00
Aaron Sky
8eaed4c74f
Corrected some syntax errors in my example code
2020-05-19 09:09:29 -04:00
Aaron Sky
699bafe828
Updated README.md
2020-05-19 08:56:47 -04:00
Aaron Sky
135510dcb9
Resources now declare their required API versions, making GraphQL support a little cleaner
2020-05-19 08:42:25 -04:00
Aaron Sky
e4ae58b14b
Run unit tests on macOS too
2020-05-19 01:38:51 -04:00
Aaron Sky
47687d66d0
Fixes a crashing URL test on Linux
...
Apparently, Foundation's URL#appendingPathComponent crashes cryptically on Linux
if you pass it an empty string. Isn't that fun?
2020-05-19 01:35:07 -04:00
Aaron Sky
44fde33a21
Removed disabled tests that are still not supported on Linux yet
2020-05-19 01:14:00 -04:00
Aaron Sky
59d1044c08
Added missing imports to fix Linux build
2020-05-19 01:10:54 -04:00
Aaron Sky
97b8cdd247
Preliminary GraphQL support :o
2020-05-19 01:08:22 -04:00
Aaron Sky
3f610742f2
All Resources now declare content, making specialziation easier
2020-05-16 10:40:45 -04:00
Aaron Sky
2ac2bbf9c8
a command's name can be null too
2020-05-16 10:06:00 -04:00
Aaron Sky
750be47a49
fixed unit tests
2020-05-15 22:34:32 -04:00
Aaron Sky
1526e2af23
Added state property to Job.Command
2020-05-15 21:55:39 -04:00
Aaron Sky
733abbf786
Builds and jobs can sometimes be missing a scheduledAt date
2020-05-14 08:23:17 -04:00
Aaron Sky
6e6a8af44e
ran swiftlint
2020-05-08 13:17:46 -04:00
Aaron Sky
fd055faf61
Revert "Trying this thing out to get String decoding on Linux working"
...
This reverts commit 726b70cab9
.
2020-05-08 13:16:59 -04:00
Aaron Sky
726b70cab9
Trying this thing out to get String decoding on Linux working
2020-05-08 13:15:14 -04:00
Aaron Sky
caa056b706
Removed support for alternative LogOutput formats on Linux due to JSONDecoder deficiencies
2020-05-08 12:44:01 -04:00
Aaron Sky
7a973ce345
Rebuilt LinuxMain.swift
2020-05-08 10:07:55 -04:00
Aaron Sky
9481c26290
Added support for Buildkite's JSON errors, and wrote more tests for pagination
2020-05-08 10:06:46 -04:00
Aaron Sky
2865672821
Added some notes for URLs that are associated with Buildkite APIs
2020-05-07 22:47:21 -04:00
Aaron Sky
27d6c43c4f
Made most models Identifiable for convenience with SwiftUI
2020-05-07 22:30:57 -04:00
Aaron Sky
cf4603db2f
Made exitStatus nullable
2020-05-07 21:10:07 -04:00
Aaron Sky
ed0860a77a
Revised approach to pagination – now the options are fed through the client instead of the resource
2020-05-07 17:54:28 -04:00
Aaron Sky
9a4534edf4
Made Pagination properties easier to discern via protocol
2020-05-07 15:50:00 -04:00
Aaron Sky
ab1946d778
Added Teams endpoint, and fixed file header copyrighting
2020-05-07 00:24:33 -04:00