Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions packages/auth-solid-start/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "@edgedb/auth-solid-start",
"description": "Helper library to integrate the EdgeDB Auth extension with Solid Start",
"version": "0.1.0",
"author": "EdgeDB <[email protected]>",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/edgedb/edgedb-js.git",
"directory": "packages/auth-solid-start"
},
"license": "Apache-2.0",
"sideEffects": false,
"files": [
"/dist"
],
"exports": {
"./server": "./dist/server/index.js",
"./client": "./dist/client/index.js"
},
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"build": "tsc --project tsconfig.json"
},
"devDependencies": {
"@types/node": "^20.12.13",
"edgedb": "^1.5.0",
"typescript": "^5.4.5"
},
"peerDependencies": {
"@solidjs/start": "^1.0.4",
"edgedb": "^1.3.6"
},
"dependencies": {
"@edgedb/auth-core": "0.2.1",
"@solidjs/start": "^1.0.4",
"vinxi": "^0.3.14"
}
}
1 change: 1 addition & 0 deletions packages/auth-solid-start/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
TODO
14 changes: 14 additions & 0 deletions packages/auth-solid-start/src/client/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {
type BuiltinProviderNames,
SolidAuthHelpers,
type SolidAuthOptions,
} from "../shared/index.js";

export * from "@edgedb/auth-core/errors";
export { type BuiltinProviderNames, type SolidAuthOptions };

export default function createSolidClientAuth(options: SolidAuthOptions) {
return new SolidClientAuth(options);
}

export class SolidClientAuth extends SolidAuthHelpers {}
Loading