{"_id":"@daytonaio/daytona-web","_rev":"3-30f60fa185a9e8280d93d1829d3ef18f","name":"@daytonaio/daytona-web","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.2":{"name":"@daytonaio/daytona-web","version":"0.1.2","keywords":["backstage","plugin","daytona","web"],"license":"Apache-2.0","_id":"@daytonaio/daytona-web@0.1.2","maintainers":[{"name":"zzorica","email":"zzorica@daytona.io"},{"name":"gdraganic","email":"gogi.strat@gmail.com"}],"dist":{"shasum":"d7d2ec64faf1d6554b95540f07af9910067001b2","tarball":"https://registry.npmjs.org/@daytonaio/daytona-web/-/daytona-web-0.1.2.tgz","fileCount":6,"integrity":"sha512-kSf4ncb4/M/xKjs0bdkiquMky79D0MBC3sapgGL4DWuvxP2app/BMEBQhx9mRYSdZd7KPCkIzbcOasY2t8mj9w==","signatures":[{"sig":"MEYCIQDG3Touj6/026HetWXZ18L6FbaaL/ccHN5AgKEidfd6xAIhAKO6Shz1zNzafCwyhwPdWj7eLZL4WaNUn1E/rcWkkNzj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3196},"main":"src/index.ts","types":"src/index.ts","scripts":{"lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","start":"backstage-cli package start","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"_npmUser":{"name":"zzorica","email":"zzorica@daytona.io"},"backstage":{"role":"web-library"},"repository":{"url":"https://github.com/daytonaio/backstage-plugins","type":"git","directory":"plugins/daytona-web"},"description":"_This package was created through the Backstage CLI_.","directories":{},"sideEffects":false,"dependencies":{"@backstage/core-app-api":"^1.13.0","@backstage/core-plugin-api":"^1.9.3"},"publishConfig":{"main":"dist/index.esm.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@backstage/cli":"^0.26.5","@testing-library/jest-dom":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/daytona-web_0.1.2_1725872297752_0.02753153612806747","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@daytonaio/daytona-web","version":"0.1.3","keywords":["backstage","plugin","daytona","web"],"license":"Apache-2.0","_id":"@daytonaio/daytona-web@0.1.3","maintainers":[{"name":"zzorica","email":"zzorica@daytona.io"},{"name":"gdraganic","email":"gogi.strat@gmail.com"}],"dist":{"shasum":"fd74c461f724501dc0193c1fb000528d9af9720c","tarball":"https://registry.npmjs.org/@daytonaio/daytona-web/-/daytona-web-0.1.3.tgz","fileCount":15,"integrity":"sha512-XhNzt6YqmqWjWCab+foA9g8vOBfcdkr2TMItPdNZtdjio2RNJIxiYv/T6ld7ldAoBvzX7oxPcOATMBGSKufGuA==","signatures":[{"sig":"MEUCIC8vDlJc8SeKnPzqc5KkH95cmH3dNU6cvgn2dRyzGx/TAiEA9A4mYnW7O0nPcxybxaeuMXW7Yy/JelGnkab3V1HY6wU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9130},"main":"src/index.ts","types":"src/index.ts","scripts":{"lint":"backstage-cli package lint","test":"backstage-cli package test","build":"backstage-cli package build","clean":"backstage-cli package clean","start":"backstage-cli package start","prepack":"backstage-cli package prepack","postpack":"backstage-cli package postpack"},"_npmUser":{"name":"zzorica","email":"zzorica@daytona.io"},"backstage":{"role":"web-library"},"repository":{"url":"https://github.com/daytonaio/backstage-plugins","type":"git","directory":"plugins/daytona-web"},"description":"_This package was created through the Backstage CLI_.","directories":{},"sideEffects":false,"dependencies":{"@backstage/core-app-api":"^1.13.0","@backstage/core-plugin-api":"^1.9.3"},"publishConfig":{"main":"dist/index.esm.js","types":"dist/index.d.ts","access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@backstage/cli":"^0.26.5","@testing-library/jest-dom":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/daytona-web_0.1.3_1725982361601_0.5897538433203069","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-09-09T08:58:17.598Z","modified":"2025-03-04T07:45:12.970Z","0.1.2":"2024-09-09T08:58:17.879Z","0.1.3":"2024-09-10T15:32:41.800Z"},"license":"Apache-2.0","keywords":["backstage","plugin","daytona","web"],"repository":{"url":"https://github.com/daytonaio/backstage-plugins","type":"git","directory":"plugins/daytona-web"},"description":"_This package was created through the Backstage CLI_.","maintainers":[{"email":"gogi.strat@gmail.com","name":"gdraganic"},{"email":"zzorica@daytona.io","name":"zzorica"},{"email":"vedran.jukic@gmail.com","name":"vedran.jukic"},{"email":"mirkodzaja0@gmail.com","name":"mdzaja"}],"readme":"# @daytonaio/daytona-web\n\n_This package was created through the Backstage CLI_.\n\n## Description\n\nThe plugin provides the frontend components required for Daytona Authentication (`daytonaApiFactory`) and Sign-In (`daytonaSignInProvider`). These components will ease the implementation for Daytona authentication using OAuth in Backstage.\n\n## Installation\n\nInstall the package via Yarn in your Backstage root directory:\n\n```sh\n# From your Backstage root directory\nyarn --cwd packages/app add @daytonaio/daytona-web\n```\n\n## Authentication Setup\n\nBackstage requires ApiFactory to interact with Daytona OAuth library and a sign-in provider. Follow the below steps:\n\n1. In Backstage folder `packages/app/src`, add the below snippet in `apis.ts` file.\n\n    ```ts\n    // In packages/app/src/apis.ts\n    import { daytonaApiFactory } from '@daytonaio/daytona-web';\n\n    // Add the Daytona ApiFactory to the list of available APIs\n    export const apis: AnyApiFactory[] = [\n        {/* other ApiFactory here */}\n        daytonaApiFactory\n    ];\n    ```\n\n2. Add the following to Backstage `App.tsx` file.\n\n    ```tsx\n\n    // In packages/app/src/App.tsx\n    import { daytonaSignInProvider } from '@daytonaio/daytona-web';\n\n    // Add the Daytona Sign-In Provider to the available sign-in providers\n    const app = createApp({\n        {/* other api, bind routes here */}\n        components: {\n            SignInPage: props => <SignInPage {...props} auto providers={['guest',daytonaSignInProvider]} />,\n        },\n    });\n    ```\n","readmeFilename":"README.md"}