mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
⚡ Minor improvements to Grist Node
This commit is contained in:
parent
9d972b2fb9
commit
f6001da91e
|
@ -31,7 +31,7 @@ export class GristApi implements ICredentialType {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Self-hosted',
|
name: 'Self-hosted',
|
||||||
value: 'selfhosted',
|
value: 'selfHosted',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
@ -55,12 +55,13 @@ export class GristApi implements ICredentialType {
|
||||||
name: 'selfHostedUrl',
|
name: 'selfHostedUrl',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
|
placeholder: 'http://localhost:8484',
|
||||||
required: true,
|
required: true,
|
||||||
description: 'URL of your Grist instance (include http/https without /api and no trailing slash)',
|
description: 'URL of your Grist instance. Include http/https without /api and no trailing slash.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
planType: [
|
planType: [
|
||||||
'selfhosted',
|
'selfHosted',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
2
packages/nodes-base/nodes/Grist/types.d.ts
vendored
2
packages/nodes-base/nodes/Grist/types.d.ts
vendored
|
@ -1,6 +1,6 @@
|
||||||
export type GristCredentials = {
|
export type GristCredentials = {
|
||||||
apiKey: string;
|
apiKey: string;
|
||||||
planType: 'free' | 'paid' | 'selfhosted';
|
planType: 'free' | 'paid' | 'selfHosted';
|
||||||
customSubdomain?: string;
|
customSubdomain?: string;
|
||||||
selfHostedUrl?: string;
|
selfHostedUrl?: string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue