houdini 0.0.0-20231008055552
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/build/adapter/index.d.ts +3 -0
- package/build/adapter-cjs/index.js +33 -0
- package/build/adapter-cjs/package.json +1 -0
- package/build/adapter-esm/index.js +9 -0
- package/build/adapter-esm/package.json +1 -0
- package/build/cmd/generate.d.ts +8 -0
- package/build/cmd/index.d.ts +1 -0
- package/build/cmd/init.d.ts +5 -0
- package/build/cmd/pullSchema.d.ts +3 -0
- package/build/cmd-cjs/index.js +76228 -0
- package/build/cmd-cjs/package.json +1 -0
- package/build/cmd-esm/index.js +76233 -0
- package/build/cmd-esm/package.json +1 -0
- package/build/codegen/generators/artifacts/fieldKey.d.ts +3 -0
- package/build/codegen/generators/artifacts/index.d.ts +9 -0
- package/build/codegen/generators/artifacts/indexFile.d.ts +2 -0
- package/build/codegen/generators/artifacts/inputs.d.ts +4 -0
- package/build/codegen/generators/artifacts/operations.d.ts +11 -0
- package/build/codegen/generators/artifacts/selection.d.ts +19 -0
- package/build/codegen/generators/artifacts/utils.d.ts +8 -0
- package/build/codegen/generators/definitions/enums.d.ts +2 -0
- package/build/codegen/generators/definitions/index.d.ts +2 -0
- package/build/codegen/generators/index.d.ts +6 -0
- package/build/codegen/generators/indexFile/index.d.ts +2 -0
- package/build/codegen/generators/persistedQueries/index.d.ts +2 -0
- package/build/codegen/generators/runtime/graphqlFunction.d.ts +2 -0
- package/build/codegen/generators/runtime/index.d.ts +2 -0
- package/build/codegen/generators/runtime/injectPlugins.d.ts +7 -0
- package/build/codegen/generators/runtime/pluginIndex.d.ts +5 -0
- package/build/codegen/generators/runtime/runtimeConfig.d.ts +7 -0
- package/build/codegen/generators/typescript/addReferencedInputTypes.d.ts +4 -0
- package/build/codegen/generators/typescript/documentTypes.d.ts +2 -0
- package/build/codegen/generators/typescript/imperativeTypeDef.d.ts +2 -0
- package/build/codegen/generators/typescript/index.d.ts +2 -0
- package/build/codegen/generators/typescript/inlineType.d.ts +24 -0
- package/build/codegen/generators/typescript/loadingState.d.ts +8 -0
- package/build/codegen/generators/typescript/typeReference.d.ts +8 -0
- package/build/codegen/generators/typescript/types.d.ts +7 -0
- package/build/codegen/index.d.ts +7 -0
- package/build/codegen/transforms/addID.d.ts +2 -0
- package/build/codegen/transforms/collectDefinitions.d.ts +9 -0
- package/build/codegen/transforms/fragmentVariables.d.ts +17 -0
- package/build/codegen/transforms/index.d.ts +7 -0
- package/build/codegen/transforms/list.d.ts +9 -0
- package/build/codegen/transforms/paginate.d.ts +36 -0
- package/build/codegen/transforms/schema.d.ts +2 -0
- package/build/codegen/transforms/typename.d.ts +2 -0
- package/build/codegen/utils/commonjs.d.ts +5 -0
- package/build/codegen/utils/flattenSelections.d.ts +11 -0
- package/build/codegen/utils/index.d.ts +4 -0
- package/build/codegen/utils/moduleExport.d.ts +4 -0
- package/build/codegen/utils/murmur.d.ts +9 -0
- package/build/codegen/utils/objectIdentificationSelection.d.ts +3 -0
- package/build/codegen/validators/index.d.ts +4 -0
- package/build/codegen/validators/noIDAlias.d.ts +2 -0
- package/build/codegen/validators/plugins.d.ts +3 -0
- package/build/codegen/validators/typeCheck.d.ts +5 -0
- package/build/codegen/validators/uniqueNames.d.ts +2 -0
- package/build/codegen-cjs/index.js +63600 -0
- package/build/codegen-cjs/package.json +1 -0
- package/build/codegen-esm/index.js +63599 -0
- package/build/codegen-esm/package.json +1 -0
- package/build/lib/cleanupFiles.d.ts +1 -0
- package/build/lib/config.d.ts +156 -0
- package/build/lib/constants.d.ts +8 -0
- package/build/lib/deepMerge.d.ts +1 -0
- package/build/lib/detectTools.d.ts +16 -0
- package/build/lib/error.d.ts +9 -0
- package/build/lib/fs.d.ts +34 -0
- package/build/lib/graphql.d.ts +32 -0
- package/build/lib/imports.d.ts +20 -0
- package/build/lib/index.d.ts +22 -0
- package/build/lib/introspection.d.ts +3 -0
- package/build/lib/parse.d.ts +18 -0
- package/build/lib/path.d.ts +13 -0
- package/build/lib/pipeline.d.ts +3 -0
- package/build/lib/plugin.d.ts +2 -0
- package/build/lib/router/conventions.d.ts +26 -0
- package/build/lib/router/index.d.ts +9 -0
- package/build/lib/router/manifest.d.ts +12 -0
- package/build/lib/router/server.d.ts +7 -0
- package/build/lib/router/types.d.ts +11 -0
- package/build/lib/types.d.ts +303 -0
- package/build/lib/walk.d.ts +28 -0
- package/build/lib-cjs/index.js +69081 -0
- package/build/lib-cjs/package.json +1 -0
- package/build/lib-esm/index.js +69002 -0
- package/build/lib-esm/package.json +1 -0
- package/build/runtime/cache/cache.d.ts +147 -0
- package/build/runtime/cache/gc.d.ts +10 -0
- package/build/runtime/cache/index.d.ts +3 -0
- package/build/runtime/cache/lists.d.ts +87 -0
- package/build/runtime/cache/schema.d.ts +21 -0
- package/build/runtime/cache/staleManager.d.ts +31 -0
- package/build/runtime/cache/storage.d.ts +108 -0
- package/build/runtime/cache/stuff.d.ts +1 -0
- package/build/runtime/cache/subscription.d.ts +49 -0
- package/build/runtime/client/documentStore.d.ts +104 -0
- package/build/runtime/client/index.d.ts +43 -0
- package/build/runtime/client/plugins/cache.d.ts +9 -0
- package/build/runtime/client/plugins/fetch.d.ts +38 -0
- package/build/runtime/client/plugins/fetchParams.d.ts +9 -0
- package/build/runtime/client/plugins/fragment.d.ts +2 -0
- package/build/runtime/client/plugins/index.d.ts +8 -0
- package/build/runtime/client/plugins/injectedPlugins.d.ts +4 -0
- package/build/runtime/client/plugins/mutation.d.ts +1 -0
- package/build/runtime/client/plugins/query.d.ts +2 -0
- package/build/runtime/client/plugins/subscription.d.ts +20 -0
- package/build/runtime/client/plugins/throwOnError.d.ts +8 -0
- package/build/runtime/client/utils/documentPlugins.d.ts +3 -0
- package/build/runtime/client/utils/index.d.ts +1 -0
- package/build/runtime/generated.d.ts +5 -0
- package/build/runtime/imports/config.d.ts +3 -0
- package/build/runtime/imports/pluginConfig.d.ts +3 -0
- package/build/runtime/index.d.ts +8 -0
- package/build/runtime/lib/config.d.ts +175 -0
- package/build/runtime/lib/constants.d.ts +6 -0
- package/build/runtime/lib/deepEquals.d.ts +1 -0
- package/build/runtime/lib/flatten.d.ts +2 -0
- package/build/runtime/lib/index.d.ts +9 -0
- package/build/runtime/lib/key.d.ts +6 -0
- package/build/runtime/lib/log.d.ts +6 -0
- package/build/runtime/lib/lru.d.ts +52 -0
- package/build/runtime/lib/pageInfo.d.ts +7 -0
- package/build/runtime/lib/pagination.d.ts +27 -0
- package/build/runtime/lib/scalars.d.ts +14 -0
- package/build/runtime/lib/selection.d.ts +2 -0
- package/build/runtime/lib/store.d.ts +19 -0
- package/build/runtime/lib/types.d.ts +359 -0
- package/build/runtime/public/cache.d.ts +43 -0
- package/build/runtime/public/index.d.ts +1 -0
- package/build/runtime/public/list.d.ts +18 -0
- package/build/runtime/public/record.d.ts +40 -0
- package/build/runtime/public/tests/test.d.ts +156 -0
- package/build/runtime/public/types.d.ts +62 -0
- package/build/runtime/router/cookies.d.ts +41 -0
- package/build/runtime/router/jwt.d.ts +117 -0
- package/build/runtime/router/match.d.ts +38 -0
- package/build/runtime/router/server.d.ts +22 -0
- package/build/runtime/router/session.d.ts +22 -0
- package/build/runtime/router/types.d.ts +23 -0
- package/build/runtime-cjs/cache/cache.d.ts +147 -0
- package/build/runtime-cjs/cache/cache.js +918 -0
- package/build/runtime-cjs/cache/gc.d.ts +10 -0
- package/build/runtime-cjs/cache/gc.js +73 -0
- package/build/runtime-cjs/cache/index.d.ts +3 -0
- package/build/runtime-cjs/cache/index.js +27 -0
- package/build/runtime-cjs/cache/lists.d.ts +87 -0
- package/build/runtime-cjs/cache/lists.js +434 -0
- package/build/runtime-cjs/cache/schema.d.ts +21 -0
- package/build/runtime-cjs/cache/schema.js +66 -0
- package/build/runtime-cjs/cache/staleManager.d.ts +31 -0
- package/build/runtime-cjs/cache/staleManager.js +98 -0
- package/build/runtime-cjs/cache/storage.d.ts +108 -0
- package/build/runtime-cjs/cache/storage.js +414 -0
- package/build/runtime-cjs/cache/stuff.d.ts +1 -0
- package/build/runtime-cjs/cache/stuff.js +53 -0
- package/build/runtime-cjs/cache/subscription.d.ts +49 -0
- package/build/runtime-cjs/cache/subscription.js +297 -0
- package/build/runtime-cjs/client/documentStore.d.ts +104 -0
- package/build/runtime-cjs/client/documentStore.js +416 -0
- package/build/runtime-cjs/client/index.d.ts +43 -0
- package/build/runtime-cjs/client/index.js +129 -0
- package/build/runtime-cjs/client/plugins/cache.d.ts +9 -0
- package/build/runtime-cjs/client/plugins/cache.js +131 -0
- package/build/runtime-cjs/client/plugins/fetch.d.ts +38 -0
- package/build/runtime-cjs/client/plugins/fetch.js +191 -0
- package/build/runtime-cjs/client/plugins/fetchParams.d.ts +9 -0
- package/build/runtime-cjs/client/plugins/fetchParams.js +45 -0
- package/build/runtime-cjs/client/plugins/fragment.d.ts +2 -0
- package/build/runtime-cjs/client/plugins/fragment.js +83 -0
- package/build/runtime-cjs/client/plugins/index.d.ts +8 -0
- package/build/runtime-cjs/client/plugins/index.js +25 -0
- package/build/runtime-cjs/client/plugins/injectedPlugins.d.ts +4 -0
- package/build/runtime-cjs/client/plugins/injectedPlugins.js +27 -0
- package/build/runtime-cjs/client/plugins/mutation.d.ts +1 -0
- package/build/runtime-cjs/client/plugins/mutation.js +90 -0
- package/build/runtime-cjs/client/plugins/query.d.ts +2 -0
- package/build/runtime-cjs/client/plugins/query.js +82 -0
- package/build/runtime-cjs/client/plugins/subscription.d.ts +20 -0
- package/build/runtime-cjs/client/plugins/subscription.js +114 -0
- package/build/runtime-cjs/client/plugins/throwOnError.d.ts +8 -0
- package/build/runtime-cjs/client/plugins/throwOnError.js +47 -0
- package/build/runtime-cjs/client/utils/documentPlugins.d.ts +3 -0
- package/build/runtime-cjs/client/utils/documentPlugins.js +56 -0
- package/build/runtime-cjs/client/utils/index.d.ts +1 -0
- package/build/runtime-cjs/client/utils/index.js +18 -0
- package/build/runtime-cjs/generated.d.ts +5 -0
- package/build/runtime-cjs/generated.js +16 -0
- package/build/runtime-cjs/imports/config.d.ts +3 -0
- package/build/runtime-cjs/imports/config.js +26 -0
- package/build/runtime-cjs/imports/pluginConfig.d.ts +3 -0
- package/build/runtime-cjs/imports/pluginConfig.js +27 -0
- package/build/runtime-cjs/index.d.ts +8 -0
- package/build/runtime-cjs/index.js +55 -0
- package/build/runtime-cjs/lib/config.d.ts +175 -0
- package/build/runtime-cjs/lib/config.js +106 -0
- package/build/runtime-cjs/lib/constants.d.ts +6 -0
- package/build/runtime-cjs/lib/constants.js +38 -0
- package/build/runtime-cjs/lib/deepEquals.d.ts +1 -0
- package/build/runtime-cjs/lib/deepEquals.js +54 -0
- package/build/runtime-cjs/lib/flatten.d.ts +2 -0
- package/build/runtime-cjs/lib/flatten.js +41 -0
- package/build/runtime-cjs/lib/index.d.ts +9 -0
- package/build/runtime-cjs/lib/index.js +26 -0
- package/build/runtime-cjs/lib/key.d.ts +6 -0
- package/build/runtime-cjs/lib/key.js +41 -0
- package/build/runtime-cjs/lib/log.d.ts +6 -0
- package/build/runtime-cjs/lib/log.js +72 -0
- package/build/runtime-cjs/lib/lru.d.ts +52 -0
- package/build/runtime-cjs/lib/lru.js +73 -0
- package/build/runtime-cjs/lib/pageInfo.d.ts +7 -0
- package/build/runtime-cjs/lib/pageInfo.js +79 -0
- package/build/runtime-cjs/lib/pagination.d.ts +27 -0
- package/build/runtime-cjs/lib/pagination.js +219 -0
- package/build/runtime-cjs/lib/scalars.d.ts +14 -0
- package/build/runtime-cjs/lib/scalars.js +145 -0
- package/build/runtime-cjs/lib/selection.d.ts +2 -0
- package/build/runtime-cjs/lib/selection.js +66 -0
- package/build/runtime-cjs/lib/store.d.ts +19 -0
- package/build/runtime-cjs/lib/store.js +81 -0
- package/build/runtime-cjs/lib/types.d.ts +359 -0
- package/build/runtime-cjs/lib/types.js +86 -0
- package/build/runtime-cjs/package.json +1 -0
- package/build/runtime-cjs/public/cache.d.ts +43 -0
- package/build/runtime-cjs/public/cache.js +100 -0
- package/build/runtime-cjs/public/index.d.ts +1 -0
- package/build/runtime-cjs/public/index.js +28 -0
- package/build/runtime-cjs/public/list.d.ts +18 -0
- package/build/runtime-cjs/public/list.js +151 -0
- package/build/runtime-cjs/public/record.d.ts +40 -0
- package/build/runtime-cjs/public/record.js +89 -0
- package/build/runtime-cjs/public/tests/test.d.ts +156 -0
- package/build/runtime-cjs/public/tests/test.js +58 -0
- package/build/runtime-cjs/public/types.d.ts +62 -0
- package/build/runtime-cjs/public/types.js +16 -0
- package/build/runtime-cjs/router/cookies.d.ts +41 -0
- package/build/runtime-cjs/router/cookies.js +168 -0
- package/build/runtime-cjs/router/jwt.d.ts +117 -0
- package/build/runtime-cjs/router/jwt.js +181 -0
- package/build/runtime-cjs/router/match.d.ts +38 -0
- package/build/runtime-cjs/router/match.js +149 -0
- package/build/runtime-cjs/router/server.d.ts +22 -0
- package/build/runtime-cjs/router/server.js +95 -0
- package/build/runtime-cjs/router/session.d.ts +22 -0
- package/build/runtime-cjs/router/session.js +77 -0
- package/build/runtime-cjs/router/types.d.ts +23 -0
- package/build/runtime-cjs/router/types.js +16 -0
- package/build/runtime-esm/cache/cache.d.ts +147 -0
- package/build/runtime-esm/cache/cache.js +892 -0
- package/build/runtime-esm/cache/gc.d.ts +10 -0
- package/build/runtime-esm/cache/gc.js +49 -0
- package/build/runtime-esm/cache/index.d.ts +3 -0
- package/build/runtime-esm/cache/index.js +5 -0
- package/build/runtime-esm/cache/lists.d.ts +87 -0
- package/build/runtime-esm/cache/lists.js +408 -0
- package/build/runtime-esm/cache/schema.d.ts +21 -0
- package/build/runtime-esm/cache/schema.js +42 -0
- package/build/runtime-esm/cache/staleManager.d.ts +31 -0
- package/build/runtime-esm/cache/staleManager.js +74 -0
- package/build/runtime-esm/cache/storage.d.ts +108 -0
- package/build/runtime-esm/cache/storage.js +387 -0
- package/build/runtime-esm/cache/stuff.d.ts +1 -0
- package/build/runtime-esm/cache/stuff.js +29 -0
- package/build/runtime-esm/cache/subscription.d.ts +49 -0
- package/build/runtime-esm/cache/subscription.js +273 -0
- package/build/runtime-esm/client/documentStore.d.ts +104 -0
- package/build/runtime-esm/client/documentStore.js +392 -0
- package/build/runtime-esm/client/index.d.ts +43 -0
- package/build/runtime-esm/client/index.js +100 -0
- package/build/runtime-esm/client/plugins/cache.d.ts +9 -0
- package/build/runtime-esm/client/plugins/cache.js +101 -0
- package/build/runtime-esm/client/plugins/fetch.d.ts +38 -0
- package/build/runtime-esm/client/plugins/fetch.js +165 -0
- package/build/runtime-esm/client/plugins/fetchParams.d.ts +9 -0
- package/build/runtime-esm/client/plugins/fetchParams.js +21 -0
- package/build/runtime-esm/client/plugins/fragment.d.ts +2 -0
- package/build/runtime-esm/client/plugins/fragment.js +53 -0
- package/build/runtime-esm/client/plugins/index.d.ts +8 -0
- package/build/runtime-esm/client/plugins/index.js +8 -0
- package/build/runtime-esm/client/plugins/injectedPlugins.d.ts +4 -0
- package/build/runtime-esm/client/plugins/injectedPlugins.js +5 -0
- package/build/runtime-esm/client/plugins/mutation.d.ts +1 -0
- package/build/runtime-esm/client/plugins/mutation.js +60 -0
- package/build/runtime-esm/client/plugins/query.d.ts +2 -0
- package/build/runtime-esm/client/plugins/query.js +52 -0
- package/build/runtime-esm/client/plugins/subscription.d.ts +20 -0
- package/build/runtime-esm/client/plugins/subscription.js +90 -0
- package/build/runtime-esm/client/plugins/throwOnError.d.ts +8 -0
- package/build/runtime-esm/client/plugins/throwOnError.js +23 -0
- package/build/runtime-esm/client/utils/documentPlugins.d.ts +3 -0
- package/build/runtime-esm/client/utils/documentPlugins.js +32 -0
- package/build/runtime-esm/client/utils/index.d.ts +1 -0
- package/build/runtime-esm/client/utils/index.js +1 -0
- package/build/runtime-esm/generated.d.ts +5 -0
- package/build/runtime-esm/generated.js +0 -0
- package/build/runtime-esm/imports/config.d.ts +3 -0
- package/build/runtime-esm/imports/config.js +4 -0
- package/build/runtime-esm/imports/pluginConfig.d.ts +3 -0
- package/build/runtime-esm/imports/pluginConfig.js +5 -0
- package/build/runtime-esm/index.d.ts +8 -0
- package/build/runtime-esm/index.js +22 -0
- package/build/runtime-esm/lib/config.d.ts +175 -0
- package/build/runtime-esm/lib/config.js +69 -0
- package/build/runtime-esm/lib/constants.d.ts +6 -0
- package/build/runtime-esm/lib/constants.js +12 -0
- package/build/runtime-esm/lib/deepEquals.d.ts +1 -0
- package/build/runtime-esm/lib/deepEquals.js +30 -0
- package/build/runtime-esm/lib/flatten.d.ts +2 -0
- package/build/runtime-esm/lib/flatten.js +17 -0
- package/build/runtime-esm/lib/index.d.ts +9 -0
- package/build/runtime-esm/lib/index.js +9 -0
- package/build/runtime-esm/lib/key.d.ts +6 -0
- package/build/runtime-esm/lib/key.js +17 -0
- package/build/runtime-esm/lib/log.d.ts +6 -0
- package/build/runtime-esm/lib/log.js +43 -0
- package/build/runtime-esm/lib/lru.d.ts +52 -0
- package/build/runtime-esm/lib/lru.js +48 -0
- package/build/runtime-esm/lib/pageInfo.d.ts +7 -0
- package/build/runtime-esm/lib/pageInfo.js +52 -0
- package/build/runtime-esm/lib/pagination.d.ts +27 -0
- package/build/runtime-esm/lib/pagination.js +194 -0
- package/build/runtime-esm/lib/scalars.d.ts +14 -0
- package/build/runtime-esm/lib/scalars.js +118 -0
- package/build/runtime-esm/lib/selection.d.ts +2 -0
- package/build/runtime-esm/lib/selection.js +42 -0
- package/build/runtime-esm/lib/store.d.ts +19 -0
- package/build/runtime-esm/lib/store.js +57 -0
- package/build/runtime-esm/lib/types.d.ts +359 -0
- package/build/runtime-esm/lib/types.js +50 -0
- package/build/runtime-esm/package.json +1 -0
- package/build/runtime-esm/public/cache.d.ts +43 -0
- package/build/runtime-esm/public/cache.js +76 -0
- package/build/runtime-esm/public/index.d.ts +1 -0
- package/build/runtime-esm/public/index.js +4 -0
- package/build/runtime-esm/public/list.d.ts +18 -0
- package/build/runtime-esm/public/list.js +127 -0
- package/build/runtime-esm/public/record.d.ts +40 -0
- package/build/runtime-esm/public/record.js +65 -0
- package/build/runtime-esm/public/tests/test.d.ts +156 -0
- package/build/runtime-esm/public/tests/test.js +34 -0
- package/build/runtime-esm/public/types.d.ts +62 -0
- package/build/runtime-esm/public/types.js +0 -0
- package/build/runtime-esm/router/cookies.d.ts +41 -0
- package/build/runtime-esm/router/cookies.js +143 -0
- package/build/runtime-esm/router/jwt.d.ts +117 -0
- package/build/runtime-esm/router/jwt.js +155 -0
- package/build/runtime-esm/router/match.d.ts +38 -0
- package/build/runtime-esm/router/match.js +122 -0
- package/build/runtime-esm/router/server.d.ts +22 -0
- package/build/runtime-esm/router/server.js +70 -0
- package/build/runtime-esm/router/session.d.ts +22 -0
- package/build/runtime-esm/router/session.js +52 -0
- package/build/runtime-esm/router/types.d.ts +23 -0
- package/build/runtime-esm/router/types.js +0 -0
- package/build/test/index.d.ts +26 -0
- package/build/test-cjs/index.js +64259 -0
- package/build/test-cjs/package.json +1 -0
- package/build/test-esm/index.js +64254 -0
- package/build/test-esm/package.json +1 -0
- package/build/vite/ast.d.ts +10 -0
- package/build/vite/houdini.d.ts +11 -0
- package/build/vite/imports.d.ts +40 -0
- package/build/vite/index.d.ts +7 -0
- package/build/vite/schema.d.ts +3 -0
- package/build/vite-cjs/index.js +77666 -0
- package/build/vite-cjs/package.json +1 -0
- package/build/vite-esm/index.js +77661 -0
- package/build/vite-esm/package.json +1 -0
- package/package.json +112 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Alec Aivazis
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/HoudiniGraphql/houdini/main/.github/assets/logo_l.svg">
|
|
4
|
+
<img height="140" alt="Houdini's logo (dark or light)" src="https://raw.githubusercontent.com/HoudiniGraphql/houdini/main/.github/assets/logo_d.svg">
|
|
5
|
+
</picture>
|
|
6
|
+
<br />
|
|
7
|
+
<br />
|
|
8
|
+
<strong>
|
|
9
|
+
The disappearing GraphQL clients.
|
|
10
|
+
</strong>
|
|
11
|
+
<br />
|
|
12
|
+
<br />
|
|
13
|
+
<a href="https://npmjs.org/package/houdini">
|
|
14
|
+
<img src="https://img.shields.io/npm/v/houdini.svg" alt="version" />
|
|
15
|
+
</a>
|
|
16
|
+
<a href="https://github.com/HoudiniGraphql/houdini/actions">
|
|
17
|
+
<img src="https://github.com/HoudiniGraphql/houdini/actions/workflows/tests.yml/badge.svg" alt="CI Tests" />
|
|
18
|
+
</a>
|
|
19
|
+
<a href="https://github.com/HoudiniGraphql/houdini">
|
|
20
|
+
<img src="https://img.shields.io/github/stars/HoudiniGraphql/houdini.svg?label=stars" alt="github stars" />
|
|
21
|
+
</a>
|
|
22
|
+
<a href="https://npmjs.org/package/houdini">
|
|
23
|
+
<img src="https://img.shields.io/npm/dm/houdini.svg" alt="downloads" />
|
|
24
|
+
</a>
|
|
25
|
+
<a href="https://github.com/HoudiniGraphql/houdini/blob/main/LICENSE">
|
|
26
|
+
<img src="https://img.shields.io/github/license/HoudiniGraphql/houdini.svg?maxAge=2592000" alt="license" />
|
|
27
|
+
</a>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
----
|
|
31
|
+
|
|
32
|
+
At its core, houdini seeks to enable a high quality developer experience
|
|
33
|
+
without compromising bundle size. Like Svelte, houdini shifts what is
|
|
34
|
+
traditionally handled by a bloated runtime into a compile step that allows
|
|
35
|
+
for the generation of an incredibly lean GraphQL abstraction for your application.
|
|
36
|
+
See more at <a href="https://www.houdinigraphql.com">HoudiniGraphQL.com</a> 🚀
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { serverAdapterFactory as createAdapter } from '../runtime/router/server';
|
|
2
|
+
export declare const endpoint: string;
|
|
3
|
+
export declare let createServerAdapter: (args: Omit<Parameters<typeof createAdapter>[0], 'on_render' | 'manifest' | 'yoga' | 'schema' | 'graphqlEndpoint' | 'client'>) => ReturnType<typeof createAdapter>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/adapter/index.tsx
|
|
21
|
+
var adapter_exports = {};
|
|
22
|
+
__export(adapter_exports, {
|
|
23
|
+
createServerAdapter: () => createServerAdapter,
|
|
24
|
+
endpoint: () => endpoint
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(adapter_exports);
|
|
27
|
+
var endpoint = "";
|
|
28
|
+
var createServerAdapter;
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
createServerAdapter,
|
|
32
|
+
endpoint
|
|
33
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|