Skip to content
Snippets Groups Projects
Commit 7f0e97d9 authored by Simon Belak's avatar Simon Belak
Browse files

Add DeletionTimestamp family of types

parent df4616d2
Branches
Tags
No related merge requests found
......@@ -155,6 +155,21 @@ export const field_special_types = [
name: t`Cancelation date`,
section: t`Common`,
},
{
id: TYPE.DeletionTimestamp,
name: t`Deletion timestamp`,
section: t`Common`,
},
{
id: TYPE.DeletionTime,
name: t`Deletion time`,
section: t`Common`,
},
{
id: TYPE.DeletionDate,
name: t`Deletion date`,
section: t`Common`,
},
{
id: TYPE.Product,
name: t`Product`,
......
......@@ -87,6 +87,9 @@
[#"cancel" date-type :type/CancelationDate]
[#"cancel" time-type :type/CancelationTime]
[#"cancel" timestamp-type :type/CancelationTimestamp]
[#"delet(?:e|i)" date-type :type/DeletionDate]
[#"delet(?:e|i)" time-type :type/DeletionTime]
[#"delet(?:e|i)" timestamp-type :type/DeletionTimestamp]
[#"source" int-or-text-type :type/Source]
[#"channel" int-or-text-type :type/Source]
[#"share" float-type :type/Share]
......
......@@ -109,6 +109,12 @@
(derive :type/CancelationDate :type/Date)
(derive :type/CancelationDate :type/CancelationTimestamp)
(derive :type/DeletionTimestamp :type/DateTime)
(derive :type/DeletionTime :type/Date)
(derive :type/DeletionTime :type/DeletionTimestamp)
(derive :type/DeletionDate :type/Date)
(derive :type/DeletionDate :type/DeletionTimestamp)
(derive :type/Birthdate :type/Date)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment