├── .eslintrc.cjs ├── .fttemplates ├── module-AddRemove │ ├── .ftsettings.json │ ├── resolvers │ │ └── _Mutation.In.ts │ └── typedefs │ │ ├── TYPE..s.gql │ │ └── _Mutation.In.gql └── module-NewEntity │ ├── .ftsettings.json │ ├── graphql │ ├── FRAG..gql │ ├── MUTATION.Create.gql │ ├── QUERY.Get.gql │ └── QUERY.Gets.gql │ ├── index.ts │ ├── resolvers │ ├── _Mutation.ts │ └── _Query.ts │ ├── typedefs │ ├── TYPE..gql │ ├── _Mutation.gql │ └── _Query.gql │ └── ui │ ├── Add.svelte │ ├── Card.svelte │ ├── List.svelte │ └── GetsStoreType.ts ├── .gitignore ├── .npmignore ├── .npmrc ├── .prettierignore ├── .prettierrc ├── .vscode └── settings.json ├── README.md ├── codegen.yml ├── package.json ├── src ├── app.html ├── global.d.ts ├── lib │ ├── graphql │ │ ├── client.ts │ │ ├── helpers │ │ │ └── createModuleHelper.ts │ │ └── server.ts │ ├── helper │ │ └── MenuMapping.ts │ ├── modules │ │ ├── channel │ │ │ ├── graphql │ │ │ │ ├── FRAG.channel.gql │ │ │ │ ├── MUTATION.CreateChannel.gql │ │ │ │ ├── QUERY.GetChannel.gql │ │ │ │ └── QUERY.GetChannels.gql │ │ │ ├── index.ts │ │ │ ├── resolvers │ │ │ │ ├── _Mutation.UserInChannel.ts │ │ │ │ ├── _Mutation.ts │ │ │ │ └── _Query.ts │ │ │ ├── typedefs │ │ │ │ ├── TYPE.Channel.gql │ │ │ │ ├── TYPE.Channel.users.gql │ │ │ │ ├── _Mutation.UserInChannel.gql │ │ │ │ ├── _Mutation.gql │ │ │ │ └── _Query.gql │ │ │ └── ui │ │ │ │ ├── ChannelAdd.svelte │ │ │ │ ├── ChannelCard.svelte │ │ │ │ └── ChannelList.svelte │ │ └── user │ │ │ ├── graphql │ │ │ ├── FRAG.user.gql │ │ │ ├── MUTATION.CreateUser.gql │ │ │ ├── QUERY.GetUser.gql │ │ │ └── QUERY.GetUsers.gql │ │ │ ├── index.ts │ │ │ ├── resolvers │ │ │ ├── _Mutation.ts │ │ │ └── _Query.ts │ │ │ ├── typedefs │ │ │ ├── TYPE.User.gql │ │ │ ├── _Mutation.gql │ │ │ └── _Query.gql │ │ │ └── ui │ │ │ ├── UserAdd.svelte │ │ │ ├── UserCard.svelte │ │ │ └── UserList.svelte │ └── ui │ │ ├── Card.svelte │ │ ├── CardList.svelte │ │ ├── Menu.svelte │ │ └── PageTitle.svelte └── routes │ ├── __layout.svelte │ ├── channel.svelte │ ├── graphql.ts │ ├── index.svelte │ ├── user.svelte │ └── userOnChannel.svelte ├── static └── favicon.ico ├── svelte.config.js ├── tools └── graphql-codegen-modules-merge-resolver.js ├── tsconfig.json └── yarn.lock /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.fttemplates/module-AddRemove/.ftsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-AddRemove/.ftsettings.json -------------------------------------------------------------------------------- /.fttemplates/module-AddRemove/resolvers/_Mutation.In.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-AddRemove/resolvers/_Mutation.In.ts -------------------------------------------------------------------------------- /.fttemplates/module-AddRemove/typedefs/TYPE..s.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-AddRemove/typedefs/TYPE..s.gql -------------------------------------------------------------------------------- /.fttemplates/module-AddRemove/typedefs/_Mutation.In.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-AddRemove/typedefs/_Mutation.In.gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/.ftsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "omitParentDirectory": false 3 | } 4 | -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/graphql/FRAG..gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/graphql/FRAG..gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/graphql/MUTATION.Create.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/graphql/MUTATION.Create.gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/graphql/QUERY.Get.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/graphql/QUERY.Get.gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/graphql/QUERY.Gets.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/graphql/QUERY.Gets.gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/index.ts -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/resolvers/_Mutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/resolvers/_Mutation.ts -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/resolvers/_Query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/resolvers/_Query.ts -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/typedefs/TYPE..gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/typedefs/TYPE..gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/typedefs/_Mutation.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/typedefs/_Mutation.gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/typedefs/_Query.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/typedefs/_Query.gql -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/ui/Add.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/ui/Add.svelte -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/ui/Card.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/ui/Card.svelte -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/ui/List.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/ui/List.svelte -------------------------------------------------------------------------------- /.fttemplates/module-NewEntity/ui/GetsStoreType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.fttemplates/module-NewEntity/ui/GetsStoreType.ts -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .svelte-kit 3 | build 4 | _gen -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /.svelte 4 | /build 5 | /functions 6 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/README.md -------------------------------------------------------------------------------- /codegen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/codegen.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/package.json -------------------------------------------------------------------------------- /src/app.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/app.html -------------------------------------------------------------------------------- /src/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/global.d.ts -------------------------------------------------------------------------------- /src/lib/graphql/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/graphql/client.ts -------------------------------------------------------------------------------- /src/lib/graphql/helpers/createModuleHelper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/graphql/helpers/createModuleHelper.ts -------------------------------------------------------------------------------- /src/lib/graphql/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/graphql/server.ts -------------------------------------------------------------------------------- /src/lib/helper/MenuMapping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/helper/MenuMapping.ts -------------------------------------------------------------------------------- /src/lib/modules/channel/graphql/FRAG.channel.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/graphql/FRAG.channel.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/graphql/MUTATION.CreateChannel.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/graphql/MUTATION.CreateChannel.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/graphql/QUERY.GetChannel.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/graphql/QUERY.GetChannel.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/graphql/QUERY.GetChannels.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/graphql/QUERY.GetChannels.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/index.ts -------------------------------------------------------------------------------- /src/lib/modules/channel/resolvers/_Mutation.UserInChannel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/resolvers/_Mutation.UserInChannel.ts -------------------------------------------------------------------------------- /src/lib/modules/channel/resolvers/_Mutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/resolvers/_Mutation.ts -------------------------------------------------------------------------------- /src/lib/modules/channel/resolvers/_Query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/resolvers/_Query.ts -------------------------------------------------------------------------------- /src/lib/modules/channel/typedefs/TYPE.Channel.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/typedefs/TYPE.Channel.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/typedefs/TYPE.Channel.users.gql: -------------------------------------------------------------------------------- 1 | extend type Channel { 2 | users: [User!]! 3 | } 4 | -------------------------------------------------------------------------------- /src/lib/modules/channel/typedefs/_Mutation.UserInChannel.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/typedefs/_Mutation.UserInChannel.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/typedefs/_Mutation.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/typedefs/_Mutation.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/typedefs/_Query.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/typedefs/_Query.gql -------------------------------------------------------------------------------- /src/lib/modules/channel/ui/ChannelAdd.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/ui/ChannelAdd.svelte -------------------------------------------------------------------------------- /src/lib/modules/channel/ui/ChannelCard.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/ui/ChannelCard.svelte -------------------------------------------------------------------------------- /src/lib/modules/channel/ui/ChannelList.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/channel/ui/ChannelList.svelte -------------------------------------------------------------------------------- /src/lib/modules/user/graphql/FRAG.user.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/graphql/FRAG.user.gql -------------------------------------------------------------------------------- /src/lib/modules/user/graphql/MUTATION.CreateUser.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/graphql/MUTATION.CreateUser.gql -------------------------------------------------------------------------------- /src/lib/modules/user/graphql/QUERY.GetUser.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/graphql/QUERY.GetUser.gql -------------------------------------------------------------------------------- /src/lib/modules/user/graphql/QUERY.GetUsers.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/graphql/QUERY.GetUsers.gql -------------------------------------------------------------------------------- /src/lib/modules/user/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/index.ts -------------------------------------------------------------------------------- /src/lib/modules/user/resolvers/_Mutation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/resolvers/_Mutation.ts -------------------------------------------------------------------------------- /src/lib/modules/user/resolvers/_Query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/resolvers/_Query.ts -------------------------------------------------------------------------------- /src/lib/modules/user/typedefs/TYPE.User.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/typedefs/TYPE.User.gql -------------------------------------------------------------------------------- /src/lib/modules/user/typedefs/_Mutation.gql: -------------------------------------------------------------------------------- 1 | type Mutation { 2 | createUser(name: String!): User 3 | } 4 | -------------------------------------------------------------------------------- /src/lib/modules/user/typedefs/_Query.gql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/typedefs/_Query.gql -------------------------------------------------------------------------------- /src/lib/modules/user/ui/UserAdd.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/ui/UserAdd.svelte -------------------------------------------------------------------------------- /src/lib/modules/user/ui/UserCard.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/ui/UserCard.svelte -------------------------------------------------------------------------------- /src/lib/modules/user/ui/UserList.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/modules/user/ui/UserList.svelte -------------------------------------------------------------------------------- /src/lib/ui/Card.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/ui/Card.svelte -------------------------------------------------------------------------------- /src/lib/ui/CardList.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/ui/CardList.svelte -------------------------------------------------------------------------------- /src/lib/ui/Menu.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/ui/Menu.svelte -------------------------------------------------------------------------------- /src/lib/ui/PageTitle.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/lib/ui/PageTitle.svelte -------------------------------------------------------------------------------- /src/routes/__layout.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/routes/__layout.svelte -------------------------------------------------------------------------------- /src/routes/channel.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/routes/channel.svelte -------------------------------------------------------------------------------- /src/routes/graphql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/routes/graphql.ts -------------------------------------------------------------------------------- /src/routes/index.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/routes/index.svelte -------------------------------------------------------------------------------- /src/routes/user.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/routes/user.svelte -------------------------------------------------------------------------------- /src/routes/userOnChannel.svelte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/src/routes/userOnChannel.svelte -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/static/favicon.ico -------------------------------------------------------------------------------- /svelte.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/svelte.config.js -------------------------------------------------------------------------------- /tools/graphql-codegen-modules-merge-resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/tools/graphql-codegen-modules-merge-resolver.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jycouet/sveltekit-modules/HEAD/yarn.lock --------------------------------------------------------------------------------