@joeygrable94/utm-src-pub-validators 0.0.72 → 0.0.74
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 +948 -935
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +947 -934
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -293,7 +293,13 @@ type SUtmPartBuilderCreativeFormatVariant = v.InferOutput<typeof SUtmPartBuilder
|
|
|
293
293
|
type SUtmLinkBuilderTableFormInput = v.InferInput<typeof SUtmLinkBuilderTableForm>;
|
|
294
294
|
declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
295
295
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
296
|
-
readonly url_destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
296
|
+
readonly url_destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
297
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
298
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
299
|
+
url: string;
|
|
300
|
+
}[], 1, "Please provide at least one destination URL.">, v.MaxLengthAction<{
|
|
301
|
+
url: string;
|
|
302
|
+
}[], 10, "You can provide up to 10 destination URLs.">]>;
|
|
297
303
|
readonly sources: 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 source.">, v.MaxLengthAction<string[], 10, "You can select up to 10 sources.">]>;
|
|
298
304
|
readonly mediums: 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 medium.">, v.MaxLengthAction<string[], 10, "You can select up to 10 mediums.">]>;
|
|
299
305
|
readonly campaigns: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
@@ -342,7 +348,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
342
348
|
};
|
|
343
349
|
campaign_id: string;
|
|
344
350
|
}[], 10, "You can provide up to 10 campaigns.">]>;
|
|
345
|
-
readonly
|
|
351
|
+
readonly contents: 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 content.">, v.MaxLengthAction<string[], 10, "You can select up to 10 contents.">]>;
|
|
346
352
|
readonly creative_formats: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
347
353
|
readonly creative_format: 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>;
|
|
348
354
|
readonly creative_format_variants: 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 creative format variations.">, v.MaxLengthAction<string[], 10, "You can select up to 10 creative format variations.">]>, undefined>;
|
|
@@ -353,6 +359,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
353
359
|
creative_format?: string | undefined;
|
|
354
360
|
creative_format_variants?: string[] | undefined;
|
|
355
361
|
}[], 10, "You can select up to 10 creative formats.">]>, undefined>;
|
|
362
|
+
readonly terms: 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 term.">, v.MaxLengthAction<string[], 10, "You can select up to 10 terms.">]>;
|
|
356
363
|
}, undefined>;
|
|
357
364
|
type SUtmLinkBuilderTableForm = v.InferOutput<typeof SUtmLinkBuilderTableForm>;
|
|
358
365
|
|
package/dist/index.d.ts
CHANGED
|
@@ -293,7 +293,13 @@ type SUtmPartBuilderCreativeFormatVariant = v.InferOutput<typeof SUtmPartBuilder
|
|
|
293
293
|
type SUtmLinkBuilderTableFormInput = v.InferInput<typeof SUtmLinkBuilderTableForm>;
|
|
294
294
|
declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
295
295
|
readonly group: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid document id">, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
296
|
-
readonly url_destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.
|
|
296
|
+
readonly url_destinations: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
297
|
+
readonly url: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>;
|
|
298
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
299
|
+
url: string;
|
|
300
|
+
}[], 1, "Please provide at least one destination URL.">, v.MaxLengthAction<{
|
|
301
|
+
url: string;
|
|
302
|
+
}[], 10, "You can provide up to 10 destination URLs.">]>;
|
|
297
303
|
readonly sources: 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 source.">, v.MaxLengthAction<string[], 10, "You can select up to 10 sources.">]>;
|
|
298
304
|
readonly mediums: 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 medium.">, v.MaxLengthAction<string[], 10, "You can select up to 10 mediums.">]>;
|
|
299
305
|
readonly campaigns: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
@@ -342,7 +348,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
342
348
|
};
|
|
343
349
|
campaign_id: string;
|
|
344
350
|
}[], 10, "You can provide up to 10 campaigns.">]>;
|
|
345
|
-
readonly
|
|
351
|
+
readonly contents: 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 content.">, v.MaxLengthAction<string[], 10, "You can select up to 10 contents.">]>;
|
|
346
352
|
readonly creative_formats: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
347
353
|
readonly creative_format: 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>;
|
|
348
354
|
readonly creative_format_variants: 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 creative format variations.">, v.MaxLengthAction<string[], 10, "You can select up to 10 creative format variations.">]>, undefined>;
|
|
@@ -353,6 +359,7 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
|
|
|
353
359
|
creative_format?: string | undefined;
|
|
354
360
|
creative_format_variants?: string[] | undefined;
|
|
355
361
|
}[], 10, "You can select up to 10 creative formats.">]>, undefined>;
|
|
362
|
+
readonly terms: 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 term.">, v.MaxLengthAction<string[], 10, "You can select up to 10 terms.">]>;
|
|
356
363
|
}, undefined>;
|
|
357
364
|
type SUtmLinkBuilderTableForm = v.InferOutput<typeof SUtmLinkBuilderTableForm>;
|
|
358
365
|
|