Added support to set crawlable short URLs during creation and edition

This commit is contained in:
Alejandro Celaya
2021-06-23 19:52:19 +02:00
parent 3a57416525
commit 5ef719c592
5 changed files with 65 additions and 17 deletions

View File

@@ -9,6 +9,7 @@ export interface EditShortUrlData {
validUntil?: m.Moment | string | null;
maxVisits?: number | null;
validateUrl?: boolean;
crawlable?: boolean;
}
export interface ShortUrlData extends EditShortUrlData {
@@ -29,6 +30,7 @@ export interface ShortUrl {
tags: string[];
domain: string | null;
title?: string | null;
crawlable?: boolean;
}
export interface ShortUrlMeta {