@distilled.cloud/fly-io 0.30.3 → 1.0.0-rc.10
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/LICENSE +201 -0
- package/lib/credentials.d.ts +24 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +51 -5
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +54 -4
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +46 -7
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +30 -8
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +30 -8
- package/lib/index.js.map +1 -1
- package/lib/pagination.d.ts +5 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +5 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +60 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +541 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +4 -4
- package/lib/retry.js +4 -4
- package/lib/services/addons.d.ts +466 -0
- package/lib/services/addons.d.ts.map +1 -0
- package/lib/services/addons.js +613 -0
- package/lib/services/addons.js.map +1 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +6 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/machines.d.ts +2763 -0
- package/lib/services/machines.d.ts.map +1 -0
- package/lib/services/machines.js +3087 -0
- package/lib/services/machines.js.map +1 -0
- package/lib/services/mpg.d.ts +376 -0
- package/lib/services/mpg.d.ts.map +1 -0
- package/lib/services/mpg.js +570 -0
- package/lib/services/mpg.js.map +1 -0
- package/lib/services/sprites.d.ts +321 -0
- package/lib/services/sprites.d.ts.map +1 -0
- package/lib/services/sprites.js +407 -0
- package/lib/services/sprites.js.map +1 -0
- package/lib/traits.d.ts +18 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +18 -2
- package/lib/traits.js.map +1 -1
- package/package.json +61 -41
- package/src/credentials.ts +65 -5
- package/src/errors.ts +65 -8
- package/src/index.ts +40 -8
- package/src/pagination.ts +12 -0
- package/src/protocol.ts +774 -0
- package/src/retry.ts +4 -4
- package/src/services/addons.ts +1313 -0
- package/src/services/index.ts +5 -0
- package/src/services/machines.ts +7438 -0
- package/src/services/mpg.ts +1188 -0
- package/src/services/sprites.ts +917 -0
- package/src/traits.ts +76 -2
- package/README.md +0 -69
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -11
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -56
- package/lib/client.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +0 -61
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +0 -72
- package/lib/operations/AppCertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +0 -62
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +0 -76
- package/lib/operations/AppCertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/AppCertificatesCheck.d.ts +0 -71
- package/lib/operations/AppCertificatesCheck.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCheck.js +0 -85
- package/lib/operations/AppCertificatesCheck.js.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +0 -64
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.js +0 -76
- package/lib/operations/AppCertificatesCustomCreate.js.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +0 -63
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.js +0 -77
- package/lib/operations/AppCertificatesCustomDelete.js.map +0 -1
- package/lib/operations/AppCertificatesDelete.d.ts +0 -17
- package/lib/operations/AppCertificatesDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesDelete.js +0 -27
- package/lib/operations/AppCertificatesDelete.js.map +0 -1
- package/lib/operations/AppCertificatesList.d.ts +0 -39
- package/lib/operations/AppCertificatesList.d.ts.map +0 -1
- package/lib/operations/AppCertificatesList.js +0 -46
- package/lib/operations/AppCertificatesList.js.map +0 -1
- package/lib/operations/AppCertificatesShow.d.ts +0 -62
- package/lib/operations/AppCertificatesShow.d.ts.map +0 -1
- package/lib/operations/AppCertificatesShow.js +0 -73
- package/lib/operations/AppCertificatesShow.js.map +0 -1
- package/lib/operations/AppCreateDeployToken.d.ts +0 -18
- package/lib/operations/AppCreateDeployToken.d.ts.map +0 -1
- package/lib/operations/AppCreateDeployToken.js +0 -25
- package/lib/operations/AppCreateDeployToken.js.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +0 -26
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.js +0 -33
- package/lib/operations/AppIPAssignmentsCreate.js.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +0 -17
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.js +0 -24
- package/lib/operations/AppIPAssignmentsDelete.js.map +0 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +0 -23
- package/lib/operations/AppIPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsList.js +0 -30
- package/lib/operations/AppIPAssignmentsList.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts +0 -104
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.js +0 -69
- package/lib/operations/App_CertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +0 -100
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.js +0 -70
- package/lib/operations/App_CertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/App_CertificatesCheck.d.ts +0 -118
- package/lib/operations/App_CertificatesCheck.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCheck.js +0 -79
- package/lib/operations/App_CertificatesCheck.js.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.d.ts +0 -108
- package/lib/operations/App_CertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.js +0 -72
- package/lib/operations/App_CertificatesCustomCreate.js.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts +0 -102
- package/lib/operations/App_CertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.js +0 -72
- package/lib/operations/App_CertificatesCustomDelete.js.map +0 -1
- package/lib/operations/App_CertificatesDelete.d.ts +0 -10
- package/lib/operations/App_CertificatesDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesDelete.js +0 -20
- package/lib/operations/App_CertificatesDelete.js.map +0 -1
- package/lib/operations/App_CertificatesList.d.ts +0 -58
- package/lib/operations/App_CertificatesList.d.ts.map +0 -1
- package/lib/operations/App_CertificatesList.js +0 -44
- package/lib/operations/App_CertificatesList.js.map +0 -1
- package/lib/operations/App_CertificatesShow.d.ts +0 -100
- package/lib/operations/App_CertificatesShow.d.ts.map +0 -1
- package/lib/operations/App_CertificatesShow.js +0 -67
- package/lib/operations/App_CertificatesShow.js.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts +0 -34
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.js +0 -30
- package/lib/operations/App_IPAssignmentsCreate.js.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts +0 -10
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.js +0 -17
- package/lib/operations/App_IPAssignmentsDelete.js.map +0 -1
- package/lib/operations/App_IPAssignmentsList.d.ts +0 -26
- package/lib/operations/App_IPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsList.js +0 -26
- package/lib/operations/App_IPAssignmentsList.js.map +0 -1
- package/lib/operations/AppsCreate.d.ts +0 -18
- package/lib/operations/AppsCreate.d.ts.map +0 -1
- package/lib/operations/AppsCreate.js +0 -24
- package/lib/operations/AppsCreate.js.map +0 -1
- package/lib/operations/AppsDelete.d.ts +0 -17
- package/lib/operations/AppsDelete.d.ts.map +0 -1
- package/lib/operations/AppsDelete.js +0 -23
- package/lib/operations/AppsDelete.js.map +0 -1
- package/lib/operations/AppsList.d.ts +0 -35
- package/lib/operations/AppsList.d.ts.map +0 -1
- package/lib/operations/AppsList.js +0 -40
- package/lib/operations/AppsList.js.map +0 -1
- package/lib/operations/AppsShow.d.ts +0 -30
- package/lib/operations/AppsShow.d.ts.map +0 -1
- package/lib/operations/AppsShow.js +0 -35
- package/lib/operations/AppsShow.js.map +0 -1
- package/lib/operations/CurrentTokenShow.d.ts +0 -23
- package/lib/operations/CurrentTokenShow.d.ts.map +0 -1
- package/lib/operations/CurrentTokenShow.js +0 -26
- package/lib/operations/CurrentTokenShow.js.map +0 -1
- package/lib/operations/MachinesCordon.d.ts +0 -19
- package/lib/operations/MachinesCordon.d.ts.map +0 -1
- package/lib/operations/MachinesCordon.js +0 -28
- package/lib/operations/MachinesCordon.js.map +0 -1
- package/lib/operations/MachinesCreate.d.ts +0 -810
- package/lib/operations/MachinesCreate.d.ts.map +0 -1
- package/lib/operations/MachinesCreate.js +0 -917
- package/lib/operations/MachinesCreate.js.map +0 -1
- package/lib/operations/MachinesCreateLease.d.ts +0 -28
- package/lib/operations/MachinesCreateLease.d.ts.map +0 -1
- package/lib/operations/MachinesCreateLease.js +0 -38
- package/lib/operations/MachinesCreateLease.js.map +0 -1
- package/lib/operations/MachinesDelete.d.ts +0 -21
- package/lib/operations/MachinesDelete.d.ts.map +0 -1
- package/lib/operations/MachinesDelete.js +0 -27
- package/lib/operations/MachinesDelete.js.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts +0 -21
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.js +0 -31
- package/lib/operations/MachinesDeleteMetadata.js.map +0 -1
- package/lib/operations/MachinesExec.d.ts +0 -29
- package/lib/operations/MachinesExec.d.ts.map +0 -1
- package/lib/operations/MachinesExec.js +0 -37
- package/lib/operations/MachinesExec.js.map +0 -1
- package/lib/operations/MachinesGetMemory.d.ts +0 -22
- package/lib/operations/MachinesGetMemory.d.ts.map +0 -1
- package/lib/operations/MachinesGetMemory.js +0 -31
- package/lib/operations/MachinesGetMemory.js.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts +0 -23
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.js +0 -33
- package/lib/operations/MachinesGetMetadataKey.js.map +0 -1
- package/lib/operations/MachinesList.d.ts +0 -559
- package/lib/operations/MachinesList.d.ts.map +0 -1
- package/lib/operations/MachinesList.js +0 -642
- package/lib/operations/MachinesList.js.map +0 -1
- package/lib/operations/MachinesListEvents.d.ts +0 -28
- package/lib/operations/MachinesListEvents.d.ts.map +0 -1
- package/lib/operations/MachinesListEvents.js +0 -38
- package/lib/operations/MachinesListEvents.js.map +0 -1
- package/lib/operations/MachinesListProcesses.d.ts +0 -35
- package/lib/operations/MachinesListProcesses.d.ts.map +0 -1
- package/lib/operations/MachinesListProcesses.js +0 -45
- package/lib/operations/MachinesListProcesses.js.map +0 -1
- package/lib/operations/MachinesListVersions.d.ts +0 -272
- package/lib/operations/MachinesListVersions.d.ts.map +0 -1
- package/lib/operations/MachinesListVersions.js +0 -321
- package/lib/operations/MachinesListVersions.js.map +0 -1
- package/lib/operations/MachinesOrgList.d.ts +0 -63
- package/lib/operations/MachinesOrgList.d.ts.map +0 -1
- package/lib/operations/MachinesOrgList.js +0 -68
- package/lib/operations/MachinesOrgList.js.map +0 -1
- package/lib/operations/MachinesPatchMetadata.d.ts +0 -23
- package/lib/operations/MachinesPatchMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesPatchMetadata.js +0 -31
- package/lib/operations/MachinesPatchMetadata.js.map +0 -1
- package/lib/operations/MachinesReclaimMemory.d.ts +0 -22
- package/lib/operations/MachinesReclaimMemory.d.ts.map +0 -1
- package/lib/operations/MachinesReclaimMemory.js +0 -32
- package/lib/operations/MachinesReclaimMemory.js.map +0 -1
- package/lib/operations/MachinesReleaseLease.d.ts +0 -20
- package/lib/operations/MachinesReleaseLease.d.ts.map +0 -1
- package/lib/operations/MachinesReleaseLease.js +0 -30
- package/lib/operations/MachinesReleaseLease.js.map +0 -1
- package/lib/operations/MachinesRestart.d.ts +0 -23
- package/lib/operations/MachinesRestart.d.ts.map +0 -1
- package/lib/operations/MachinesRestart.js +0 -40
- package/lib/operations/MachinesRestart.js.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts +0 -23
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.js +0 -33
- package/lib/operations/MachinesSetMemoryLimit.js.map +0 -1
- package/lib/operations/MachinesShow.d.ts +0 -553
- package/lib/operations/MachinesShow.d.ts.map +0 -1
- package/lib/operations/MachinesShow.js +0 -626
- package/lib/operations/MachinesShow.js.map +0 -1
- package/lib/operations/MachinesShowLease.d.ts +0 -25
- package/lib/operations/MachinesShowLease.d.ts.map +0 -1
- package/lib/operations/MachinesShowLease.js +0 -34
- package/lib/operations/MachinesShowLease.js.map +0 -1
- package/lib/operations/MachinesShowMetadata.d.ts +0 -19
- package/lib/operations/MachinesShowMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesShowMetadata.js +0 -29
- package/lib/operations/MachinesShowMetadata.js.map +0 -1
- package/lib/operations/MachinesSignal.d.ts +0 -20
- package/lib/operations/MachinesSignal.d.ts.map +0 -1
- package/lib/operations/MachinesSignal.js +0 -44
- package/lib/operations/MachinesSignal.js.map +0 -1
- package/lib/operations/MachinesStart.d.ts +0 -19
- package/lib/operations/MachinesStart.d.ts.map +0 -1
- package/lib/operations/MachinesStart.js +0 -28
- package/lib/operations/MachinesStart.js.map +0 -1
- package/lib/operations/MachinesStop.d.ts +0 -21
- package/lib/operations/MachinesStop.d.ts.map +0 -1
- package/lib/operations/MachinesStop.js +0 -38
- package/lib/operations/MachinesStop.js.map +0 -1
- package/lib/operations/MachinesSuspend.d.ts +0 -19
- package/lib/operations/MachinesSuspend.d.ts.map +0 -1
- package/lib/operations/MachinesSuspend.js +0 -28
- package/lib/operations/MachinesSuspend.js.map +0 -1
- package/lib/operations/MachinesUncordon.d.ts +0 -19
- package/lib/operations/MachinesUncordon.d.ts.map +0 -1
- package/lib/operations/MachinesUncordon.js +0 -28
- package/lib/operations/MachinesUncordon.js.map +0 -1
- package/lib/operations/MachinesUpdate.d.ts +0 -812
- package/lib/operations/MachinesUpdate.d.ts.map +0 -1
- package/lib/operations/MachinesUpdate.js +0 -919
- package/lib/operations/MachinesUpdate.js.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.js +0 -33
- package/lib/operations/MachinesUpdateMetadata.js.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.js +0 -33
- package/lib/operations/MachinesUpsertMetadata.js.map +0 -1
- package/lib/operations/MachinesWait.d.ts +0 -35
- package/lib/operations/MachinesWait.d.ts.map +0 -1
- package/lib/operations/MachinesWait.js +0 -50
- package/lib/operations/MachinesWait.js.map +0 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +0 -37
- package/lib/operations/PlatformPlacementsPost.d.ts.map +0 -1
- package/lib/operations/PlatformPlacementsPost.js +0 -44
- package/lib/operations/PlatformPlacementsPost.js.map +0 -1
- package/lib/operations/PlatformRegionsGet.d.ts +0 -26
- package/lib/operations/PlatformRegionsGet.d.ts.map +0 -1
- package/lib/operations/PlatformRegionsGet.js +0 -32
- package/lib/operations/PlatformRegionsGet.js.map +0 -1
- package/lib/operations/SecretCreate.d.ts +0 -26
- package/lib/operations/SecretCreate.d.ts.map +0 -1
- package/lib/operations/SecretCreate.js +0 -31
- package/lib/operations/SecretCreate.js.map +0 -1
- package/lib/operations/SecretDelete.d.ts +0 -20
- package/lib/operations/SecretDelete.d.ts.map +0 -1
- package/lib/operations/SecretDelete.js +0 -25
- package/lib/operations/SecretDelete.js.map +0 -1
- package/lib/operations/SecretGet.d.ts +0 -27
- package/lib/operations/SecretGet.d.ts.map +0 -1
- package/lib/operations/SecretGet.js +0 -32
- package/lib/operations/SecretGet.js.map +0 -1
- package/lib/operations/SecretkeyDecrypt.d.ts +0 -23
- package/lib/operations/SecretkeyDecrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyDecrypt.js +0 -31
- package/lib/operations/SecretkeyDecrypt.js.map +0 -1
- package/lib/operations/SecretkeyDelete.d.ts +0 -20
- package/lib/operations/SecretkeyDelete.d.ts.map +0 -1
- package/lib/operations/SecretkeyDelete.js +0 -28
- package/lib/operations/SecretkeyDelete.js.map +0 -1
- package/lib/operations/SecretkeyEncrypt.d.ts +0 -23
- package/lib/operations/SecretkeyEncrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyEncrypt.js +0 -31
- package/lib/operations/SecretkeyEncrypt.js.map +0 -1
- package/lib/operations/SecretkeyGenerate.d.ts +0 -27
- package/lib/operations/SecretkeyGenerate.d.ts.map +0 -1
- package/lib/operations/SecretkeyGenerate.js +0 -36
- package/lib/operations/SecretkeyGenerate.js.map +0 -1
- package/lib/operations/SecretkeyGet.d.ts +0 -25
- package/lib/operations/SecretkeyGet.d.ts.map +0 -1
- package/lib/operations/SecretkeyGet.js +0 -30
- package/lib/operations/SecretkeyGet.js.map +0 -1
- package/lib/operations/SecretkeySet.d.ts +0 -27
- package/lib/operations/SecretkeySet.d.ts.map +0 -1
- package/lib/operations/SecretkeySet.js +0 -32
- package/lib/operations/SecretkeySet.js.map +0 -1
- package/lib/operations/SecretkeySign.d.ts +0 -22
- package/lib/operations/SecretkeySign.d.ts.map +0 -1
- package/lib/operations/SecretkeySign.js +0 -30
- package/lib/operations/SecretkeySign.js.map +0 -1
- package/lib/operations/SecretkeyVerify.d.ts +0 -21
- package/lib/operations/SecretkeyVerify.d.ts.map +0 -1
- package/lib/operations/SecretkeyVerify.js +0 -30
- package/lib/operations/SecretkeyVerify.js.map +0 -1
- package/lib/operations/SecretkeysList.d.ts +0 -27
- package/lib/operations/SecretkeysList.d.ts.map +0 -1
- package/lib/operations/SecretkeysList.js +0 -32
- package/lib/operations/SecretkeysList.js.map +0 -1
- package/lib/operations/SecretsList.d.ts +0 -27
- package/lib/operations/SecretsList.d.ts.map +0 -1
- package/lib/operations/SecretsList.js +0 -32
- package/lib/operations/SecretsList.js.map +0 -1
- package/lib/operations/SecretsUpdate.d.ts +0 -26
- package/lib/operations/SecretsUpdate.d.ts.map +0 -1
- package/lib/operations/SecretsUpdate.js +0 -31
- package/lib/operations/SecretsUpdate.js.map +0 -1
- package/lib/operations/TokensAuthenticate.d.ts +0 -26
- package/lib/operations/TokensAuthenticate.d.ts.map +0 -1
- package/lib/operations/TokensAuthenticate.js +0 -33
- package/lib/operations/TokensAuthenticate.js.map +0 -1
- package/lib/operations/TokensAuthorize.d.ts +0 -59
- package/lib/operations/TokensAuthorize.d.ts.map +0 -1
- package/lib/operations/TokensAuthorize.js +0 -64
- package/lib/operations/TokensAuthorize.js.map +0 -1
- package/lib/operations/TokensRequestKms.d.ts +0 -14
- package/lib/operations/TokensRequestKms.d.ts.map +0 -1
- package/lib/operations/TokensRequestKms.js +0 -19
- package/lib/operations/TokensRequestKms.js.map +0 -1
- package/lib/operations/TokensRequestOIDC.d.ts +0 -16
- package/lib/operations/TokensRequestOIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequestOIDC.js +0 -22
- package/lib/operations/TokensRequestOIDC.js.map +0 -1
- package/lib/operations/TokensRequest_Kms.d.ts +0 -12
- package/lib/operations/TokensRequest_Kms.d.ts.map +0 -1
- package/lib/operations/TokensRequest_Kms.js +0 -18
- package/lib/operations/TokensRequest_Kms.js.map +0 -1
- package/lib/operations/TokensRequest_OIDC.d.ts +0 -18
- package/lib/operations/TokensRequest_OIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequest_OIDC.js +0 -22
- package/lib/operations/TokensRequest_OIDC.js.map +0 -1
- package/lib/operations/VolumeDelete.d.ts +0 -41
- package/lib/operations/VolumeDelete.d.ts.map +0 -1
- package/lib/operations/VolumeDelete.js +0 -46
- package/lib/operations/VolumeDelete.js.map +0 -1
- package/lib/operations/VolumesCreate.d.ts +0 -62
- package/lib/operations/VolumesCreate.d.ts.map +0 -1
- package/lib/operations/VolumesCreate.js +0 -67
- package/lib/operations/VolumesCreate.js.map +0 -1
- package/lib/operations/VolumesExtend.d.ts +0 -45
- package/lib/operations/VolumesExtend.d.ts.map +0 -1
- package/lib/operations/VolumesExtend.js +0 -53
- package/lib/operations/VolumesExtend.js.map +0 -1
- package/lib/operations/VolumesGetById.d.ts +0 -41
- package/lib/operations/VolumesGetById.d.ts.map +0 -1
- package/lib/operations/VolumesGetById.js +0 -46
- package/lib/operations/VolumesGetById.js.map +0 -1
- package/lib/operations/VolumesList.d.ts +0 -41
- package/lib/operations/VolumesList.d.ts.map +0 -1
- package/lib/operations/VolumesList.js +0 -46
- package/lib/operations/VolumesList.js.map +0 -1
- package/lib/operations/VolumesListSnapshots.d.ts +0 -27
- package/lib/operations/VolumesListSnapshots.d.ts.map +0 -1
- package/lib/operations/VolumesListSnapshots.js +0 -37
- package/lib/operations/VolumesListSnapshots.js.map +0 -1
- package/lib/operations/VolumesOrgList.d.ts +0 -59
- package/lib/operations/VolumesOrgList.d.ts.map +0 -1
- package/lib/operations/VolumesOrgList.js +0 -63
- package/lib/operations/VolumesOrgList.js.map +0 -1
- package/lib/operations/VolumesUpdate.d.ts +0 -43
- package/lib/operations/VolumesUpdate.d.ts.map +0 -1
- package/lib/operations/VolumesUpdate.js +0 -48
- package/lib/operations/VolumesUpdate.js.map +0 -1
- package/lib/operations/createVolumeSnapshot.d.ts +0 -19
- package/lib/operations/createVolumeSnapshot.d.ts.map +0 -1
- package/lib/operations/createVolumeSnapshot.js +0 -29
- package/lib/operations/createVolumeSnapshot.js.map +0 -1
- package/lib/operations/index.d.ts +0 -77
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -77
- package/lib/operations/index.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/client.ts +0 -71
- package/src/operations/AppCertificatesAcmeCreate.ts +0 -148
- package/src/operations/AppCertificatesAcmeDelete.ts +0 -147
- package/src/operations/AppCertificatesCheck.ts +0 -167
- package/src/operations/AppCertificatesCustomCreate.ts +0 -154
- package/src/operations/AppCertificatesCustomDelete.ts +0 -149
- package/src/operations/AppCertificatesDelete.ts +0 -38
- package/src/operations/AppCertificatesList.ts +0 -81
- package/src/operations/AppCertificatesShow.ts +0 -144
- package/src/operations/AppCreateDeployToken.ts +0 -38
- package/src/operations/AppIPAssignmentsCreate.ts +0 -54
- package/src/operations/AppIPAssignmentsDelete.ts +0 -35
- package/src/operations/AppIPAssignmentsList.ts +0 -52
- package/src/operations/App_CertificatesAcmeCreate.ts +0 -99
- package/src/operations/App_CertificatesAcmeDelete.ts +0 -100
- package/src/operations/App_CertificatesCheck.ts +0 -110
- package/src/operations/App_CertificatesCustomCreate.ts +0 -102
- package/src/operations/App_CertificatesCustomDelete.ts +0 -102
- package/src/operations/App_CertificatesDelete.ts +0 -28
- package/src/operations/App_CertificatesList.ts +0 -52
- package/src/operations/App_CertificatesShow.ts +0 -95
- package/src/operations/App_IPAssignmentsCreate.ts +0 -36
- package/src/operations/App_IPAssignmentsDelete.ts +0 -25
- package/src/operations/App_IPAssignmentsList.ts +0 -37
- package/src/operations/AppsCreate.ts +0 -37
- package/src/operations/AppsDelete.ts +0 -33
- package/src/operations/AppsList.ts +0 -73
- package/src/operations/AppsShow.ts +0 -56
- package/src/operations/CurrentTokenShow.ts +0 -48
- package/src/operations/MachinesCordon.ts +0 -39
- package/src/operations/MachinesCreate.ts +0 -2166
- package/src/operations/MachinesCreateLease.ts +0 -57
- package/src/operations/MachinesDelete.ts +0 -39
- package/src/operations/MachinesDeleteMetadata.ts +0 -43
- package/src/operations/MachinesExec.ts +0 -58
- package/src/operations/MachinesGetMemory.ts +0 -45
- package/src/operations/MachinesGetMetadataKey.ts +0 -47
- package/src/operations/MachinesList.ts +0 -1494
- package/src/operations/MachinesListEvents.ts +0 -59
- package/src/operations/MachinesListProcesses.ts +0 -73
- package/src/operations/MachinesListVersions.ts +0 -742
- package/src/operations/MachinesOrgList.ts +0 -128
- package/src/operations/MachinesPatchMetadata.ts +0 -38
- package/src/operations/MachinesReclaimMemory.ts +0 -46
- package/src/operations/MachinesReleaseLease.ts +0 -41
- package/src/operations/MachinesRestart.ts +0 -62
- package/src/operations/MachinesSetMemoryLimit.ts +0 -48
- package/src/operations/MachinesShow.ts +0 -1473
- package/src/operations/MachinesShowLease.ts +0 -51
- package/src/operations/MachinesShowMetadata.ts +0 -43
- package/src/operations/MachinesSignal.ts +0 -72
- package/src/operations/MachinesStart.ts +0 -39
- package/src/operations/MachinesStop.ts +0 -60
- package/src/operations/MachinesSuspend.ts +0 -39
- package/src/operations/MachinesUncordon.ts +0 -39
- package/src/operations/MachinesUpdate.ts +0 -2170
- package/src/operations/MachinesUpdateMetadata.ts +0 -47
- package/src/operations/MachinesUpsertMetadata.ts +0 -47
- package/src/operations/MachinesWait.ts +0 -79
- package/src/operations/PlatformPlacementsPost.ts +0 -80
- package/src/operations/PlatformRegionsGet.ts +0 -56
- package/src/operations/SecretCreate.ts +0 -51
- package/src/operations/SecretDelete.ts +0 -39
- package/src/operations/SecretGet.ts +0 -51
- package/src/operations/SecretkeyDecrypt.ts +0 -47
- package/src/operations/SecretkeyDelete.ts +0 -42
- package/src/operations/SecretkeyEncrypt.ts +0 -47
- package/src/operations/SecretkeyGenerate.ts +0 -57
- package/src/operations/SecretkeyGet.ts +0 -48
- package/src/operations/SecretkeySet.ts +0 -53
- package/src/operations/SecretkeySign.ts +0 -45
- package/src/operations/SecretkeyVerify.ts +0 -44
- package/src/operations/SecretkeysList.ts +0 -56
- package/src/operations/SecretsList.ts +0 -56
- package/src/operations/SecretsUpdate.ts +0 -56
- package/src/operations/TokensAuthenticate.ts +0 -54
- package/src/operations/TokensAuthorize.ts +0 -122
- package/src/operations/TokensRequestKms.ts +0 -27
- package/src/operations/TokensRequestOIDC.ts +0 -33
- package/src/operations/TokensRequest_Kms.ts +0 -24
- package/src/operations/TokensRequest_OIDC.ts +0 -26
- package/src/operations/VolumeDelete.ts +0 -81
- package/src/operations/VolumesCreate.ts +0 -128
- package/src/operations/VolumesExtend.ts +0 -94
- package/src/operations/VolumesGetById.ts +0 -81
- package/src/operations/VolumesList.ts +0 -83
- package/src/operations/VolumesListSnapshots.ts +0 -58
- package/src/operations/VolumesOrgList.ts +0 -115
- package/src/operations/VolumesUpdate.ts +0 -85
- package/src/operations/createVolumeSnapshot.ts +0 -40
- package/src/operations/index.ts +0 -76
- package/src/sensitive.ts +0 -4
package/src/credentials.ts
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fly.io credentials — hand-written.
|
|
3
|
+
*
|
|
4
|
+
* The `Credentials` service holds an *effect* that resolves the current
|
|
5
|
+
* credentials on every request. The protocol layer resolves it per request
|
|
6
|
+
* and formats the `Authorization` header.
|
|
7
|
+
*
|
|
8
|
+
* Alchemy and `flyctl` read `FLY_API_TOKEN`. `FLY_IO_API_KEY` is kept as a
|
|
9
|
+
* fallback for older distilled consumers. Optional `FLY_API_HOSTNAME`
|
|
10
|
+
* overrides the Machines API host (default `https://api.machines.dev`).
|
|
11
|
+
*
|
|
12
|
+
* Managed REST (MPG), GraphQL add-ons (Tigris, Redis), and Sprites all
|
|
13
|
+
* reuse this token. Sprites never reads a separate env var: the protocol
|
|
14
|
+
* mints a Sprites bearer from `FLY_API_TOKEN` (see `SpritesProtocol`).
|
|
15
|
+
*/
|
|
1
16
|
import { ConfigError } from "@distilled.cloud/core/errors";
|
|
2
17
|
import * as EffectConfig from "effect/Config";
|
|
3
18
|
import * as Context from "effect/Context";
|
|
@@ -5,7 +20,33 @@ import * as Effect from "effect/Effect";
|
|
|
5
20
|
import * as Layer from "effect/Layer";
|
|
6
21
|
import * as Redacted from "effect/Redacted";
|
|
7
22
|
|
|
8
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Machines API host. The generated Machines routes carry the `/v1` prefix
|
|
25
|
+
* (`/v1/apps/{app_name}/machines`), as the upstream OpenAPI spells them, so
|
|
26
|
+
* the base URL must not.
|
|
27
|
+
*/
|
|
28
|
+
export const DEFAULT_API_BASE_URL = "https://api.machines.dev";
|
|
29
|
+
|
|
30
|
+
/** UI-EX REST + GraphQL host (MPG, Tigris, Redis). Not overridable via an invented env var. */
|
|
31
|
+
export const DEFAULT_FLY_API_BASE_URL = "https://api.fly.io";
|
|
32
|
+
|
|
33
|
+
/** Sprites REST root. Auth is a bearer minted from `FLY_API_TOKEN` — never `SPRITES_TOKEN`. */
|
|
34
|
+
export const DEFAULT_SPRITES_API_BASE_URL = "https://api.sprites.dev/v1";
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Normalize a Fly API hostname into the Machines API base URL.
|
|
38
|
+
*
|
|
39
|
+
* - unset / empty → `https://api.machines.dev`
|
|
40
|
+
* - trailing slashes stripped
|
|
41
|
+
* - a trailing `/v1` is dropped: `flyctl` and older consumers set
|
|
42
|
+
* `FLY_API_HOSTNAME` to the `/v1` root, and the routes already carry it
|
|
43
|
+
*/
|
|
44
|
+
export const normalizeApiBaseUrl = (hostname?: string): string => {
|
|
45
|
+
if (hostname === undefined) return DEFAULT_API_BASE_URL;
|
|
46
|
+
const trimmed = hostname.trim().replace(/\/+$/, "");
|
|
47
|
+
if (trimmed.length === 0) return DEFAULT_API_BASE_URL;
|
|
48
|
+
return trimmed.endsWith("/v1") ? trimmed.slice(0, -3) : trimmed;
|
|
49
|
+
};
|
|
9
50
|
|
|
10
51
|
export interface Config {
|
|
11
52
|
readonly apiKey: Redacted.Redacted<string>;
|
|
@@ -18,7 +59,12 @@ export class Credentials extends Context.Service<
|
|
|
18
59
|
>()("Fly-ioCredentials") {}
|
|
19
60
|
|
|
20
61
|
const envConfig = EffectConfig.all({
|
|
21
|
-
apiKey: EffectConfig.
|
|
62
|
+
apiKey: EffectConfig.String("FLY_API_TOKEN").pipe(
|
|
63
|
+
EffectConfig.orElse(() => EffectConfig.String("FLY_IO_API_KEY")),
|
|
64
|
+
),
|
|
65
|
+
apiBaseUrl: EffectConfig.String("FLY_API_HOSTNAME").pipe(
|
|
66
|
+
EffectConfig.withDefault(""),
|
|
67
|
+
),
|
|
22
68
|
});
|
|
23
69
|
|
|
24
70
|
export const CredentialsFromEnv = Layer.succeed(
|
|
@@ -27,13 +73,27 @@ export const CredentialsFromEnv = Layer.succeed(
|
|
|
27
73
|
Effect.mapError(
|
|
28
74
|
() =>
|
|
29
75
|
new ConfigError({
|
|
30
|
-
message:
|
|
76
|
+
message:
|
|
77
|
+
"FLY_API_TOKEN (or FLY_IO_API_KEY) environment variable is required",
|
|
31
78
|
}),
|
|
32
79
|
),
|
|
33
|
-
Effect.map(({ apiKey }) => ({
|
|
80
|
+
Effect.map(({ apiKey, apiBaseUrl }) => ({
|
|
34
81
|
apiKey: Redacted.make(apiKey),
|
|
35
|
-
apiBaseUrl:
|
|
82
|
+
apiBaseUrl: normalizeApiBaseUrl(apiBaseUrl || undefined),
|
|
36
83
|
})),
|
|
37
84
|
Effect.orDie,
|
|
38
85
|
),
|
|
39
86
|
);
|
|
87
|
+
|
|
88
|
+
/** Convenience layer from a plain API token + optional base URL. */
|
|
89
|
+
export const credentials = (config: {
|
|
90
|
+
readonly apiKey: string;
|
|
91
|
+
readonly apiBaseUrl?: string;
|
|
92
|
+
}): Layer.Layer<Credentials> =>
|
|
93
|
+
Layer.succeed(
|
|
94
|
+
Credentials,
|
|
95
|
+
Effect.succeed({
|
|
96
|
+
apiKey: Redacted.make(config.apiKey),
|
|
97
|
+
apiBaseUrl: normalizeApiBaseUrl(config.apiBaseUrl),
|
|
98
|
+
}),
|
|
99
|
+
);
|
package/src/errors.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Fly
|
|
2
|
+
* Fly.io-specific error types.
|
|
3
3
|
*
|
|
4
|
-
* Re-exports common HTTP errors from sdk-core and adds Fly
|
|
5
|
-
* error
|
|
4
|
+
* Re-exports common HTTP errors from sdk-core and adds the Fly.io-specific
|
|
5
|
+
* fallback/parse error types. Fly.io's error model is a pure HTTP-status
|
|
6
|
+
* map: the API answers failures with `{ "error": "..." }` and the protocol
|
|
7
|
+
* maps the status onto the shared core classes (BadRequest / Forbidden /
|
|
8
|
+
* NotFound / Conflict / UnprocessableEntity / ...).
|
|
6
9
|
*/
|
|
7
10
|
export {
|
|
8
11
|
BadGateway,
|
|
@@ -22,13 +25,17 @@ export {
|
|
|
22
25
|
DEFAULT_ERRORS,
|
|
23
26
|
API_ERRORS,
|
|
24
27
|
} from "@distilled.cloud/core/errors";
|
|
25
|
-
|
|
28
|
+
import type { DefaultErrors as CoreDefaultErrors } from "@distilled.cloud/core/errors";
|
|
26
29
|
|
|
27
30
|
import * as Schema from "effect/Schema";
|
|
28
31
|
import * as Category from "@distilled.cloud/core/category";
|
|
32
|
+
import { applyErrorMatchers } from "@distilled.cloud/core/trait";
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Unknown Fly.io error — returned when a failure matches no status-mapped
|
|
36
|
+
* error class. Carries the raw body for later cataloging.
|
|
37
|
+
*/
|
|
38
|
+
export class UnknownFlyIoError extends Schema.TaggedError<UnknownFlyIoError>()(
|
|
32
39
|
"UnknownFlyIoError",
|
|
33
40
|
{
|
|
34
41
|
code: Schema.optional(Schema.String),
|
|
@@ -37,11 +44,61 @@ export class UnknownFlyIoError extends Schema.TaggedErrorClass<UnknownFlyIoError
|
|
|
37
44
|
},
|
|
38
45
|
).pipe(Category.withServerError) {}
|
|
39
46
|
|
|
40
|
-
|
|
41
|
-
export class FlyIoParseError extends Schema.
|
|
47
|
+
/** Schema parse error wrapper. */
|
|
48
|
+
export class FlyIoParseError extends Schema.TaggedError<FlyIoParseError>()(
|
|
42
49
|
"FlyIoParseError",
|
|
43
50
|
{
|
|
44
51
|
body: Schema.Unknown,
|
|
45
52
|
cause: Schema.Unknown,
|
|
46
53
|
},
|
|
47
54
|
).pipe(Category.withParseError) {}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Sprites is not enabled for the Fly organization that owns `FLY_API_TOKEN`.
|
|
58
|
+
*
|
|
59
|
+
* Returned by `POST /v1/organizations/{org}/tokens` as HTTP 401 with a
|
|
60
|
+
* message matching `sprites not enabled`. Sprite CRUD never sees a
|
|
61
|
+
* `SPRITES_TOKEN` — this is the mint-time entitlement signal.
|
|
62
|
+
*/
|
|
63
|
+
export class SpritesNotEnabled extends Schema.TaggedError<SpritesNotEnabled>()(
|
|
64
|
+
"SpritesNotEnabled",
|
|
65
|
+
{
|
|
66
|
+
code: Schema.optional(Schema.Int),
|
|
67
|
+
message: Schema.optional(Schema.String),
|
|
68
|
+
},
|
|
69
|
+
).pipe(Category.withAuthError) {}
|
|
70
|
+
applyErrorMatchers(SpritesNotEnabled, [
|
|
71
|
+
{ status: 401, message: { matches: "[Ss]prites not enabled" } },
|
|
72
|
+
]);
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* The Fly token cannot record add-on provider ToS agreement
|
|
76
|
+
* (`createExtensionTosAgreement`). GraphQL returns this as a 200
|
|
77
|
+
* with `Not authorized to access this createextensiontosagreement`.
|
|
78
|
+
*/
|
|
79
|
+
export class CreateExtensionTosAgreementNotAuthorized extends Schema.TaggedError<CreateExtensionTosAgreementNotAuthorized>()(
|
|
80
|
+
"CreateExtensionTosAgreementNotAuthorized",
|
|
81
|
+
{
|
|
82
|
+
code: Schema.optional(Schema.Int),
|
|
83
|
+
message: Schema.optional(Schema.String),
|
|
84
|
+
},
|
|
85
|
+
).pipe(Category.withAuthError) {}
|
|
86
|
+
applyErrorMatchers(CreateExtensionTosAgreementNotAuthorized, [
|
|
87
|
+
{
|
|
88
|
+
message: {
|
|
89
|
+
matches: "[Nn]ot authorized to access this createextensiontosagreement",
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
]);
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Errors any Fly.io operation may surface in addition to the status-mapped
|
|
96
|
+
* per-operation errors.
|
|
97
|
+
*/
|
|
98
|
+
export type ClientErrors = UnknownFlyIoError | FlyIoParseError;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Default Fly.io operation errors: the shared HTTP status errors from core
|
|
102
|
+
* plus the client-level fallback/decode errors.
|
|
103
|
+
*/
|
|
104
|
+
export type DefaultErrors = CoreDefaultErrors | ClientErrors;
|
package/src/index.ts
CHANGED
|
@@ -1,16 +1,48 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* @distilled.cloud/fly-io — Fly.io SDK for Effect.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* `./services` is generated by `scripts/generate.ts` from the Smithy model
|
|
5
|
+
* written by `scripts/convert.ts` (OpenAPI → Smithy via the shared core
|
|
6
|
+
* converter). Everything else in this folder is hand-written.
|
|
7
|
+
*
|
|
8
|
+
* The generated barrel is re-exported at the package root, same as every
|
|
9
|
+
* other distilled SDK's service modules:
|
|
10
|
+
*
|
|
11
|
+
* @example Package namespace
|
|
5
12
|
* ```ts
|
|
6
|
-
* import * as Fly
|
|
13
|
+
* import * as Fly from "@distilled.cloud/fly-io";
|
|
14
|
+
*
|
|
15
|
+
* yield* Fly.machines.listApps({ org_slug });
|
|
16
|
+
* yield* Fly.mpg.createCluster({
|
|
17
|
+
* name, region, org_slug, plan, pg_major_version: "16", storage_in_gb: 10,
|
|
18
|
+
* });
|
|
19
|
+
* yield* Fly.addons.createAddOn({
|
|
20
|
+
* input: { type: "tigris", name, options: { website: { domain_name: "" } } },
|
|
21
|
+
* });
|
|
22
|
+
* yield* Fly.sprites.createSprite({ name, labels: ["alchemy"] });
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @example Per-service path
|
|
26
|
+
* ```ts
|
|
27
|
+
* import * as Machines from "@distilled.cloud/fly-io/machines";
|
|
28
|
+
*
|
|
29
|
+
* yield* Machines.listApps({ org_slug });
|
|
7
30
|
* ```
|
|
8
31
|
*/
|
|
9
32
|
export * from "./credentials.ts";
|
|
10
|
-
export *
|
|
33
|
+
export * from "./errors.ts";
|
|
11
34
|
export * as T from "./traits.ts";
|
|
35
|
+
export {
|
|
36
|
+
FlyIoProtocol,
|
|
37
|
+
FlyApiProtocol,
|
|
38
|
+
FlyGraphqlProtocol,
|
|
39
|
+
SpritesProtocol,
|
|
40
|
+
MachineIdentity,
|
|
41
|
+
type FlyIoOpError,
|
|
42
|
+
type FlyIoOpContext,
|
|
43
|
+
type SpritesOpError,
|
|
44
|
+
type SpritesOpContext,
|
|
45
|
+
} from "./protocol.ts";
|
|
12
46
|
export * as Retry from "./retry.ts";
|
|
13
|
-
export
|
|
14
|
-
export * from "./
|
|
15
|
-
export * from "./operations/index.ts";
|
|
16
|
-
export { SensitiveString, SensitiveNullableString } from "./sensitive.ts";
|
|
47
|
+
export * as Pagination from "./pagination.ts";
|
|
48
|
+
export * from "./services/index.ts";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fly.io pagination — cursor (Sprites list) and Relay (GraphQL add-ons).
|
|
3
|
+
*/
|
|
4
|
+
export {
|
|
5
|
+
paginateCursor,
|
|
6
|
+
paginateRelay,
|
|
7
|
+
extractItems,
|
|
8
|
+
getItems,
|
|
9
|
+
getPath,
|
|
10
|
+
type PaginatedTrait,
|
|
11
|
+
type PaginationStrategy,
|
|
12
|
+
} from "@distilled.cloud/core/pagination";
|