@gorth-com/structure 0.0.0-alpha.10 → 0.0.0-stage
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/README.md +2 -82
- package/package.json +4 -197
- package/LICENSE +0 -21
- package/dist/cores/ably/ai-transport/index.cjs +0 -1
- package/dist/cores/ably/ai-transport/index.d.cts +0 -1
- package/dist/cores/ably/ai-transport/index.d.ts +0 -1
- package/dist/cores/ably/ai-transport/index.js +0 -1
- package/dist/cores/ably/ai-transport/react/index.cjs +0 -1
- package/dist/cores/ably/ai-transport/react/index.d.cts +0 -1
- package/dist/cores/ably/ai-transport/react/index.d.ts +0 -1
- package/dist/cores/ably/ai-transport/react/index.js +0 -1
- package/dist/cores/ably/chat/index.cjs +0 -1
- package/dist/cores/ably/chat/index.d.cts +0 -1
- package/dist/cores/ably/chat/index.d.ts +0 -1
- package/dist/cores/ably/chat/index.js +0 -1
- package/dist/cores/ably/chat/react/index.cjs +0 -1
- package/dist/cores/ably/chat/react/index.d.cts +0 -1
- package/dist/cores/ably/chat/react/index.d.ts +0 -1
- package/dist/cores/ably/chat/react/index.js +0 -1
- package/dist/cores/ably/index.cjs +0 -1
- package/dist/cores/ably/index.d.cts +0 -1
- package/dist/cores/ably/index.d.ts +0 -1
- package/dist/cores/ably/index.js +0 -1
- package/dist/cores/ably/liveobjects/index.cjs +0 -1
- package/dist/cores/ably/liveobjects/index.d.cts +0 -1
- package/dist/cores/ably/liveobjects/index.d.ts +0 -1
- package/dist/cores/ably/liveobjects/index.js +0 -1
- package/dist/cores/ably/liveobjects/react/index.cjs +0 -1
- package/dist/cores/ably/liveobjects/react/index.d.cts +0 -1
- package/dist/cores/ably/liveobjects/react/index.d.ts +0 -1
- package/dist/cores/ably/liveobjects/react/index.js +0 -1
- package/dist/cores/ably/modular/index.cjs +0 -1
- package/dist/cores/ably/modular/index.d.cts +0 -1
- package/dist/cores/ably/modular/index.d.ts +0 -1
- package/dist/cores/ably/modular/index.js +0 -1
- package/dist/cores/ably/push/index.cjs +0 -1
- package/dist/cores/ably/push/index.d.cts +0 -2
- package/dist/cores/ably/push/index.d.ts +0 -2
- package/dist/cores/ably/push/index.js +0 -1
- package/dist/cores/ably/react/index.cjs +0 -1
- package/dist/cores/ably/react/index.d.cts +0 -1
- package/dist/cores/ably/react/index.d.ts +0 -1
- package/dist/cores/ably/react/index.js +0 -1
- package/dist/cores/ably/spaces/index.cjs +0 -1
- package/dist/cores/ably/spaces/index.d.cts +0 -1
- package/dist/cores/ably/spaces/index.d.ts +0 -1
- package/dist/cores/ably/spaces/index.js +0 -1
- package/dist/cores/axios.cjs +0 -1
- package/dist/cores/axios.d.cts +0 -3
- package/dist/cores/axios.d.ts +0 -3
- package/dist/cores/axios.js +0 -1
- package/dist/cores/graphql/index.cjs +0 -1
- package/dist/cores/graphql/index.d.cts +0 -1
- package/dist/cores/graphql/index.d.ts +0 -1
- package/dist/cores/graphql/index.js +0 -1
- package/dist/cores/graphql/request.cjs +0 -1
- package/dist/cores/graphql/request.d.cts +0 -1
- package/dist/cores/graphql/request.d.ts +0 -1
- package/dist/cores/graphql/request.js +0 -1
- package/dist/cores/graphql/tag.cjs +0 -1
- package/dist/cores/graphql/tag.d.cts +0 -1
- package/dist/cores/graphql/tag.d.ts +0 -1
- package/dist/cores/graphql/tag.js +0 -1
- package/dist/cores/index.cjs +0 -0
- package/dist/cores/index.d.cts +0 -1
- package/dist/cores/index.d.ts +0 -1
- package/dist/cores/index.js +0 -1
- package/dist/cores/jose.cjs +0 -1
- package/dist/cores/jose.d.cts +0 -1
- package/dist/cores/jose.d.ts +0 -1
- package/dist/cores/jose.js +0 -1
- package/dist/cores/pg.cjs +0 -1
- package/dist/cores/pg.d.cts +0 -3
- package/dist/cores/pg.d.ts +0 -3
- package/dist/cores/pg.js +0 -2
- package/dist/cores/pg.js.map +0 -1
- package/dist/cores/postgres.cjs +0 -1
- package/dist/cores/postgres.d.cts +0 -2
- package/dist/cores/postgres.d.ts +0 -2
- package/dist/cores/postgres.js +0 -2
- package/dist/cores/postgres.js.map +0 -1
- package/dist/cores/supabase/index.cjs +0 -1
- package/dist/cores/supabase/index.d.cts +0 -1
- package/dist/cores/supabase/index.d.ts +0 -1
- package/dist/cores/supabase/index.js +0 -1
- package/dist/cores/supabase/postgrest.cjs +0 -1
- package/dist/cores/supabase/postgrest.d.cts +0 -1
- package/dist/cores/supabase/postgrest.d.ts +0 -1
- package/dist/cores/supabase/postgrest.js +0 -1
- package/dist/cores/supabase/server.cjs +0 -1
- package/dist/cores/supabase/server.d.cts +0 -1
- package/dist/cores/supabase/server.d.ts +0 -1
- package/dist/cores/supabase/server.js +0 -1
- package/dist/cores/supabase/ssr.cjs +0 -1
- package/dist/cores/supabase/ssr.d.cts +0 -1
- package/dist/cores/supabase/ssr.d.ts +0 -1
- package/dist/cores/supabase/ssr.js +0 -1
- package/dist/cores/uuid.cjs +0 -1
- package/dist/cores/uuid.d.cts +0 -1
- package/dist/cores/uuid.d.ts +0 -1
- package/dist/cores/uuid.js +0 -1
- package/dist/cores/zod.cjs +0 -1
- package/dist/cores/zod.d.cts +0 -3
- package/dist/cores/zod.d.ts +0 -3
- package/dist/cores/zod.js +0 -1
- package/dist/formatter-vjbCoK9k.d.ts +0 -12
- package/dist/formatter-vjbCoK9k.d.ts.map +0 -1
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +0 -6
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -1
- package/dist/interface-BFsLlmGy.d.ts +0 -1
- package/dist/interface-ii8DV63k.d.cts +0 -283
- package/dist/interface-ii8DV63k.d.cts.map +0 -1
- package/dist/interface-ii8DV63k.d.ts +0 -283
- package/dist/interface-ii8DV63k.d.ts.map +0 -1
- package/dist/lib/permission.cjs +0 -0
- package/dist/lib/permission.d.cts +0 -1
- package/dist/lib/permission.d.ts +0 -1
- package/dist/lib/permission.js +0 -1
- package/dist/modules/auth/client/index.cjs +0 -1
- package/dist/modules/auth/client/index.d.cts +0 -6
- package/dist/modules/auth/client/index.d.ts +0 -6
- package/dist/modules/auth/client/index.js +0 -1
- package/dist/modules/auth/client/retry.cjs +0 -1
- package/dist/modules/auth/client/retry.d.cts +0 -11
- package/dist/modules/auth/client/retry.d.cts.map +0 -1
- package/dist/modules/auth/client/retry.d.ts +0 -11
- package/dist/modules/auth/client/retry.d.ts.map +0 -1
- package/dist/modules/auth/client/retry.js +0 -2
- package/dist/modules/auth/client/retry.js.map +0 -1
- package/dist/modules/auth/interface.cjs +0 -1
- package/dist/modules/auth/interface.d.cts +0 -8
- package/dist/modules/auth/interface.d.cts.map +0 -1
- package/dist/modules/auth/interface.d.ts +0 -8
- package/dist/modules/auth/interface.d.ts.map +0 -1
- package/dist/modules/auth/interface.js +0 -2
- package/dist/modules/auth/interface.js.map +0 -1
- package/dist/modules/auth/policy.cjs +0 -1
- package/dist/modules/auth/policy.d.cts +0 -15
- package/dist/modules/auth/policy.d.cts.map +0 -1
- package/dist/modules/auth/policy.d.ts +0 -15
- package/dist/modules/auth/policy.d.ts.map +0 -1
- package/dist/modules/auth/policy.js +0 -2
- package/dist/modules/auth/policy.js.map +0 -1
- package/dist/modules/auth/server/bearer.cjs +0 -1
- package/dist/modules/auth/server/bearer.d.cts +0 -25
- package/dist/modules/auth/server/bearer.d.cts.map +0 -1
- package/dist/modules/auth/server/bearer.d.ts +0 -25
- package/dist/modules/auth/server/bearer.d.ts.map +0 -1
- package/dist/modules/auth/server/bearer.js +0 -2
- package/dist/modules/auth/server/bearer.js.map +0 -1
- package/dist/modules/auth/server/claims.cjs +0 -1
- package/dist/modules/auth/server/claims.d.cts +0 -37
- package/dist/modules/auth/server/claims.d.cts.map +0 -1
- package/dist/modules/auth/server/claims.d.ts +0 -37
- package/dist/modules/auth/server/claims.d.ts.map +0 -1
- package/dist/modules/auth/server/claims.js +0 -2
- package/dist/modules/auth/server/claims.js.map +0 -1
- package/dist/modules/auth/server/crypto.cjs +0 -1
- package/dist/modules/auth/server/crypto.d.cts +0 -3
- package/dist/modules/auth/server/crypto.d.cts.map +0 -1
- package/dist/modules/auth/server/crypto.d.ts +0 -3
- package/dist/modules/auth/server/crypto.d.ts.map +0 -1
- package/dist/modules/auth/server/crypto.js +0 -2
- package/dist/modules/auth/server/crypto.js.map +0 -1
- package/dist/modules/auth/server/grant-guard.cjs +0 -1
- package/dist/modules/auth/server/grant-guard.d.cts +0 -6
- package/dist/modules/auth/server/grant-guard.d.cts.map +0 -1
- package/dist/modules/auth/server/grant-guard.d.ts +0 -6
- package/dist/modules/auth/server/grant-guard.d.ts.map +0 -1
- package/dist/modules/auth/server/grant-guard.js +0 -2
- package/dist/modules/auth/server/grant-guard.js.map +0 -1
- package/dist/modules/auth/server/identity-cache.cjs +0 -1
- package/dist/modules/auth/server/identity-cache.d.cts +0 -8
- package/dist/modules/auth/server/identity-cache.d.cts.map +0 -1
- package/dist/modules/auth/server/identity-cache.d.ts +0 -8
- package/dist/modules/auth/server/identity-cache.d.ts.map +0 -1
- package/dist/modules/auth/server/identity-cache.js +0 -2
- package/dist/modules/auth/server/identity-cache.js.map +0 -1
- package/dist/modules/auth/server/identity.cjs +0 -1
- package/dist/modules/auth/server/identity.d.cts +0 -5
- package/dist/modules/auth/server/identity.d.cts.map +0 -1
- package/dist/modules/auth/server/identity.d.ts +0 -5
- package/dist/modules/auth/server/identity.d.ts.map +0 -1
- package/dist/modules/auth/server/identity.js +0 -2
- package/dist/modules/auth/server/identity.js.map +0 -1
- package/dist/modules/auth/server/index.cjs +0 -1
- package/dist/modules/auth/server/index.d.cts +0 -17
- package/dist/modules/auth/server/index.d.ts +0 -17
- package/dist/modules/auth/server/index.js +0 -1
- package/dist/modules/auth/server/interface.cjs +0 -0
- package/dist/modules/auth/server/interface.d.cts +0 -2
- package/dist/modules/auth/server/interface.d.ts +0 -3
- package/dist/modules/auth/server/interface.js +0 -1
- package/dist/modules/auth/server/logout.cjs +0 -1
- package/dist/modules/auth/server/logout.d.cts +0 -10
- package/dist/modules/auth/server/logout.d.cts.map +0 -1
- package/dist/modules/auth/server/logout.d.ts +0 -10
- package/dist/modules/auth/server/logout.d.ts.map +0 -1
- package/dist/modules/auth/server/logout.js +0 -2
- package/dist/modules/auth/server/logout.js.map +0 -1
- package/dist/modules/auth/server/machine.cjs +0 -1
- package/dist/modules/auth/server/machine.d.cts +0 -28
- package/dist/modules/auth/server/machine.d.cts.map +0 -1
- package/dist/modules/auth/server/machine.d.ts +0 -28
- package/dist/modules/auth/server/machine.d.ts.map +0 -1
- package/dist/modules/auth/server/machine.js +0 -2
- package/dist/modules/auth/server/machine.js.map +0 -1
- package/dist/modules/auth/server/proof.cjs +0 -1
- package/dist/modules/auth/server/proof.d.cts +0 -23
- package/dist/modules/auth/server/proof.d.cts.map +0 -1
- package/dist/modules/auth/server/proof.d.ts +0 -23
- package/dist/modules/auth/server/proof.d.ts.map +0 -1
- package/dist/modules/auth/server/proof.js +0 -2
- package/dist/modules/auth/server/proof.js.map +0 -1
- package/dist/modules/auth/server/provider.cjs +0 -1
- package/dist/modules/auth/server/provider.d.cts +0 -9
- package/dist/modules/auth/server/provider.d.cts.map +0 -1
- package/dist/modules/auth/server/provider.d.ts +0 -9
- package/dist/modules/auth/server/provider.d.ts.map +0 -1
- package/dist/modules/auth/server/provider.js +0 -2
- package/dist/modules/auth/server/provider.js.map +0 -1
- package/dist/modules/auth/server/resource.cjs +0 -1
- package/dist/modules/auth/server/resource.d.cts +0 -10
- package/dist/modules/auth/server/resource.d.cts.map +0 -1
- package/dist/modules/auth/server/resource.d.ts +0 -10
- package/dist/modules/auth/server/resource.d.ts.map +0 -1
- package/dist/modules/auth/server/resource.js +0 -2
- package/dist/modules/auth/server/resource.js.map +0 -1
- package/dist/modules/auth/server/revocation.cjs +0 -1
- package/dist/modules/auth/server/revocation.d.cts +0 -4
- package/dist/modules/auth/server/revocation.d.cts.map +0 -1
- package/dist/modules/auth/server/revocation.d.ts +0 -4
- package/dist/modules/auth/server/revocation.d.ts.map +0 -1
- package/dist/modules/auth/server/revocation.js +0 -2
- package/dist/modules/auth/server/revocation.js.map +0 -1
- package/dist/modules/auth/server/user-info.cjs +0 -1
- package/dist/modules/auth/server/user-info.d.cts +0 -19
- package/dist/modules/auth/server/user-info.d.cts.map +0 -1
- package/dist/modules/auth/server/user-info.d.ts +0 -19
- package/dist/modules/auth/server/user-info.d.ts.map +0 -1
- package/dist/modules/auth/server/user-info.js +0 -2
- package/dist/modules/auth/server/user-info.js.map +0 -1
- package/dist/modules/common/admin.cjs +0 -1
- package/dist/modules/common/admin.d.cts +0 -4
- package/dist/modules/common/admin.d.cts.map +0 -1
- package/dist/modules/common/admin.d.ts +0 -4
- package/dist/modules/common/admin.d.ts.map +0 -1
- package/dist/modules/common/admin.js +0 -2
- package/dist/modules/common/admin.js.map +0 -1
- package/dist/modules/common/client.cjs +0 -1
- package/dist/modules/common/client.d.cts +0 -118
- package/dist/modules/common/client.d.cts.map +0 -1
- package/dist/modules/common/client.d.ts +0 -118
- package/dist/modules/common/client.d.ts.map +0 -1
- package/dist/modules/common/client.js +0 -2
- package/dist/modules/common/client.js.map +0 -1
- package/dist/modules/common/index.cjs +0 -1
- package/dist/modules/common/index.d.cts +0 -6
- package/dist/modules/common/index.d.ts +0 -6
- package/dist/modules/common/index.js +0 -1
- package/dist/modules/common/realtime.cjs +0 -0
- package/dist/modules/common/realtime.d.cts +0 -2
- package/dist/modules/common/realtime.d.ts +0 -2
- package/dist/modules/common/realtime.js +0 -1
- package/dist/modules/common/upload.cjs +0 -1
- package/dist/modules/common/upload.d.cts +0 -4
- package/dist/modules/common/upload.d.cts.map +0 -1
- package/dist/modules/common/upload.d.ts +0 -4
- package/dist/modules/common/upload.d.ts.map +0 -1
- package/dist/modules/common/upload.js +0 -2
- package/dist/modules/common/upload.js.map +0 -1
- package/dist/modules/database/index.cjs +0 -1
- package/dist/modules/database/index.d.cts +0 -18
- package/dist/modules/database/index.d.cts.map +0 -1
- package/dist/modules/database/index.d.ts +0 -18
- package/dist/modules/database/index.d.ts.map +0 -1
- package/dist/modules/database/index.js +0 -2
- package/dist/modules/database/index.js.map +0 -1
- package/dist/modules/database/postgres.cjs +0 -1
- package/dist/modules/database/postgres.d.cts +0 -5
- package/dist/modules/database/postgres.d.cts.map +0 -1
- package/dist/modules/database/postgres.d.ts +0 -5
- package/dist/modules/database/postgres.d.ts.map +0 -1
- package/dist/modules/database/postgres.js +0 -2
- package/dist/modules/database/postgres.js.map +0 -1
- package/dist/modules/desktop/index.cjs +0 -1
- package/dist/modules/desktop/index.d.cts +0 -8
- package/dist/modules/desktop/index.d.ts +0 -8
- package/dist/modules/desktop/index.js +0 -1
- package/dist/modules/desktop/interface.cjs +0 -0
- package/dist/modules/desktop/interface.d.cts +0 -2
- package/dist/modules/desktop/interface.d.ts +0 -2
- package/dist/modules/desktop/interface.js +0 -1
- package/dist/modules/desktop/proxy.cjs +0 -1
- package/dist/modules/desktop/proxy.d.cts +0 -22
- package/dist/modules/desktop/proxy.d.cts.map +0 -1
- package/dist/modules/desktop/proxy.d.ts +0 -22
- package/dist/modules/desktop/proxy.d.ts.map +0 -1
- package/dist/modules/desktop/proxy.js +0 -2
- package/dist/modules/desktop/proxy.js.map +0 -1
- package/dist/modules/desktop/release.cjs +0 -1
- package/dist/modules/desktop/release.d.cts +0 -5
- package/dist/modules/desktop/release.d.cts.map +0 -1
- package/dist/modules/desktop/release.d.ts +0 -5
- package/dist/modules/desktop/release.d.ts.map +0 -1
- package/dist/modules/desktop/release.js +0 -2
- package/dist/modules/desktop/release.js.map +0 -1
- package/dist/modules/desktop/rpc.cjs +0 -1
- package/dist/modules/desktop/rpc.d.cts +0 -14
- package/dist/modules/desktop/rpc.d.cts.map +0 -1
- package/dist/modules/desktop/rpc.d.ts +0 -14
- package/dist/modules/desktop/rpc.d.ts.map +0 -1
- package/dist/modules/desktop/rpc.js +0 -2
- package/dist/modules/desktop/rpc.js.map +0 -1
- package/dist/modules/desktop/shortcut.cjs +0 -1
- package/dist/modules/desktop/shortcut.d.cts +0 -6
- package/dist/modules/desktop/shortcut.d.cts.map +0 -1
- package/dist/modules/desktop/shortcut.d.ts +0 -6
- package/dist/modules/desktop/shortcut.d.ts.map +0 -1
- package/dist/modules/desktop/shortcut.js +0 -2
- package/dist/modules/desktop/shortcut.js.map +0 -1
- package/dist/modules/http/caller.cjs +0 -1
- package/dist/modules/http/caller.d.cts +0 -18
- package/dist/modules/http/caller.d.cts.map +0 -1
- package/dist/modules/http/caller.d.ts +0 -18
- package/dist/modules/http/caller.d.ts.map +0 -1
- package/dist/modules/http/caller.js +0 -2
- package/dist/modules/http/caller.js.map +0 -1
- package/dist/modules/http/error.cjs +0 -1
- package/dist/modules/http/error.d.cts +0 -2
- package/dist/modules/http/error.d.ts +0 -2
- package/dist/modules/http/error.js +0 -2
- package/dist/modules/http/error.js.map +0 -1
- package/dist/modules/http/failure.cjs +0 -1
- package/dist/modules/http/failure.d.cts +0 -14
- package/dist/modules/http/failure.d.cts.map +0 -1
- package/dist/modules/http/failure.d.ts +0 -14
- package/dist/modules/http/failure.d.ts.map +0 -1
- package/dist/modules/http/failure.js +0 -2
- package/dist/modules/http/failure.js.map +0 -1
- package/dist/modules/http/fetcher.cjs +0 -1
- package/dist/modules/http/fetcher.d.cts +0 -6
- package/dist/modules/http/fetcher.d.cts.map +0 -1
- package/dist/modules/http/fetcher.d.ts +0 -6
- package/dist/modules/http/fetcher.d.ts.map +0 -1
- package/dist/modules/http/fetcher.js +0 -2
- package/dist/modules/http/fetcher.js.map +0 -1
- package/dist/modules/http/index.cjs +0 -1
- package/dist/modules/http/index.d.cts +0 -6
- package/dist/modules/http/index.d.ts +0 -6
- package/dist/modules/http/index.js +0 -1
- package/dist/modules/http/response.cjs +0 -1
- package/dist/modules/http/response.d.cts +0 -6
- package/dist/modules/http/response.d.cts.map +0 -1
- package/dist/modules/http/response.d.ts +0 -6
- package/dist/modules/http/response.d.ts.map +0 -1
- package/dist/modules/http/response.js +0 -2
- package/dist/modules/http/response.js.map +0 -1
- package/dist/modules/supabase/express/client.cjs +0 -1
- package/dist/modules/supabase/express/client.d.cts +0 -3
- package/dist/modules/supabase/express/client.d.cts.map +0 -1
- package/dist/modules/supabase/express/client.d.ts +0 -3
- package/dist/modules/supabase/express/client.d.ts.map +0 -1
- package/dist/modules/supabase/express/client.js +0 -2
- package/dist/modules/supabase/express/client.js.map +0 -1
- package/dist/modules/supabase/express/index.cjs +0 -1
- package/dist/modules/supabase/express/index.d.cts +0 -3
- package/dist/modules/supabase/express/index.d.ts +0 -3
- package/dist/modules/supabase/express/index.js +0 -1
- package/dist/modules/supabase/express/server.cjs +0 -1
- package/dist/modules/supabase/express/server.d.cts +0 -2
- package/dist/modules/supabase/express/server.d.ts +0 -2
- package/dist/modules/supabase/express/server.js +0 -1
- package/dist/modules/supabase/next/client.cjs +0 -1
- package/dist/modules/supabase/next/client.d.cts +0 -60
- package/dist/modules/supabase/next/client.d.cts.map +0 -1
- package/dist/modules/supabase/next/client.d.ts +0 -60
- package/dist/modules/supabase/next/client.d.ts.map +0 -1
- package/dist/modules/supabase/next/client.js +0 -2
- package/dist/modules/supabase/next/client.js.map +0 -1
- package/dist/modules/supabase/next/index.cjs +0 -1
- package/dist/modules/supabase/next/index.d.cts +0 -5
- package/dist/modules/supabase/next/index.d.ts +0 -5
- package/dist/modules/supabase/next/index.js +0 -1
- package/dist/modules/supabase/next/middleware.cjs +0 -1
- package/dist/modules/supabase/next/middleware.d.cts +0 -2
- package/dist/modules/supabase/next/middleware.d.cts.map +0 -1
- package/dist/modules/supabase/next/middleware.d.ts +0 -2
- package/dist/modules/supabase/next/middleware.d.ts.map +0 -1
- package/dist/modules/supabase/next/middleware.js +0 -2
- package/dist/modules/supabase/next/middleware.js.map +0 -1
- package/dist/modules/supabase/next/server.cjs +0 -1
- package/dist/modules/supabase/next/server.d.cts +0 -61
- package/dist/modules/supabase/next/server.d.cts.map +0 -1
- package/dist/modules/supabase/next/server.d.ts +0 -61
- package/dist/modules/supabase/next/server.d.ts.map +0 -1
- package/dist/modules/supabase/next/server.js +0 -2
- package/dist/modules/supabase/next/server.js.map +0 -1
- package/dist/rolldown-runtime-BocRIvOZ.cjs +0 -1
- package/dist/utils/formatter.cjs +0 -1
- package/dist/utils/formatter.d.cts +0 -11
- package/dist/utils/formatter.d.cts.map +0 -1
- package/dist/utils/formatter.d.ts +0 -2
- package/dist/utils/formatter.js +0 -2
- package/dist/utils/formatter.js.map +0 -1
- package/dist/utils/interface.cjs +0 -0
- package/dist/utils/interface.d.cts +0 -2
- package/dist/utils/interface.d.ts +0 -2
- package/dist/utils/interface.js +0 -1
- package/dist/utils/normalization.cjs +0 -1
- package/dist/utils/normalization.d.cts +0 -10
- package/dist/utils/normalization.d.cts.map +0 -1
- package/dist/utils/normalization.d.ts +0 -10
- package/dist/utils/normalization.d.ts.map +0 -1
- package/dist/utils/normalization.js +0 -2
- package/dist/utils/normalization.js.map +0 -1
- package/docs/auth.md +0 -189
- package/docs/modules.md +0 -100
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { SupabaseClientOptions } from "@supabase/supabase-js";
|
|
2
|
-
export declare function createCommonAdminClient(url: string, serviceRoleKey: string, options?: SupabaseClientOptions<"public">): import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
|
|
3
|
-
export declare function createCommonPublicClient(url: string, anonOrPublishableKey: string, options?: SupabaseClientOptions<"public">): import("@supabase/supabase-js").SupabaseClient<any, "public", "public", any, any>;
|
|
4
|
-
//# sourceMappingURL=admin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin.d.ts","names":[],"sources":["../../../src/modules/common/admin.ts"],"mappings":";wBAGgB,wBACd,aACA,wBACA,UAAU,kEAA+B;wBAK3B,yBACd,aACA,8BACA,UAAU,kEAA+B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"admin.js","names":["createCommonAdminClient","createClient","url","serviceRoleKey","options","createCommonPublicClient","anonOrPublishableKey"],"sources":["../../../src/modules/common/admin.ts"],"sourcesContent":["import type { SupabaseClientOptions } from \"@supabase/supabase-js\";\nimport { createClient } from \"@supabase/supabase-js\";\n\nexport function createCommonAdminClient(\n url: string,\n serviceRoleKey: string,\n options?: SupabaseClientOptions<\"public\">,\n) {\n return createClient(url, serviceRoleKey, options);\n}\n\nexport function createCommonPublicClient(\n url: string,\n anonOrPublishableKey: string,\n options?: SupabaseClientOptions<\"public\">,\n) {\n return createClient(url, anonOrPublishableKey, options);\n}\n"],"mappings":"A,qDAGA,SAAgBA,EACd,EACA,EACA,EACA,CACA,OAAOC,EAAaC,EAAKC,EAAgBC,CAAO,CAClD,CAEA,SAAgBC,EACd,EACA,EACA,EACA,CACA,OAAOJ,EAAaC,EAAKI,EAAsBF,CAAO,CACxD,C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@supabase/ssr");function t(t,n,r){return(0,e.createBrowserClient)(t,n,{...r})}function n(t,n,r,i){return(0,e.createServerClient)(t,n,{...i,cookies:r})}exports.createCommonBrowserClient=t,exports.createCommonServerClient=n;
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { v as CommonCookieMethods } from "../../interface-ii8DV63k.cjs";
|
|
2
|
-
import { SupabaseClientOptions } from "@supabase/supabase-js";
|
|
3
|
-
export declare function createCommonBrowserClient<Database = any, SchemaName extends string & keyof Omit<Database, "__InternalSupabase"> = "public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Database, "__InternalSupabase">>(url: string, publishableKey: string, options?: SupabaseClientOptions<SchemaName>): import("@supabase/supabase-js").SupabaseClient<Database, SchemaName, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">, Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] extends {
|
|
4
|
-
Tables: Record<string, {
|
|
5
|
-
Row: Record<string, unknown>;
|
|
6
|
-
Insert: Record<string, unknown>;
|
|
7
|
-
Update: Record<string, unknown>;
|
|
8
|
-
Relationships: {
|
|
9
|
-
foreignKeyName: string;
|
|
10
|
-
columns: string[];
|
|
11
|
-
isOneToOne?: boolean;
|
|
12
|
-
referencedRelation: string;
|
|
13
|
-
referencedColumns: string[];
|
|
14
|
-
}[];
|
|
15
|
-
ComputedFields?: string;
|
|
16
|
-
}>;
|
|
17
|
-
Views: Record<string, {
|
|
18
|
-
Row: Record<string, unknown>;
|
|
19
|
-
Insert: Record<string, unknown>;
|
|
20
|
-
Update: Record<string, unknown>;
|
|
21
|
-
Relationships: {
|
|
22
|
-
foreignKeyName: string;
|
|
23
|
-
columns: string[];
|
|
24
|
-
isOneToOne?: boolean;
|
|
25
|
-
referencedRelation: string;
|
|
26
|
-
referencedColumns: string[];
|
|
27
|
-
}[];
|
|
28
|
-
ComputedFields?: string;
|
|
29
|
-
} | {
|
|
30
|
-
Row: Record<string, unknown>;
|
|
31
|
-
Relationships: {
|
|
32
|
-
foreignKeyName: string;
|
|
33
|
-
columns: string[];
|
|
34
|
-
isOneToOne?: boolean;
|
|
35
|
-
referencedRelation: string;
|
|
36
|
-
referencedColumns: string[];
|
|
37
|
-
}[];
|
|
38
|
-
ComputedFields?: string;
|
|
39
|
-
}>;
|
|
40
|
-
Functions: Record<string, {
|
|
41
|
-
Args: Record<string, unknown> | never;
|
|
42
|
-
Returns: unknown;
|
|
43
|
-
SetofOptions?: {
|
|
44
|
-
isSetofReturn?: boolean | undefined;
|
|
45
|
-
isOneToOne?: boolean | undefined;
|
|
46
|
-
isNotNullable?: boolean | undefined;
|
|
47
|
-
to: string;
|
|
48
|
-
from: string;
|
|
49
|
-
};
|
|
50
|
-
}>;
|
|
51
|
-
} ? Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] : never, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? Database extends {
|
|
52
|
-
__InternalSupabase: {
|
|
53
|
-
PostgrestVersion: string;
|
|
54
|
-
};
|
|
55
|
-
} ? Database["__InternalSupabase"] : {
|
|
56
|
-
PostgrestVersion: "12";
|
|
57
|
-
} : SchemaName extends {
|
|
58
|
-
PostgrestVersion: string;
|
|
59
|
-
} ? SchemaName : never>;
|
|
60
|
-
export declare function createCommonServerClient<Database = any, SchemaName extends string & keyof Omit<Database, "__InternalSupabase"> = "public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Database, "__InternalSupabase">>(url: string, publishableKey: string, cookies: CommonCookieMethods, options?: SupabaseClientOptions<SchemaName>): import("@supabase/supabase-js").SupabaseClient<Database, SchemaName, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">, Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] extends {
|
|
61
|
-
Tables: Record<string, {
|
|
62
|
-
Row: Record<string, unknown>;
|
|
63
|
-
Insert: Record<string, unknown>;
|
|
64
|
-
Update: Record<string, unknown>;
|
|
65
|
-
Relationships: {
|
|
66
|
-
foreignKeyName: string;
|
|
67
|
-
columns: string[];
|
|
68
|
-
isOneToOne?: boolean;
|
|
69
|
-
referencedRelation: string;
|
|
70
|
-
referencedColumns: string[];
|
|
71
|
-
}[];
|
|
72
|
-
ComputedFields?: string;
|
|
73
|
-
}>;
|
|
74
|
-
Views: Record<string, {
|
|
75
|
-
Row: Record<string, unknown>;
|
|
76
|
-
Insert: Record<string, unknown>;
|
|
77
|
-
Update: Record<string, unknown>;
|
|
78
|
-
Relationships: {
|
|
79
|
-
foreignKeyName: string;
|
|
80
|
-
columns: string[];
|
|
81
|
-
isOneToOne?: boolean;
|
|
82
|
-
referencedRelation: string;
|
|
83
|
-
referencedColumns: string[];
|
|
84
|
-
}[];
|
|
85
|
-
ComputedFields?: string;
|
|
86
|
-
} | {
|
|
87
|
-
Row: Record<string, unknown>;
|
|
88
|
-
Relationships: {
|
|
89
|
-
foreignKeyName: string;
|
|
90
|
-
columns: string[];
|
|
91
|
-
isOneToOne?: boolean;
|
|
92
|
-
referencedRelation: string;
|
|
93
|
-
referencedColumns: string[];
|
|
94
|
-
}[];
|
|
95
|
-
ComputedFields?: string;
|
|
96
|
-
}>;
|
|
97
|
-
Functions: Record<string, {
|
|
98
|
-
Args: Record<string, unknown> | never;
|
|
99
|
-
Returns: unknown;
|
|
100
|
-
SetofOptions?: {
|
|
101
|
-
isSetofReturn?: boolean | undefined;
|
|
102
|
-
isOneToOne?: boolean | undefined;
|
|
103
|
-
isNotNullable?: boolean | undefined;
|
|
104
|
-
to: string;
|
|
105
|
-
from: string;
|
|
106
|
-
};
|
|
107
|
-
}>;
|
|
108
|
-
} ? Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] : never, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? Database extends {
|
|
109
|
-
__InternalSupabase: {
|
|
110
|
-
PostgrestVersion: string;
|
|
111
|
-
};
|
|
112
|
-
} ? Database["__InternalSupabase"] : {
|
|
113
|
-
PostgrestVersion: "12";
|
|
114
|
-
} : SchemaName extends {
|
|
115
|
-
PostgrestVersion: string;
|
|
116
|
-
} ? SchemaName : never>;
|
|
117
|
-
export type { CommonCookieMethods };
|
|
118
|
-
//# sourceMappingURL=client.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.cts","names":[],"sources":["../../../src/modules/common/client.ts"],"mappings":";;wBAIgB,0BACd,gBACA,kCAAkC,KAAK,yDACd,KAAK,4DAET,KAAK,iCAE1B,aACA,wBACA,UAAU,sBAAsB,8CAAW,eAAA,UAAA,YAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA,wDAAA,KAAA,gCAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK5C;wBAEe,yBACd,gBACA,kCAAkC,KAAK,yDACd,KAAK,4DAET,KAAK,iCAE1B,aACA,wBACA,SAAS,qBACT,UAAU,sBAAsB,8CAAW,eAAA,UAAA,YAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA,wDAAA,KAAA,gCAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM5C"}
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { v as CommonCookieMethods } from "../../interface-ii8DV63k.js";
|
|
2
|
-
import { SupabaseClientOptions } from "@supabase/supabase-js";
|
|
3
|
-
export declare function createCommonBrowserClient<Database = any, SchemaName extends string & keyof Omit<Database, "__InternalSupabase"> = "public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Database, "__InternalSupabase">>(url: string, publishableKey: string, options?: SupabaseClientOptions<SchemaName>): import("@supabase/supabase-js").SupabaseClient<Database, SchemaName, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">, Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] extends {
|
|
4
|
-
Tables: Record<string, {
|
|
5
|
-
Row: Record<string, unknown>;
|
|
6
|
-
Insert: Record<string, unknown>;
|
|
7
|
-
Update: Record<string, unknown>;
|
|
8
|
-
Relationships: {
|
|
9
|
-
foreignKeyName: string;
|
|
10
|
-
columns: string[];
|
|
11
|
-
isOneToOne?: boolean;
|
|
12
|
-
referencedRelation: string;
|
|
13
|
-
referencedColumns: string[];
|
|
14
|
-
}[];
|
|
15
|
-
ComputedFields?: string;
|
|
16
|
-
}>;
|
|
17
|
-
Views: Record<string, {
|
|
18
|
-
Row: Record<string, unknown>;
|
|
19
|
-
Insert: Record<string, unknown>;
|
|
20
|
-
Update: Record<string, unknown>;
|
|
21
|
-
Relationships: {
|
|
22
|
-
foreignKeyName: string;
|
|
23
|
-
columns: string[];
|
|
24
|
-
isOneToOne?: boolean;
|
|
25
|
-
referencedRelation: string;
|
|
26
|
-
referencedColumns: string[];
|
|
27
|
-
}[];
|
|
28
|
-
ComputedFields?: string;
|
|
29
|
-
} | {
|
|
30
|
-
Row: Record<string, unknown>;
|
|
31
|
-
Relationships: {
|
|
32
|
-
foreignKeyName: string;
|
|
33
|
-
columns: string[];
|
|
34
|
-
isOneToOne?: boolean;
|
|
35
|
-
referencedRelation: string;
|
|
36
|
-
referencedColumns: string[];
|
|
37
|
-
}[];
|
|
38
|
-
ComputedFields?: string;
|
|
39
|
-
}>;
|
|
40
|
-
Functions: Record<string, {
|
|
41
|
-
Args: Record<string, unknown> | never;
|
|
42
|
-
Returns: unknown;
|
|
43
|
-
SetofOptions?: {
|
|
44
|
-
isSetofReturn?: boolean | undefined;
|
|
45
|
-
isOneToOne?: boolean | undefined;
|
|
46
|
-
isNotNullable?: boolean | undefined;
|
|
47
|
-
to: string;
|
|
48
|
-
from: string;
|
|
49
|
-
};
|
|
50
|
-
}>;
|
|
51
|
-
} ? Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] : never, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? Database extends {
|
|
52
|
-
__InternalSupabase: {
|
|
53
|
-
PostgrestVersion: string;
|
|
54
|
-
};
|
|
55
|
-
} ? Database["__InternalSupabase"] : {
|
|
56
|
-
PostgrestVersion: "12";
|
|
57
|
-
} : SchemaName extends {
|
|
58
|
-
PostgrestVersion: string;
|
|
59
|
-
} ? SchemaName : never>;
|
|
60
|
-
export declare function createCommonServerClient<Database = any, SchemaName extends string & keyof Omit<Database, "__InternalSupabase"> = "public" extends keyof Omit<Database, "__InternalSupabase"> ? "public" : string & keyof Omit<Database, "__InternalSupabase">>(url: string, publishableKey: string, cookies: CommonCookieMethods, options?: SupabaseClientOptions<SchemaName>): import("@supabase/supabase-js").SupabaseClient<Database, SchemaName, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">, Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] extends {
|
|
61
|
-
Tables: Record<string, {
|
|
62
|
-
Row: Record<string, unknown>;
|
|
63
|
-
Insert: Record<string, unknown>;
|
|
64
|
-
Update: Record<string, unknown>;
|
|
65
|
-
Relationships: {
|
|
66
|
-
foreignKeyName: string;
|
|
67
|
-
columns: string[];
|
|
68
|
-
isOneToOne?: boolean;
|
|
69
|
-
referencedRelation: string;
|
|
70
|
-
referencedColumns: string[];
|
|
71
|
-
}[];
|
|
72
|
-
ComputedFields?: string;
|
|
73
|
-
}>;
|
|
74
|
-
Views: Record<string, {
|
|
75
|
-
Row: Record<string, unknown>;
|
|
76
|
-
Insert: Record<string, unknown>;
|
|
77
|
-
Update: Record<string, unknown>;
|
|
78
|
-
Relationships: {
|
|
79
|
-
foreignKeyName: string;
|
|
80
|
-
columns: string[];
|
|
81
|
-
isOneToOne?: boolean;
|
|
82
|
-
referencedRelation: string;
|
|
83
|
-
referencedColumns: string[];
|
|
84
|
-
}[];
|
|
85
|
-
ComputedFields?: string;
|
|
86
|
-
} | {
|
|
87
|
-
Row: Record<string, unknown>;
|
|
88
|
-
Relationships: {
|
|
89
|
-
foreignKeyName: string;
|
|
90
|
-
columns: string[];
|
|
91
|
-
isOneToOne?: boolean;
|
|
92
|
-
referencedRelation: string;
|
|
93
|
-
referencedColumns: string[];
|
|
94
|
-
}[];
|
|
95
|
-
ComputedFields?: string;
|
|
96
|
-
}>;
|
|
97
|
-
Functions: Record<string, {
|
|
98
|
-
Args: Record<string, unknown> | never;
|
|
99
|
-
Returns: unknown;
|
|
100
|
-
SetofOptions?: {
|
|
101
|
-
isSetofReturn?: boolean | undefined;
|
|
102
|
-
isOneToOne?: boolean | undefined;
|
|
103
|
-
isNotNullable?: boolean | undefined;
|
|
104
|
-
to: string;
|
|
105
|
-
from: string;
|
|
106
|
-
};
|
|
107
|
-
}>;
|
|
108
|
-
} ? Omit<Database, "__InternalSupabase">[SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? SchemaName : "public" extends Exclude<keyof Database, "__InternalSupabase"> ? Exclude<keyof Database, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof Database, "__InternalSupabase">, "__InternalSupabase">] : never, SchemaName extends string & Exclude<keyof Database, "__InternalSupabase"> ? Database extends {
|
|
109
|
-
__InternalSupabase: {
|
|
110
|
-
PostgrestVersion: string;
|
|
111
|
-
};
|
|
112
|
-
} ? Database["__InternalSupabase"] : {
|
|
113
|
-
PostgrestVersion: "12";
|
|
114
|
-
} : SchemaName extends {
|
|
115
|
-
PostgrestVersion: string;
|
|
116
|
-
} ? SchemaName : never>;
|
|
117
|
-
export type { CommonCookieMethods };
|
|
118
|
-
//# sourceMappingURL=client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","names":[],"sources":["../../../src/modules/common/client.ts"],"mappings":";;wBAIgB,0BACd,gBACA,kCAAkC,KAAK,yDACd,KAAK,4DAET,KAAK,iCAE1B,aACA,wBACA,UAAU,sBAAsB,8CAAW,eAAA,UAAA,YAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA,wDAAA,KAAA,gCAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAK5C;wBAEe,yBACd,gBACA,kCAAkC,KAAK,yDACd,KAAK,4DAET,KAAK,iCAE1B,aACA,wBACA,SAAS,qBACT,UAAU,sBAAsB,8CAAW,eAAA,UAAA,YAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA,wDAAA,KAAA,gCAAA,4BAAA,cAAA,kCAAA,8BAAA,cAAA,kCAAA,cAAA,sDAAA,QAAA,cAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAM5C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","names":["createCommonBrowserClient","createBrowserClient","url","publishableKey","options","createCommonServerClient","createServerClient"],"sources":["../../../src/modules/common/client.ts"],"sourcesContent":["import type { CommonCookieMethods } from \"@/utils/interface\";\nimport { createBrowserClient, createServerClient } from \"@supabase/ssr\";\nimport type { SupabaseClientOptions } from \"@supabase/supabase-js\";\n\nexport function createCommonBrowserClient<\n Database = any,\n SchemaName extends string & keyof Omit<Database, \"__InternalSupabase\"> =\n \"public\" extends keyof Omit<Database, \"__InternalSupabase\">\n ? \"public\"\n : string & keyof Omit<Database, \"__InternalSupabase\">,\n>(\n url: string,\n publishableKey: string,\n options?: SupabaseClientOptions<SchemaName>,\n) {\n return createBrowserClient<Database, SchemaName>(url, publishableKey, {\n ...options,\n });\n}\n\nexport function createCommonServerClient<\n Database = any,\n SchemaName extends string & keyof Omit<Database, \"__InternalSupabase\"> =\n \"public\" extends keyof Omit<Database, \"__InternalSupabase\">\n ? \"public\"\n : string & keyof Omit<Database, \"__InternalSupabase\">,\n>(\n url: string,\n publishableKey: string,\n cookies: CommonCookieMethods,\n options?: SupabaseClientOptions<SchemaName>,\n) {\n return createServerClient<Database, SchemaName>(url, publishableKey, {\n ...options,\n cookies,\n });\n}\n\nexport type { CommonCookieMethods } from \"@/utils/interface\";\n"],"mappings":"A,4EAIA,SAAgBA,EAOd,EACA,EACA,EACA,CACA,OAAOC,EAA0CC,EAAKC,EAAgB,CACpE,GAAGC,CACL,CAAC,CACH,CAEA,SAAgBC,EAOd,EACA,EACA,EACA,EACA,CACA,OAAOC,EAAyCJ,EAAKC,EAAgB,CACnE,GAAGC,EACH,SACF,CAAC,CACH,C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./admin.cjs"),t=require("./client.cjs");require("./realtime.cjs");const n=require("./upload.cjs");exports.createCommonAdminClient=e.createCommonAdminClient,exports.createCommonBrowserClient=t.createCommonBrowserClient,exports.createCommonPublicClient=e.createCommonPublicClient,exports.createCommonServerClient=t.createCommonServerClient,exports.createCommonUploadUtils=n.createCommonUploadUtils;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { H as UploadUtils, P as RealtimeUtils, v as CommonCookieMethods } from "../../interface-ii8DV63k.cjs";
|
|
2
|
-
import { createCommonAdminClient, createCommonPublicClient } from "./admin.cjs";
|
|
3
|
-
import { createCommonBrowserClient, createCommonServerClient } from "./client.cjs";
|
|
4
|
-
import "./realtime.cjs";
|
|
5
|
-
import { createCommonUploadUtils } from "./upload.cjs";
|
|
6
|
-
export { type CommonCookieMethods, type RealtimeUtils, type UploadUtils, createCommonAdminClient, createCommonBrowserClient, createCommonPublicClient, createCommonServerClient, createCommonUploadUtils };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { H as UploadUtils, P as RealtimeUtils, v as CommonCookieMethods } from "../../interface-ii8DV63k.js";
|
|
2
|
-
import { createCommonAdminClient, createCommonPublicClient } from "./admin.js";
|
|
3
|
-
import { createCommonBrowserClient, createCommonServerClient } from "./client.js";
|
|
4
|
-
import "./realtime.js";
|
|
5
|
-
import { createCommonUploadUtils } from "./upload.js";
|
|
6
|
-
export { type CommonCookieMethods, type RealtimeUtils, type UploadUtils, createCommonAdminClient, createCommonBrowserClient, createCommonPublicClient, createCommonServerClient, createCommonUploadUtils };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{createCommonAdminClient as e,createCommonPublicClient as t}from"./admin.js";import{createCommonBrowserClient as n,createCommonServerClient as r}from"./client.js";import"./realtime.js";import{createCommonUploadUtils as i}from"./upload.js";export{e as createCommonAdminClient,n as createCommonBrowserClient,t as createCommonPublicClient,r as createCommonServerClient,i as createCommonUploadUtils};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e){return{upload({bucket:t,path:n,fileBody:r,options:i}){return e.storage.from(t).upload(n,r,i)},upsert({bucket:t,path:n,fileBody:r,options:i}){return e.storage.from(t).upload(n,r,{...i,upsert:!0})},remove(t,n){return e.storage.from(t).remove(n)},getPublicUrl(t,n){return e.storage.from(t).getPublicUrl(n)},createSignedUrl(t,n,r){return e.storage.from(t).createSignedUrl(n,r)}}}exports.createCommonUploadUtils=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.cts","names":[],"sources":["../../../src/modules/common/upload.ts"],"mappings":";wBAMgB,wBACd,QAAQ,oBACP"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload.d.ts","names":[],"sources":["../../../src/modules/common/upload.ts"],"mappings":";wBAMgB,wBACd,QAAQ,oBACP"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function e(e){return{upload({bucket:t,path:n,fileBody:r,options:i}){return e.storage.from(t).upload(n,r,i)},upsert({bucket:t,path:n,fileBody:r,options:i}){return e.storage.from(t).upload(n,r,{...i,upsert:!0})},remove(t,n){return e.storage.from(t).remove(n)},getPublicUrl(t,n){return e.storage.from(t).getPublicUrl(n)},createSignedUrl(t,n,r){return e.storage.from(t).createSignedUrl(n,r)}}}export{e as createCommonUploadUtils};
|
|
2
|
-
//# sourceMappingURL=upload.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload.js","names":["createCommonUploadUtils","client","bucket","path","fileBody","options","paths","expiresIn"],"sources":["../../../src/modules/common/upload.ts"],"sourcesContent":["import type {\n SupabaseAnyClient,\n UploadInput,\n UploadUtils,\n} from \"@/utils/interface\";\n\nexport function createCommonUploadUtils(\n client: SupabaseAnyClient,\n): UploadUtils {\n return {\n upload({ bucket, path, fileBody, options }: UploadInput) {\n return client.storage.from(bucket).upload(path, fileBody, options as any);\n },\n upsert({ bucket, path, fileBody, options }: UploadInput) {\n return client.storage.from(bucket).upload(path, fileBody, {\n ...options,\n upsert: true,\n } as any);\n },\n remove(bucket: string, paths: string[]) {\n return client.storage.from(bucket).remove(paths);\n },\n getPublicUrl(bucket: string, path: string) {\n return client.storage.from(bucket).getPublicUrl(path);\n },\n createSignedUrl(bucket: string, path: string, expiresIn: number) {\n return client.storage.from(bucket).createSignedUrl(path, expiresIn);\n },\n };\n}\n\nexport type { UploadUtils } from \"@/utils/interface\";\n"],"mappings":"AAMA,SAAgBA,EACd,EACa,CACb,MAAO,CACL,OAAO,CAAE,SAAQ,OAAM,WAAU,WAAwB,CACvD,OAAOC,EAAO,QAAQ,KAAKC,CAAM,CAAC,CAAC,OAAOC,EAAMC,EAAUC,CAAc,CAC1E,EACA,OAAO,CAAE,SAAQ,OAAM,WAAU,WAAwB,CACvD,OAAOJ,EAAO,QAAQ,KAAKC,CAAM,CAAC,CAAC,OAAOC,EAAMC,EAAU,CACxD,GAAGC,EACH,OAAQ,EACV,CAAQ,CACV,EACA,OAAO,EAAgB,EAAiB,CACtC,OAAOJ,EAAO,QAAQ,KAAKC,CAAM,CAAC,CAAC,OAAOI,CAAK,CACjD,EACA,aAAa,EAAgB,EAAc,CACzC,OAAOL,EAAO,QAAQ,KAAKC,CAAM,CAAC,CAAC,aAAaC,CAAI,CACtD,EACA,gBAAgB,EAAgB,EAAc,EAAmB,CAC/D,OAAOF,EAAO,QAAQ,KAAKC,CAAM,CAAC,CAAC,gBAAgBC,EAAMI,CAAS,CACpE,CACF,CACF,C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e){try{if(typeof e.connectionString!=`string`)throw Error();let t=new URL(e.connectionString);if(![`postgres:`,`postgresql:`].includes(t.protocol)||!t.hostname||t.hash)throw Error();let n=e.max??e.defaultMax??5,r=typeof n==`string`&&/^\d+$/.test(n)?Number(n):n;if(typeof r!=`number`||!Number.isSafeInteger(r)||r<1)throw Error();for(let t of[e.idleTimeoutMillis,e.connectionTimeoutMillis])if(t!==void 0&&(!Number.isSafeInteger(t)||t<0))throw Error();return{connectionString:e.connectionString,max:r,...e.idleTimeoutMillis===void 0?{}:{idleTimeoutMillis:e.idleTimeoutMillis},...e.connectionTimeoutMillis===void 0?{}:{connectionTimeoutMillis:e.connectionTimeoutMillis}}}catch{throw TypeError(`Invalid database pool configuration`)}}function t(t){return n=>t(e(n))}exports.createDatabasePoolFactory=t,exports.parseDatabasePoolOptions=e;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface DatabasePoolOptions {
|
|
2
|
-
connectionString: string;
|
|
3
|
-
max: number;
|
|
4
|
-
idleTimeoutMillis?: number;
|
|
5
|
-
connectionTimeoutMillis?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface DatabasePoolInput {
|
|
8
|
-
connectionString: unknown;
|
|
9
|
-
max?: unknown;
|
|
10
|
-
defaultMax?: number;
|
|
11
|
-
idleTimeoutMillis?: number;
|
|
12
|
-
connectionTimeoutMillis?: number;
|
|
13
|
-
}
|
|
14
|
-
/** Parse app-supplied values; never read env or embed connection values in errors. */
|
|
15
|
-
export declare function parseDatabasePoolOptions(input: DatabasePoolInput): DatabasePoolOptions;
|
|
16
|
-
/** App owns memoization, error listeners, connection lifetime and shutdown. */
|
|
17
|
-
export declare function createDatabasePoolFactory<Pool>(create: (options: DatabasePoolOptions) => Pool): (input: DatabasePoolInput) => Pool;
|
|
18
|
-
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/modules/database/index.ts"],"mappings":"A,iBAAiB;EACf;EACA;EACA;EACA;;iBAGe;EACf;EACA;EACA;EACA;EACA;;;wBAIc,yBACd,OAAO,oBACN;;wBAiCa,0BAA0B,MACxC,SAAS,SAAS,wBAAwB,QAElC,OAAO,sBAAoB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface DatabasePoolOptions {
|
|
2
|
-
connectionString: string;
|
|
3
|
-
max: number;
|
|
4
|
-
idleTimeoutMillis?: number;
|
|
5
|
-
connectionTimeoutMillis?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface DatabasePoolInput {
|
|
8
|
-
connectionString: unknown;
|
|
9
|
-
max?: unknown;
|
|
10
|
-
defaultMax?: number;
|
|
11
|
-
idleTimeoutMillis?: number;
|
|
12
|
-
connectionTimeoutMillis?: number;
|
|
13
|
-
}
|
|
14
|
-
/** Parse app-supplied values; never read env or embed connection values in errors. */
|
|
15
|
-
export declare function parseDatabasePoolOptions(input: DatabasePoolInput): DatabasePoolOptions;
|
|
16
|
-
/** App owns memoization, error listeners, connection lifetime and shutdown. */
|
|
17
|
-
export declare function createDatabasePoolFactory<Pool>(create: (options: DatabasePoolOptions) => Pool): (input: DatabasePoolInput) => Pool;
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/modules/database/index.ts"],"mappings":"A,iBAAiB;EACf;EACA;EACA;EACA;;iBAGe;EACf;EACA;EACA;EACA;EACA;;;wBAIc,yBACd,OAAO,oBACN;;wBAiCa,0BAA0B,MACxC,SAAS,SAAS,wBAAwB,QAElC,OAAO,sBAAoB"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function e(e){try{if(typeof e.connectionString!=`string`)throw Error();let t=new URL(e.connectionString);if(![`postgres:`,`postgresql:`].includes(t.protocol)||!t.hostname||t.hash)throw Error();let n=e.max??e.defaultMax??5,r=typeof n==`string`&&/^\d+$/.test(n)?Number(n):n;if(typeof r!=`number`||!Number.isSafeInteger(r)||r<1)throw Error();for(let t of[e.idleTimeoutMillis,e.connectionTimeoutMillis])if(t!==void 0&&(!Number.isSafeInteger(t)||t<0))throw Error();return{connectionString:e.connectionString,max:r,...e.idleTimeoutMillis===void 0?{}:{idleTimeoutMillis:e.idleTimeoutMillis},...e.connectionTimeoutMillis===void 0?{}:{connectionTimeoutMillis:e.connectionTimeoutMillis}}}catch{throw TypeError(`Invalid database pool configuration`)}}function t(t){return n=>t(e(n))}export{t as createDatabasePoolFactory,e as parseDatabasePoolOptions};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["parseDatabasePoolOptions","input","url","raw","max","value","createDatabasePoolFactory","create"],"sources":["../../../src/modules/database/index.ts"],"sourcesContent":["export interface DatabasePoolOptions {\n connectionString: string;\n max: number;\n idleTimeoutMillis?: number;\n connectionTimeoutMillis?: number;\n}\n\nexport interface DatabasePoolInput {\n connectionString: unknown;\n max?: unknown;\n defaultMax?: number;\n idleTimeoutMillis?: number;\n connectionTimeoutMillis?: number;\n}\n\n/** Parse app-supplied values; never read env or embed connection values in errors. */\nexport function parseDatabasePoolOptions(\n input: DatabasePoolInput,\n): DatabasePoolOptions {\n try {\n if (typeof input.connectionString !== \"string\") throw new Error();\n const url = new URL(input.connectionString);\n if (\n ![\"postgres:\", \"postgresql:\"].includes(url.protocol) ||\n !url.hostname ||\n url.hash\n )\n throw new Error();\n const raw = input.max ?? input.defaultMax ?? 5;\n const max = typeof raw === \"string\" && /^\\d+$/.test(raw) ? Number(raw) : raw;\n if (typeof max !== \"number\" || !Number.isSafeInteger(max) || max < 1)\n throw new Error();\n for (const value of [input.idleTimeoutMillis, input.connectionTimeoutMillis])\n if (value !== undefined && (!Number.isSafeInteger(value) || value < 0))\n throw new Error();\n return {\n connectionString: input.connectionString,\n max,\n ...(input.idleTimeoutMillis === undefined\n ? {}\n : { idleTimeoutMillis: input.idleTimeoutMillis }),\n ...(input.connectionTimeoutMillis === undefined\n ? {}\n : { connectionTimeoutMillis: input.connectionTimeoutMillis }),\n };\n } catch {\n throw new TypeError(\"Invalid database pool configuration\");\n }\n}\n\n/** App owns memoization, error listeners, connection lifetime and shutdown. */\nexport function createDatabasePoolFactory<Pool>(\n create: (options: DatabasePoolOptions) => Pool,\n) {\n return (input: DatabasePoolInput): Pool => create(parseDatabasePoolOptions(input));\n}\n"],"mappings":"AAgBA,SAAgBA,EACd,EACqB,CACrB,GAAI,CACF,GAAI,OAAOC,EAAM,kBAAqB,SAAU,MAAU,MAAM,EAChE,IAAMC,EAAM,IAAI,IAAID,EAAM,gBAAgB,EAC1C,GACE,CAAC,CAAC,YAAa,aAAa,CAAC,CAAC,SAASC,EAAI,QAAQ,GACnD,CAACA,EAAI,UACLA,EAAI,KAEJ,MAAU,MAAM,EAClB,IAAMC,EAAMF,EAAM,KAAOA,EAAM,YAAc,EACvCG,EAAM,OAAOD,GAAQ,UAAY,QAAQ,KAAKA,CAAG,EAAI,OAAOA,CAAG,EAAIA,EACzE,GAAI,OAAOC,GAAQ,UAAY,CAAC,OAAO,cAAcA,CAAG,GAAKA,EAAM,EACjE,MAAU,MAAM,EAClB,IAAK,IAAMC,IAAS,CAACJ,EAAM,kBAAmBA,EAAM,uBAAuB,EACzE,GAAII,IAAU,IAAA,KAAc,CAAC,OAAO,cAAcA,CAAK,GAAKA,EAAQ,GAClE,MAAU,MAAM,EACpB,MAAO,CACL,iBAAkBJ,EAAM,iBACxB,MACA,GAAIA,EAAM,oBAAsB,IAAA,GAC5B,CAAC,EACD,CAAE,kBAAmBA,EAAM,iBAAkB,EACjD,GAAIA,EAAM,0BAA4B,IAAA,GAClC,CAAC,EACD,CAAE,wBAAyBA,EAAM,uBAAwB,CAC/D,CACF,MAAQ,CACN,MAAU,UAAU,qCAAqC,CAC3D,CACF,CAGA,SAAgBK,EACd,EACA,CACA,MAAQ,IAAmCC,EAAOP,EAAyBC,CAAK,CAAC,CACnF,C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./index.cjs");let t=require("pg");function n(n){return new t.Pool(e.parseDatabasePoolOptions(n))}exports.createPostgresPool=n;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DatabasePoolInput } from "./index.cjs";
|
|
2
|
-
import { Pool } from "pg";
|
|
3
|
-
/** Call explicitly in the host composition root; no eager connection on import. */
|
|
4
|
-
export declare function createPostgresPool(input: DatabasePoolInput): Pool;
|
|
5
|
-
//# sourceMappingURL=postgres.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postgres.d.cts","names":[],"sources":["../../../src/modules/database/postgres.ts"],"mappings":";;;wBAOgB,mBAAmB,OAAO,oBAAoB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DatabasePoolInput } from "./index.js";
|
|
2
|
-
import { Pool } from "pg";
|
|
3
|
-
/** Call explicitly in the host composition root; no eager connection on import. */
|
|
4
|
-
export declare function createPostgresPool(input: DatabasePoolInput): Pool;
|
|
5
|
-
//# sourceMappingURL=postgres.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postgres.d.ts","names":[],"sources":["../../../src/modules/database/postgres.ts"],"mappings":";;;wBAOgB,mBAAmB,OAAO,oBAAoB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postgres.js","names":["createPostgresPool","Pool","parseDatabasePoolOptions","input"],"sources":["../../../src/modules/database/postgres.ts"],"sourcesContent":["import { Pool } from \"pg\";\nimport {\n parseDatabasePoolOptions,\n type DatabasePoolInput,\n} from \"@/modules/database/index\";\n\n/** Call explicitly in the host composition root; no eager connection on import. */\nexport function createPostgresPool(input: DatabasePoolInput): Pool {\n return new Pool(parseDatabasePoolOptions(input));\n}\n"],"mappings":"A,gFAOA,SAAgBA,EAAmB,EAAgC,CACjE,OAAO,IAAIC,EAAKC,EAAyBC,CAAK,CAAC,CACjD,C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../utils/formatter.cjs"),t=require("./rpc.cjs"),n=require("./shortcut.cjs"),r=require("./release.cjs"),i=require("./proxy.cjs");exports.createDesktopRpcHandler=t.createDesktopRpcHandler,exports.createDesktopRpcTransport=t.createDesktopRpcTransport,exports.createShortcutValidator=n.createShortcutValidator,exports.electronProxyConfig=i.electronProxyConfig,exports.isNewerRelease=r.isNewerRelease,exports.normalizeAccelerator=e.normalizeAccelerator,exports.parseRelease=r.parseRelease,exports.proxySettingsSchema=i.proxySettingsSchema,exports.releaseVersion=r.releaseVersion,exports.resolveDesktopRpcPolicy=t.resolveDesktopRpcPolicy,exports.shortcutIdentity=e.shortcutIdentity;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { C as DesktopRpcRequest, L as Shortcut, R as ShortcutDefinition, S as DesktopRpcPolicy, w as DesktopRpcResponse, z as ShortcutPolicy } from "../../interface-ii8DV63k.cjs";
|
|
2
|
-
import { normalizeAccelerator, shortcutIdentity } from "../../utils/formatter.cjs";
|
|
3
|
-
import "./interface.cjs";
|
|
4
|
-
import { createDesktopRpcHandler, createDesktopRpcTransport, resolveDesktopRpcPolicy } from "./rpc.cjs";
|
|
5
|
-
import { createShortcutValidator } from "./shortcut.cjs";
|
|
6
|
-
import { isNewerRelease, parseRelease, releaseVersion } from "./release.cjs";
|
|
7
|
-
import { ProxySettings, electronProxyConfig, proxySettingsSchema } from "./proxy.cjs";
|
|
8
|
-
export { type DesktopRpcPolicy, type DesktopRpcRequest, type DesktopRpcResponse, type ProxySettings, type Shortcut, type ShortcutDefinition, type ShortcutPolicy, createDesktopRpcHandler, createDesktopRpcTransport, createShortcutValidator, electronProxyConfig, isNewerRelease, normalizeAccelerator, parseRelease, proxySettingsSchema, releaseVersion, resolveDesktopRpcPolicy, shortcutIdentity };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { C as DesktopRpcRequest, L as Shortcut, R as ShortcutDefinition, S as DesktopRpcPolicy, w as DesktopRpcResponse, z as ShortcutPolicy } from "../../interface-ii8DV63k.js";
|
|
2
|
-
import "./interface.js";
|
|
3
|
-
import { createDesktopRpcHandler, createDesktopRpcTransport, resolveDesktopRpcPolicy } from "./rpc.js";
|
|
4
|
-
import { o as normalizeAccelerator, s as shortcutIdentity } from "../../formatter-vjbCoK9k.js";
|
|
5
|
-
import { createShortcutValidator } from "./shortcut.js";
|
|
6
|
-
import { isNewerRelease, parseRelease, releaseVersion } from "./release.js";
|
|
7
|
-
import { ProxySettings, electronProxyConfig, proxySettingsSchema } from "./proxy.js";
|
|
8
|
-
export { type DesktopRpcPolicy, type DesktopRpcRequest, type DesktopRpcResponse, type ProxySettings, type Shortcut, type ShortcutDefinition, type ShortcutPolicy, createDesktopRpcHandler, createDesktopRpcTransport, createShortcutValidator, electronProxyConfig, isNewerRelease, normalizeAccelerator, parseRelease, proxySettingsSchema, releaseVersion, resolveDesktopRpcPolicy, shortcutIdentity };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{normalizeAccelerator as e,shortcutIdentity as t}from"../../utils/formatter.js";import{createDesktopRpcHandler as n,createDesktopRpcTransport as r,resolveDesktopRpcPolicy as i}from"./rpc.js";import{createShortcutValidator as a}from"./shortcut.js";import{isNewerRelease as o,parseRelease as s,releaseVersion as c}from"./release.js";import{electronProxyConfig as l,proxySettingsSchema as u}from"./proxy.js";export{n as createDesktopRpcHandler,r as createDesktopRpcTransport,a as createShortcutValidator,l as electronProxyConfig,o as isNewerRelease,e as normalizeAccelerator,s as parseRelease,u as proxySettingsSchema,c as releaseVersion,i as resolveDesktopRpcPolicy,t as shortcutIdentity};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("zod");const t=e.z.object({mode:e.z.enum([`system`,`direct`,`http`,`socks5`]),host:e.z.string().trim().max(253).default(``),port:e.z.number().int().min(1).max(65535).default(8080)}).superRefine((e,t)=>{if(e.mode!==`system`&&e.mode!==`direct`)try{if(!e.host||/[\s/@?#;,\\]/.test(e.host))throw Error();let t=new URL(`http://`+e.host+`:`+e.port);if(t.hostname.toLowerCase()!==e.host.toLowerCase()||t.port&&Number(t.port)!==e.port)throw Error()}catch{t.addIssue({code:`custom`,path:[`host`],message:`Enter a hostname or IP address without a scheme or path.`})}});function n(e,n=`localhost;127.0.0.1;[::1]`){let r=t.parse(e);return r.mode===`system`||r.mode===`direct`?{mode:r.mode}:{mode:`fixed_servers`,proxyRules:`${r.mode}://${r.host}:${r.port}`,proxyBypassRules:n}}exports.electronProxyConfig=n,exports.proxySettingsSchema=t;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const proxySettingsSchema: z.ZodObject<{
|
|
3
|
-
mode: z.ZodEnum<{
|
|
4
|
-
system: "system";
|
|
5
|
-
direct: "direct";
|
|
6
|
-
http: "http";
|
|
7
|
-
socks5: "socks5";
|
|
8
|
-
}>;
|
|
9
|
-
host: z.ZodDefault<z.ZodString>;
|
|
10
|
-
port: z.ZodDefault<z.ZodNumber>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type ProxySettings = z.infer<typeof proxySettingsSchema>;
|
|
13
|
-
export declare function electronProxyConfig(input: ProxySettings, proxyBypassRules?: string): {
|
|
14
|
-
mode: "system" | "direct";
|
|
15
|
-
proxyRules?: undefined;
|
|
16
|
-
proxyBypassRules?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
mode: "fixed_servers";
|
|
19
|
-
proxyRules: string;
|
|
20
|
-
proxyBypassRules: string;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=proxy.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.d.cts","names":[],"sources":["../../../src/modules/desktop/proxy.ts"],"mappings":";qBAEa,qBAAmB,EAAA;;;;;;;;;GAuB5B,EAAA,KAAA;YACQ,gBAAgB,EAAE,aAAa;wBAE3B,oBACd,OAAO,eACP"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const proxySettingsSchema: z.ZodObject<{
|
|
3
|
-
mode: z.ZodEnum<{
|
|
4
|
-
system: "system";
|
|
5
|
-
direct: "direct";
|
|
6
|
-
http: "http";
|
|
7
|
-
socks5: "socks5";
|
|
8
|
-
}>;
|
|
9
|
-
host: z.ZodDefault<z.ZodString>;
|
|
10
|
-
port: z.ZodDefault<z.ZodNumber>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type ProxySettings = z.infer<typeof proxySettingsSchema>;
|
|
13
|
-
export declare function electronProxyConfig(input: ProxySettings, proxyBypassRules?: string): {
|
|
14
|
-
mode: "system" | "direct";
|
|
15
|
-
proxyRules?: undefined;
|
|
16
|
-
proxyBypassRules?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
mode: "fixed_servers";
|
|
19
|
-
proxyRules: string;
|
|
20
|
-
proxyBypassRules: string;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=proxy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.d.ts","names":[],"sources":["../../../src/modules/desktop/proxy.ts"],"mappings":";qBAEa,qBAAmB,EAAA;;;;;;;;;GAuB5B,EAAA,KAAA;YACQ,gBAAgB,EAAE,aAAa;wBAE3B,oBACd,OAAO,eACP"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{z as e}from"zod";const t=e.object({mode:e.enum([`system`,`direct`,`http`,`socks5`]),host:e.string().trim().max(253).default(``),port:e.number().int().min(1).max(65535).default(8080)}).superRefine((e,t)=>{if(e.mode!==`system`&&e.mode!==`direct`)try{if(!e.host||/[\s/@?#;,\\]/.test(e.host))throw Error();let t=new URL(`http://`+e.host+`:`+e.port);if(t.hostname.toLowerCase()!==e.host.toLowerCase()||t.port&&Number(t.port)!==e.port)throw Error()}catch{t.addIssue({code:`custom`,path:[`host`],message:`Enter a hostname or IP address without a scheme or path.`})}});function n(e,n=`localhost;127.0.0.1;[::1]`){let r=t.parse(e);return r.mode===`system`||r.mode===`direct`?{mode:r.mode}:{mode:`fixed_servers`,proxyRules:`${r.mode}://${r.host}:${r.port}`,proxyBypassRules:n}}export{n as electronProxyConfig,t as proxySettingsSchema};
|
|
2
|
-
//# sourceMappingURL=proxy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.js","names":["proxySettingsSchema","z","value","url","context","electronProxyConfig","settings","input"],"sources":["../../../src/modules/desktop/proxy.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const proxySettingsSchema = z\n .object({\n mode: z.enum([\"system\", \"direct\", \"http\", \"socks5\"]),\n host: z.string().trim().max(253).default(\"\"),\n port: z.number().int().min(1).max(65535).default(8080),\n })\n .superRefine((value, context) => {\n if (value.mode === \"system\" || value.mode === \"direct\") return;\n try {\n if (!value.host || /[\\s/@?#;,\\\\]/.test(value.host)) throw new Error();\n const url = new URL(\"http://\" + value.host + \":\" + value.port);\n if (\n url.hostname.toLowerCase() !== value.host.toLowerCase() ||\n (url.port && Number(url.port) !== value.port)\n )\n throw new Error();\n } catch {\n context.addIssue({\n code: \"custom\",\n path: [\"host\"],\n message: \"Enter a hostname or IP address without a scheme or path.\",\n });\n }\n });\nexport type ProxySettings = z.infer<typeof proxySettingsSchema>;\n\nexport function electronProxyConfig(\n input: ProxySettings,\n proxyBypassRules = \"localhost;127.0.0.1;[::1]\",\n) {\n const settings = proxySettingsSchema.parse(input);\n if (settings.mode === \"system\" || settings.mode === \"direct\")\n return { mode: settings.mode };\n return {\n mode: \"fixed_servers\" as const,\n proxyRules: `${settings.mode}://${settings.host}:${settings.port}`,\n proxyBypassRules,\n };\n}\n"],"mappings":"A,wBAEA,MAAaA,EAAsBC,EAChC,OAAO,CACN,KAAMA,EAAE,KAAK,CAAC,SAAU,SAAU,OAAQ,QAAQ,CAAC,EACnD,KAAMA,EAAE,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,EAC3C,KAAMA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,QAAQ,IAAI,CACvD,CAAC,CAAC,CACD,aAAa,EAAO,IAAY,CAC/B,GAAIC,EAAM,OAAS,UAAYA,EAAM,OAAS,SAC9C,GAAI,CACF,GAAI,CAACA,EAAM,MAAQ,eAAe,KAAKA,EAAM,IAAI,EAAG,MAAU,MAAM,EACpE,IAAMC,EAAM,IAAI,IAAI,UAAYD,EAAM,KAAO,IAAMA,EAAM,IAAI,EAC7D,GACEC,EAAI,SAAS,YAAY,IAAMD,EAAM,KAAK,YAAY,GACrDC,EAAI,MAAQ,OAAOA,EAAI,IAAI,IAAMD,EAAM,KAExC,MAAU,MAAM,CACpB,MAAQ,CACNE,EAAQ,SAAS,CACf,KAAM,SACN,KAAM,CAAC,MAAM,EACb,QAAS,0DACX,CAAC,CACH,CACF,CAAC,EAGH,SAAgBC,EACd,EACA,EAAmB,4BACnB,CACA,IAAMC,EAAWN,EAAoB,MAAMO,CAAK,EAGhD,OAFID,EAAS,OAAS,UAAYA,EAAS,OAAS,SAC3C,CAAE,KAAMA,EAAS,IAAK,EACxB,CACL,KAAM,gBACN,WAAY,GAAGA,EAAS,KAAK,KAAKA,EAAS,KAAK,GAAGA,EAAS,OAC5D,kBACF,CACF,C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e){if(typeof e!=`string`||e.length>255)return;let t=/^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/.exec(e);return t?t.slice(1,4).join(`.`):void 0}function t(t,n){let r=e(t),i=e(n);if(!r||!i)return!1;let a=r.split(`.`).map(BigInt),o=i.split(`.`).map(BigInt);for(let e=0;e<3;e++){if(a[e]>o[e])return!0;if(a[e]<o[e])return!1}return!1}function n(t,n,r){if(![`darwin`,`win32`].includes(n)||![`x64`,`arm64`,`ia32`].includes(r)||!t||typeof t!=`object`)throw TypeError(`Invalid release target`);let i=t,a=e(i.tag_name);if(!a||i.draft!==!1||i.prerelease!==!1||!Array.isArray(i.assets))throw TypeError(`Invalid stable release`);let o=i.assets.map(e=>e&&typeof e==`object`&&`name`in e&&typeof e.name==`string`?e.name.toLowerCase():``);function s(e){let t=/-universal(?:[.-]|$)/.test(e)?`universal`:/-arm64(?:[.-]|$)/.test(e)?`arm64`:/-ia32(?:[.-]|$)/.test(e)?`ia32`:`x64`;return t===r||n===`darwin`&&t===`universal`}let c=o.some(e=>s(e)&&(n===`darwin`?/-(mac|darwin|osx)[.-]/.test(e)&&e.endsWith(`.zip`):e.endsWith(`.exe`))),l=n!==`win32`||o.includes(`releases`)&&o.some(e=>s(e)&&e.endsWith(`-full.nupkg`));if(!c||!l)throw TypeError(`No matching update artifact`);return a}exports.isNewerRelease=t,exports.parseRelease=n,exports.releaseVersion=e;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Stable SemVer only. This parses metadata, never verifies a signature or installs an artifact. */
|
|
2
|
-
export declare function releaseVersion(value: unknown): string | undefined;
|
|
3
|
-
export declare function isNewerRelease(candidate: unknown, current: string): boolean;
|
|
4
|
-
export declare function parseRelease(value: unknown, platform: string, arch: string): string;
|
|
5
|
-
//# sourceMappingURL=release.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.cts","names":[],"sources":["../../../src/modules/desktop/release.ts"],"mappings":";wBACgB,eAAe;wBASf,eAAe,oBAAoB;wBAanC,aAAa,gBAAgB,kBAAkB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** Stable SemVer only. This parses metadata, never verifies a signature or installs an artifact. */
|
|
2
|
-
export declare function releaseVersion(value: unknown): string | undefined;
|
|
3
|
-
export declare function isNewerRelease(candidate: unknown, current: string): boolean;
|
|
4
|
-
export declare function parseRelease(value: unknown, platform: string, arch: string): string;
|
|
5
|
-
//# sourceMappingURL=release.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"release.d.ts","names":[],"sources":["../../../src/modules/desktop/release.ts"],"mappings":";wBACgB,eAAe;wBASf,eAAe,oBAAoB;wBAanC,aAAa,gBAAgB,kBAAkB"}
|