@joeygrable94/utm-src-pub-validators 0.0.75 → 0.0.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -740,6 +740,12 @@ var SUtmLinkBuilderPartCampaignDateOptions = [
|
|
|
740
740
|
"monthly",
|
|
741
741
|
"on a specific date"
|
|
742
742
|
];
|
|
743
|
+
var SUtmPartCampaignDateValue = v12__namespace.object({
|
|
744
|
+
year: v12__namespace.number("Please provide a valid year."),
|
|
745
|
+
quarter: v12__namespace.optional(v12__namespace.number()),
|
|
746
|
+
month: v12__namespace.optional(v12__namespace.number()),
|
|
747
|
+
day: v12__namespace.optional(v12__namespace.number())
|
|
748
|
+
});
|
|
743
749
|
var SUtmPartBuilderCampaign = v12__namespace.object({
|
|
744
750
|
campaign_phase: v12__namespace.optional(IsValidUrlUtmPart),
|
|
745
751
|
campaign_product: v12__namespace.optional(IsValidUrlUtmPart),
|
|
@@ -756,12 +762,7 @@ var SUtmPartBuilderCampaign = v12__namespace.object({
|
|
|
756
762
|
SUtmLinkBuilderPartCampaignDateOptions,
|
|
757
763
|
"Please select a valid campaign date format."
|
|
758
764
|
),
|
|
759
|
-
value:
|
|
760
|
-
year: v12__namespace.number("Please provide a valid year."),
|
|
761
|
-
quarter: v12__namespace.optional(v12__namespace.number()),
|
|
762
|
-
month: v12__namespace.optional(v12__namespace.number()),
|
|
763
|
-
day: v12__namespace.optional(v12__namespace.number())
|
|
764
|
-
})
|
|
765
|
+
value: SUtmPartCampaignDateValue
|
|
765
766
|
}),
|
|
766
767
|
campaign_id: IsValidUrlUtmPart
|
|
767
768
|
});
|
|
@@ -3614,6 +3615,7 @@ exports.SUtmLinkBuilderPartCampaignDateOptions = SUtmLinkBuilderPartCampaignDate
|
|
|
3614
3615
|
exports.SUtmLinkBuilderTableForm = SUtmLinkBuilderTableForm;
|
|
3615
3616
|
exports.SUtmPartBuilderCampaign = SUtmPartBuilderCampaign;
|
|
3616
3617
|
exports.SUtmPartBuilderCreativeFormatVariant = SUtmPartBuilderCreativeFormatVariant;
|
|
3618
|
+
exports.SUtmPartCampaignDateValue = SUtmPartCampaignDateValue;
|
|
3617
3619
|
exports.SVerifyGroupUserDocument = SVerifyGroupUserDocument;
|
|
3618
3620
|
exports.SWebsiteDocument = SWebsiteDocument;
|
|
3619
3621
|
exports.SWebsiteDocumentWithRelations = SWebsiteDocumentWithRelations;
|