@joeygrable94/utm-src-pub-validators 0.0.74 → 0.0.75
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -264,7 +264,7 @@ declare const SDeleteGroupDocument: v.ObjectSchema<{
|
|
|
264
264
|
}, undefined>;
|
|
265
265
|
type SDeleteGroupDocument = v.InferOutput<typeof SDeleteGroupDocument>;
|
|
266
266
|
|
|
267
|
-
declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["annually", "quarterly", "monthly", "on a specific date"
|
|
267
|
+
declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"];
|
|
268
268
|
type SUtmLinkBuilderPartCampaignDateValue = (typeof SUtmLinkBuilderPartCampaignDateOptions)[number];
|
|
269
269
|
type SUtmPartBuilderCampaignInput = v.InferInput<typeof SUtmPartBuilderCampaign>;
|
|
270
270
|
declare const SUtmPartBuilderCampaign: v.ObjectSchema<{
|
|
@@ -273,7 +273,7 @@ declare const SUtmPartBuilderCampaign: v.ObjectSchema<{
|
|
|
273
273
|
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, "Please select at least one targeting audience.">, v.MaxLengthAction<string[], 10, "You can select up to 10 targeting audiences.">]>, undefined>;
|
|
274
274
|
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
275
275
|
readonly campaign_date: v.ObjectSchema<{
|
|
276
|
-
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date"
|
|
276
|
+
readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
|
|
277
277
|
readonly value: v.ObjectSchema<{
|
|
278
278
|
readonly year: v.NumberSchema<"Please provide a valid year.">;
|
|
279
279
|
readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -308,7 +308,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
308
308
|
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, "Please select at least one targeting audience.">, v.MaxLengthAction<string[], 10, "You can select up to 10 targeting audiences.">]>, undefined>;
|
|
309
309
|
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
310
310
|
readonly campaign_date: v.ObjectSchema<{
|
|
311
|
-
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date"
|
|
311
|
+
readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
|
|
312
312
|
readonly value: v.ObjectSchema<{
|
|
313
313
|
readonly year: v.NumberSchema<"Please provide a valid year.">;
|
|
314
314
|
readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -323,7 +323,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
323
323
|
campaign_targeting?: string[] | undefined;
|
|
324
324
|
campaign_key?: string | undefined;
|
|
325
325
|
campaign_date: {
|
|
326
|
-
format: "annually" | "quarterly" | "monthly" | "on a specific date"
|
|
326
|
+
format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
|
|
327
327
|
value: {
|
|
328
328
|
year: number;
|
|
329
329
|
quarter?: number | undefined;
|
|
@@ -338,7 +338,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
338
338
|
campaign_targeting?: string[] | undefined;
|
|
339
339
|
campaign_key?: string | undefined;
|
|
340
340
|
campaign_date: {
|
|
341
|
-
format: "annually" | "quarterly" | "monthly" | "on a specific date"
|
|
341
|
+
format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
|
|
342
342
|
value: {
|
|
343
343
|
year: number;
|
|
344
344
|
quarter?: number | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -264,7 +264,7 @@ declare const SDeleteGroupDocument: v.ObjectSchema<{
|
|
|
264
264
|
}, undefined>;
|
|
265
265
|
type SDeleteGroupDocument = v.InferOutput<typeof SDeleteGroupDocument>;
|
|
266
266
|
|
|
267
|
-
declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["annually", "quarterly", "monthly", "on a specific date"
|
|
267
|
+
declare const SUtmLinkBuilderPartCampaignDateOptions: readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"];
|
|
268
268
|
type SUtmLinkBuilderPartCampaignDateValue = (typeof SUtmLinkBuilderPartCampaignDateOptions)[number];
|
|
269
269
|
type SUtmPartBuilderCampaignInput = v.InferInput<typeof SUtmPartBuilderCampaign>;
|
|
270
270
|
declare const SUtmPartBuilderCampaign: v.ObjectSchema<{
|
|
@@ -273,7 +273,7 @@ declare const SUtmPartBuilderCampaign: v.ObjectSchema<{
|
|
|
273
273
|
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, "Please select at least one targeting audience.">, v.MaxLengthAction<string[], 10, "You can select up to 10 targeting audiences.">]>, undefined>;
|
|
274
274
|
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
275
275
|
readonly campaign_date: v.ObjectSchema<{
|
|
276
|
-
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date"
|
|
276
|
+
readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
|
|
277
277
|
readonly value: v.ObjectSchema<{
|
|
278
278
|
readonly year: v.NumberSchema<"Please provide a valid year.">;
|
|
279
279
|
readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -308,7 +308,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
308
308
|
readonly campaign_targeting: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>, v.MinLengthAction<string[], 1, "Please select at least one targeting audience.">, v.MaxLengthAction<string[], 10, "You can select up to 10 targeting audiences.">]>, undefined>;
|
|
309
309
|
readonly campaign_key: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "this value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
|
|
310
310
|
readonly campaign_date: v.ObjectSchema<{
|
|
311
|
-
readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date"
|
|
311
|
+
readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
|
|
312
312
|
readonly value: v.ObjectSchema<{
|
|
313
313
|
readonly year: v.NumberSchema<"Please provide a valid year.">;
|
|
314
314
|
readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -323,7 +323,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
323
323
|
campaign_targeting?: string[] | undefined;
|
|
324
324
|
campaign_key?: string | undefined;
|
|
325
325
|
campaign_date: {
|
|
326
|
-
format: "annually" | "quarterly" | "monthly" | "on a specific date"
|
|
326
|
+
format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
|
|
327
327
|
value: {
|
|
328
328
|
year: number;
|
|
329
329
|
quarter?: number | undefined;
|
|
@@ -338,7 +338,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
338
338
|
campaign_targeting?: string[] | undefined;
|
|
339
339
|
campaign_key?: string | undefined;
|
|
340
340
|
campaign_date: {
|
|
341
|
-
format: "annually" | "quarterly" | "monthly" | "on a specific date"
|
|
341
|
+
format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
|
|
342
342
|
value: {
|
|
343
343
|
year: number;
|
|
344
344
|
quarter?: number | undefined;
|
package/dist/index.js
CHANGED
|
@@ -712,11 +712,11 @@ var SDeleteGroupDocument = v12.object({
|
|
|
712
712
|
documentId: IsValidReferenceDocumentId
|
|
713
713
|
});
|
|
714
714
|
var SUtmLinkBuilderPartCampaignDateOptions = [
|
|
715
|
+
"no date",
|
|
715
716
|
"annually",
|
|
716
717
|
"quarterly",
|
|
717
718
|
"monthly",
|
|
718
|
-
"on a specific date"
|
|
719
|
-
"no date"
|
|
719
|
+
"on a specific date"
|
|
720
720
|
];
|
|
721
721
|
var SUtmPartBuilderCampaign = v12.object({
|
|
722
722
|
campaign_phase: v12.optional(IsValidUrlUtmPart),
|