@aglyn/plugins-ai 1.0.0-beta.268 → 1.0.0-beta.269

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.
Files changed (27) hide show
  1. package/package.json +17 -17
  2. package/src/lib/jobs/ai-job-page-language.d.ts +7 -1
  3. package/src/lib/jobs/ai-job-page-language.js +16 -3
  4. package/src/lib/jobs/ai-job-page-language.js.map +1 -1
  5. package/src/lib/jobs/ai-job-site-look.d.ts +2 -1
  6. package/src/lib/jobs/ai-job-site-look.js +6 -2
  7. package/src/lib/jobs/ai-job-site-look.js.map +1 -1
  8. package/src/lib/jobs/ai-job-site-step.js +11 -6
  9. package/src/lib/jobs/ai-job-site-step.js.map +1 -1
  10. package/src/lib/jobs/ai-layout-stock-photos.d.ts +16 -8
  11. package/src/lib/jobs/ai-layout-stock-photos.js +478 -67
  12. package/src/lib/jobs/ai-layout-stock-photos.js.map +1 -1
  13. package/src/lib/jobs/fixtures/ai-stock-photo-brightvale-recordings.d.ts +4 -0
  14. package/src/lib/jobs/fixtures/ai-stock-photo-brightvale-recordings.js +87 -1
  15. package/src/lib/jobs/fixtures/ai-stock-photo-brightvale-recordings.js.map +1 -1
  16. package/src/lib/jobs/fixtures/ai-stock-photo-mexicano-recordings.d.ts +31 -0
  17. package/src/lib/jobs/fixtures/ai-stock-photo-mexicano-recordings.js +325 -0
  18. package/src/lib/jobs/fixtures/ai-stock-photo-mexicano-recordings.js.map +1 -0
  19. package/src/lib/layout-language/ai-layout-motion.d.ts +60 -7
  20. package/src/lib/layout-language/ai-layout-motion.js +231 -4
  21. package/src/lib/layout-language/ai-layout-motion.js.map +1 -1
  22. package/src/lib/layout-language/ai-layout-pictures.d.ts +8 -0
  23. package/src/lib/layout-language/ai-layout-pictures.js +68 -4
  24. package/src/lib/layout-language/ai-layout-pictures.js.map +1 -1
  25. package/src/lib/model/ai-site-look.d.ts +10 -1
  26. package/src/lib/model/ai-site-look.js +14 -3
  27. package/src/lib/model/ai-site-look.js.map +1 -1
@@ -718,6 +718,8 @@ export declare function aiStockIsAbbreviation(businessType: string): boolean;
718
718
  export declare function aiStockNamedKind(text: string): string;
719
719
  /** What a kind of site's pictures are searched and judged by ({@link KIND_SUBJECTS}); `null` for a kind not listed. */
720
720
  export declare function aiStockKindTerms(kind: string): AiStockSiteTerms | null;
721
+ /** A kind of site's common photos as a world to search and judge by ({@link KIND_GENERIC}); `null` for a kind with no set. */
722
+ export declare function aiStockKindGenericTerms(kind: string): AiStockSiteTerms | null;
721
723
  /**
722
724
  * Whether a site's world is only its own words (AGL-3923): no craft this
723
725
  * module lists and no kind of site named it, so its broad searches are its
@@ -727,20 +729,26 @@ export declare function aiStockKindTerms(kind: string): AiStockSiteTerms | null;
727
729
  export declare function aiStockWorldIsUnlisted(terms: Pick<AiStockSiteTerms, 'business' | 'craft' | 'broad'>): boolean;
728
730
  /**
729
731
  * What a picture is searched by once nothing narrower found it a photo
730
- * (AGL-3923), widest last: the kind of site the person picked, the kind its
731
- * starter is the shape of, and the starter's own common photos
732
- * ({@link STARTER_GENERIC}). Only a site whose world is its own words alone
733
- * ({@link aiStockWorldIsUnlisted}) widens: a craft this module lists, or a
734
- * world read from the kind of site, keeps its slots to that world, and a slot
735
- * nothing in it fits keeps no photo rather than an office (AGL-3831). A rung
736
- * that would search what an earlier one did is left out.
732
+ * (AGL-3923), widest last.
733
+ *
734
+ * - A site whose world is its own words alone ({@link aiStockWorldIsUnlisted})
735
+ * widens to the kind of site the person picked, the kind its starter is the
736
+ * shape of, and last the kind's own common photos ({@link KIND_GENERIC}),
737
+ * else its starter's.
738
+ * - Any other site widens only to its kind's own common photos, and only
739
+ * where its world agrees with that kind ({@link worldOfKind}): a portfolio
740
+ * read from its kind takes art supplies before no photo at all, and a
741
+ * barbecue caterer whose kind says nothing of food never takes an office
742
+ * (AGL-3831). A kind with no set keeps a slot nothing fits without a photo.
743
+ *
744
+ * A rung that would search what an earlier one did is left out.
737
745
  *
738
746
  * The beta.265 Kasvora Marketing Solutions start (job BK3r4I8bF1) typed its
739
747
  * business as "Freelencing site offer services": its world was the one word
740
748
  * "freelencing", which no library tags, so its cover hero searched it, found
741
749
  * nothing, and shipped a flat dark band with no photo.
742
750
  */
743
- export declare function aiStockWiderTerms(terms: Pick<AiStockSiteTerms, 'business' | 'craft' | 'broad'>, kind: string): Array<{
751
+ export declare function aiStockWiderTerms(terms: Pick<AiStockSiteTerms, 'business' | 'craft' | 'broad' | 'domain'>, kind: string): Array<{
744
752
  rung: 'kind' | 'starter' | 'generic';
745
753
  terms: AiStockSiteTerms;
746
754
  }>;