{#if !hidePath}
{#if !can_write}
You only have read access to this resource and cannot edit it
{/if}
{/if} {#if deployTo} {/if} {#if !emptyString(resourceTypeInfo?.description)}

{resourceTypeInfo?.name} description

{/if}

Resource description {#if can_write}

{#if can_write && editDescription}
GH Markdown
{:else if description == undefined || description == ''}
No description provided
{:else}
{/if}
{ if (e.detail) { rawCode = JSON.stringify(args, null, 2) } else if (resourceTypeInfo?.format_extension && !resourceTypeInfo?.is_fileset) { textFileContent = args?.content ?? '' } }} options={{ right: 'As JSON' }} /> {#if resourceToEdit?.resource_type === 'nats' || resourceToEdit?.resource_type === 'kafka'} {:else} {/if} {#if resource_type === 'git_repository' && $workspaceStore && ($userStore?.is_admin || $userStore?.is_super_admin)} { args = newArgs if (viewJsonSchema) { rawCode = JSON.stringify(args, null, 2) } }} onDescriptionUpdate={(newDescription) => (description = newDescription)} /> {/if}
{#if loadingSchema} {:else if !viewJsonSchema && resourceTypeInfo?.is_fileset}
Fileset
{:else if !viewJsonSchema && resourceSchema && resourceSchema?.properties} {#if resourceTypeInfo?.format_extension}
File content ({resourceTypeInfo.format_extension})
{:else} {/if} {:else if !can_write} {:else} {#if !viewJsonSchema}

Resource type '{resource_type}' not found in your workspace

onLoadResourceType?.()} />

Define the value in JSON directly

{/if} {#if !emptyString(jsonError)}{jsonError}{:else}
{/if}
{/if}