Documentation ¶
Overview ¶
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright © 2022 Websublime.dev organization@websublime.dev
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index ¶
- func PromptGetInput(content PromptContent, length int) (string, error)
- func PromptGetSelect(content PromptSelectContent) (int, string, error)
- type ApiExtractorFileProps
- type ArtifactsYamlFileProps
- type AuthorFileProps
- type Bucket
- type BucketUpload
- type Login
- type LoginResponse
- type Organization
- type OrganizationByUserResponse
- type Package
- type PackageJson
- type PackageJsonFileProps
- type PromptContent
- type PromptSelectContent
- type ReadmeFileProps
- type Refresh
- type RefreshResponse
- type ReleaseYamlFileProps
- type Sign
- type SignData
- type SignResponse
- type SnapshotsYamlFileProps
- type SublimeJsonFileProps
- type SublimePackages
- type SublimeViperProps
- type TsConfigJsonFileProps
- type TsConfigReferences
- type TsconfigBase
- type TsconfigCompilerOptions
- type User
- type ViteJsonFileProps
- type Workspace
- type WorkspacesByOrganizationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PromptGetInput ¶
func PromptGetInput(content PromptContent, length int) (string, error)
func PromptGetSelect ¶
func PromptGetSelect(content PromptSelectContent) (int, string, error)
Types ¶
type ApiExtractorFileProps ¶
type ApiExtractorFileProps struct {
Name string
}
type ArtifactsYamlFileProps ¶
type ArtifactsYamlFileProps struct {
Version string
}
type AuthorFileProps ¶
type Bucket ¶
type BucketUpload ¶
type BucketUpload struct {
Key string `json:"key"`
}
type LoginResponse ¶
type Organization ¶
type Organization struct { ID string `json:"id"` Name string `json:"name"` CreatedAt string `json:"created_at"` }
func NewOrganization ¶
func NewOrganization(name string) *Organization
type OrganizationByUserResponse ¶
type OrganizationByUserResponse struct {
Organization Organization `json:"organization"`
}
type Package ¶
type Package struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Type utils.PackageType `json:"type,omitempty"` Description string `json:"description,omitempty"` WorkspaceID string `json:"workspace_id,omitempty"` Version string `json:"version,omitempty"` Template utils.TemplateType `json:"template,omitempty"` CreatedAt string `json:"created_at,omitempty"` CreatedBy string `json:"created_by,omitempty"` }
func NewPackage ¶
func NewPackage(name string, description string, types utils.PackageType, template utils.TemplateType, workspaceID string) *Package
type PackageJson ¶
type PackageJson struct { Name string `json:"name"` Version string `json:"version"` Description string `json:"description"` Main string `json:"main"` Typings string `json:"typings"` Module string `json:"module"` Scripts map[string]string `json:"scripts"` Keywords []string `json:"keywords"` Author string `json:"author"` License string `json:"license"` Dependencies map[string]string `json:"dependencies"` DevDependencies map[string]string `json:"devDependencies"` }
type PackageJsonFileProps ¶
type PromptContent ¶
type PromptSelectContent ¶
type ReadmeFileProps ¶
type RefreshResponse ¶
type ReleaseYamlFileProps ¶
type Sign ¶
type SignResponse ¶
type SignResponse struct { ID string `json:"id"` Aud string `json:"aud"` Role string `json:"role"` Email string `json:"email"` Phone string `json:"phone"` ConfirmationAt string `json:"confirmation_sent_at"` AppMetadata struct { Provider string `json:"provider"` Providers []string `json:"providers"` } `json:"app_metadata"` UserMetadata struct { Author string `json:"author"` Name string `json:"name"` } `json:"user_metadata"` Identities []struct { ID string `json:"id"` UserID string `json:"user_id"` IdentityData struct { Sub string `json:"sub"` } `json:"identity_data"` Provider string `json:"provider"` LastSignAt string `json:"last_sign_in_at"` CreatedAt string `json:"created_at"` } `json:"identities"` }
type SnapshotsYamlFileProps ¶ added in v0.1.9
type SnapshotsYamlFileProps struct {
Version string
}
type SublimeJsonFileProps ¶
type SublimePackages ¶
type SublimeViperProps ¶
type SublimeViperProps struct { Name string `mapstructure:"name"` Repo string `mapstructure:"repo"` Namespace string `mapstructure:"namespace"` Root string `mapstructure:"root"` Organization string `mapstructure:"organization"` ID string `mapstructure:"id"` Description string `mapstructure:"description"` Packages []SublimePackages `mapstructure:"packages"` }
type TsConfigJsonFileProps ¶
type TsConfigReferences ¶
type TsconfigBase ¶
type TsconfigBase struct { CompilerOptions TsconfigCompilerOptions `json:"compilerOptions"` References []TsConfigReferences `json:"references"` Exclude []string `json:"exclude"` }
type TsconfigCompilerOptions ¶
type TsconfigCompilerOptions struct { Target string `json:"target"` UseDefineForClassFields bool `json:"useDefineForClassFields"` Module string `json:"module"` ModuleResolution string `json:"moduleResolution"` Strict bool `json:"strict"` SourceMap bool `json:"sourceMap"` ResolveJsonModule bool `json:"resolveJsonModule"` EsModuleInterop bool `json:"esModuleInterop"` Declaration bool `json:"declaration"` SkipLibCheck bool `json:"skipLibCheck"` Composite bool `json:"composite"` Incremental bool `json:"incremental"` }
type User ¶ added in v0.1.2
type User struct { EmailConfirmedAt string `json:"email_confirmed_at"` Phone string `json:"phone"` LastSignInAt string `json:"last_sign_in_at"` Identities []struct { ID string `json:"id"` UserID string `json:"user_id"` } `json:"identities"` ConfirmedAt string `json:"confirmed_at"` Email string `json:"email"` UserMetadata struct { Author string `json:"author"` Name string `json:"name"` } `json:"user_metadata"` ID string `json:"id"` Role string `json:"role"` }
type ViteJsonFileProps ¶
type Workspace ¶
type WorkspacesByOrganizationResponse ¶
type WorkspacesByOrganizationResponse struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Repo string `json:"repo,omitempty"` Description string `json:"description,omitempty"` OrganizationID string `json:"organization_id,omitempty"` Private bool `json:"private,omitempty"` CreatedAt string `json:"created_at,omitempty"` CreatedBy string `json:"created_by,omitempty"` }