mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Minor improvements to Grist Node
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user