@cedarjs/cli 1.0.0-canary.12686 → 1.0.0-canary.12688
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/dist/commands/generate/cell/templates/cell.tsx.template +1 -1
- package/dist/commands/generate/cell/templates/cellList.tsx.template +1 -1
- package/dist/commands/generate/function/templates/function.ts.template +1 -1
- package/dist/commands/generate/realtime/templates/subscriptions/blank/blank.service.ts.template +2 -2
- package/dist/commands/generate/realtime/templates/subscriptions/blank/blank.ts.template +1 -1
- package/dist/commands/generate/scaffold/templates/components/EditNameCell.tsx.template +1 -1
- package/dist/commands/generate/scaffold/templates/components/Name.tsx.template +1 -1
- package/dist/commands/generate/scaffold/templates/components/NameCell.tsx.template +1 -1
- package/dist/commands/generate/scaffold/templates/components/NameForm.tsx.template +1 -1
- package/dist/commands/generate/scaffold/templates/components/Names.tsx.template +1 -1
- package/dist/commands/generate/scaffold/templates/components/NamesCell.tsx.template +1 -1
- package/dist/commands/generate/scaffold/templates/components/NewName.tsx.template +1 -1
- package/dist/commands/generate/service/templates/service.ts.template +2 -2
- package/dist/commands/setup/realtime/templates/subscriptions/newMessage/rooms.ts.template +2 -2
- package/package.json +11 -11
package/dist/commands/generate/realtime/templates/subscriptions/blank/blank.service.ts.template
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ${subscriptionInputType} } from 'types/graphql
|
|
1
|
+
import type { ${subscriptionInputType} } from 'types/graphql'
|
|
2
2
|
|
|
3
|
-
import { logger } from 'src/lib/logger
|
|
3
|
+
import { logger } from 'src/lib/logger'
|
|
4
4
|
import type { Publish${typeName}ChannelType } from 'src/subscriptions/${name}/${name}.service.js'
|
|
5
5
|
|
|
6
6
|
export const ${subscriptionQueryName} = ({ id }) => [id]
|
|
@@ -2,7 +2,7 @@ ${useClientDirective}import type {
|
|
|
2
2
|
Edit${singularPascalName}By${pascalIdName},
|
|
3
3
|
Update${singularPascalName}Input,
|
|
4
4
|
Update${singularPascalName}MutationVariables
|
|
5
|
-
} from 'types/graphql
|
|
5
|
+
} from 'types/graphql'
|
|
6
6
|
|
|
7
7
|
import { navigate, routes } from '@cedarjs/router'
|
|
8
8
|
import type {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${singularPascalName}By${pascalIdName} } from 'types/graphql
|
|
1
|
+
import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${singularPascalName}By${pascalIdName} } from 'types/graphql'
|
|
2
2
|
|
|
3
3
|
import { Link, routes, navigate } from '@cedarjs/router'
|
|
4
4
|
import { useMutation } from '@cedarjs/web'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
${useClientDirective}import type { Find${singularPascalName}By${pascalIdName}, Find${singularPascalName}By${pascalIdName}Variables } from 'types/graphql
|
|
1
|
+
${useClientDirective}import type { Find${singularPascalName}By${pascalIdName}, Find${singularPascalName}By${pascalIdName}Variables } from 'types/graphql'
|
|
2
2
|
|
|
3
3
|
import type {
|
|
4
4
|
CellSuccessProps,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Edit${singularPascalName}By${pascalIdName}, Update${singularPascalName}Input } from 'types/graphql
|
|
1
|
+
import type { Edit${singularPascalName}By${pascalIdName}, Update${singularPascalName}Input } from 'types/graphql'
|
|
2
2
|
|
|
3
3
|
import type { RWGqlError } from '@cedarjs/forms'
|
|
4
4
|
import {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${pluralPascalName} } from 'types/graphql
|
|
1
|
+
import type { Delete${singularPascalName}Mutation, Delete${singularPascalName}MutationVariables, Find${pluralPascalName} } from 'types/graphql'
|
|
2
2
|
|
|
3
3
|
import { Link, routes } from '@cedarjs/router'
|
|
4
4
|
import { useMutation } from '@cedarjs/web'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
${useClientDirective}import type { Find${pluralPascalName}, Find${pluralPascalName}Variables } from 'types/graphql
|
|
1
|
+
${useClientDirective}import type { Find${pluralPascalName}, Find${pluralPascalName}Variables } from 'types/graphql'
|
|
2
2
|
|
|
3
3
|
import { Link, routes } from '@cedarjs/router'
|
|
4
4
|
import type {
|
|
@@ -2,7 +2,7 @@ ${useClientDirective}import type {
|
|
|
2
2
|
Create${singularPascalName}Mutation,
|
|
3
3
|
Create${singularPascalName}Input,
|
|
4
4
|
Create${singularPascalName}MutationVariables
|
|
5
|
-
} from 'types/graphql
|
|
5
|
+
} from 'types/graphql'
|
|
6
6
|
|
|
7
7
|
import { navigate, routes } from '@cedarjs/router'
|
|
8
8
|
import { useMutation } from '@cedarjs/web'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { QueryResolvers<% if (crud) { %>, MutationResolvers<% } %><% if (relations.length) { %>, ${singularPascalName}RelationResolvers<% } %> } from 'types/graphql
|
|
1
|
+
import type { QueryResolvers<% if (crud) { %>, MutationResolvers<% } %><% if (relations.length) { %>, ${singularPascalName}RelationResolvers<% } %> } from 'types/graphql'
|
|
2
2
|
|
|
3
|
-
import { db } from 'src/lib/db
|
|
3
|
+
import { db } from 'src/lib/db'
|
|
4
4
|
|
|
5
5
|
export const ${pluralCamelName}: QueryResolvers['${pluralCamelName}'] = () => {
|
|
6
6
|
return db.${singularCamelName}.findMany()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { SendMessageInput } from 'types/graphql
|
|
1
|
+
import type { SendMessageInput } from 'types/graphql'
|
|
2
2
|
import type { NewMessageChannelType } from 'src/subscriptions/newMessage/newMessage.js'
|
|
3
|
-
import { logger } from 'src/lib/logger
|
|
3
|
+
import { logger } from 'src/lib/logger'
|
|
4
4
|
|
|
5
5
|
export const room = ({ id }) => [id]
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/cli",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.12688+dc42cb8d0",
|
|
4
4
|
"description": "The CedarJS Command Line",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/preset-typescript": "7.27.1",
|
|
34
34
|
"@babel/runtime-corejs3": "7.27.6",
|
|
35
|
-
"@cedarjs/api-server": "1.0.0-canary.
|
|
36
|
-
"@cedarjs/cli-helpers": "1.0.0-canary.
|
|
37
|
-
"@cedarjs/fastify-web": "1.0.0-canary.
|
|
38
|
-
"@cedarjs/internal": "1.0.0-canary.
|
|
39
|
-
"@cedarjs/prerender": "1.0.0-canary.
|
|
40
|
-
"@cedarjs/project-config": "1.0.0-canary.
|
|
41
|
-
"@cedarjs/structure": "1.0.0-canary.
|
|
42
|
-
"@cedarjs/telemetry": "1.0.0-canary.
|
|
43
|
-
"@cedarjs/web-server": "1.0.0-canary.
|
|
35
|
+
"@cedarjs/api-server": "1.0.0-canary.12688",
|
|
36
|
+
"@cedarjs/cli-helpers": "1.0.0-canary.12688",
|
|
37
|
+
"@cedarjs/fastify-web": "1.0.0-canary.12688",
|
|
38
|
+
"@cedarjs/internal": "1.0.0-canary.12688",
|
|
39
|
+
"@cedarjs/prerender": "1.0.0-canary.12688",
|
|
40
|
+
"@cedarjs/project-config": "1.0.0-canary.12688",
|
|
41
|
+
"@cedarjs/structure": "1.0.0-canary.12688",
|
|
42
|
+
"@cedarjs/telemetry": "1.0.0-canary.12688",
|
|
43
|
+
"@cedarjs/web-server": "1.0.0-canary.12688",
|
|
44
44
|
"@listr2/prompt-adapter-enquirer": "2.0.16",
|
|
45
45
|
"@opentelemetry/api": "1.8.0",
|
|
46
46
|
"@opentelemetry/core": "1.22.0",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "dc42cb8d0bdfac20d31a3eedc1eac0f35b6b22a3"
|
|
106
106
|
}
|