@zyacreatives/shared 2.0.49 → 2.0.51

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/constants.js CHANGED
@@ -285,61 +285,65 @@ exports.API_ROUTES = {
285
285
  },
286
286
  };
287
287
  exports.DEFAULT_DISCIPLINES = [
288
- { name: "Painting", slug: "painting" },
289
- { name: "Drawing", slug: "drawing" },
290
- { name: "Sculpture", slug: "sculpture" },
291
- { name: "Printmaking", slug: "printmaking" },
288
+ { name: "Digital Art", slug: "digital_art" },
289
+ { name: "Traditional Art", slug: "traditional_art" },
292
290
  { name: "Photography", slug: "photography" },
293
- { name: "Illustration", slug: "illustration" },
294
- { name: "Installation Art", slug: "installation_art" },
295
- { name: "Mixed Media Art", slug: "mixed_media_art" },
296
- { name: "Conceptual Art", slug: "conceptual_art" },
297
291
  { name: "Graphic Design", slug: "graphic_design" },
298
- { name: "Fashion Design", slug: "fashion_design" },
299
- { name: "Interior Design", slug: "interior_design" },
300
- { name: "Industrial / Product Design", slug: "industrial_product_design" },
301
- { name: "UX Design", slug: "ux_design" },
302
- { name: "UI Design", slug: "ui_design" },
303
- { name: "Motion Design", slug: "motion_design" },
304
- { name: "Textile Design", slug: "textile_design" },
305
- { name: "Jewelry Design", slug: "jewelry_design" },
306
- { name: "Furniture Design", slug: "furniture_design" },
307
- { name: "Architecture", slug: "architecture" },
308
- { name: "Web Design", slug: "web_design" },
309
- { name: "Exhibition Design", slug: "exhibition_design" },
310
- { name: "Design Research", slug: "design_research" },
311
- { name: "Film / Video Production", slug: "film_video_production" },
312
- { name: "Animation", slug: "animation" },
313
- { name: "Game Design", slug: "game_design" },
314
- { name: "Digital Media Art", slug: "digital_media_art" },
315
- { name: "Advertising / Art Direction", slug: "advertising_art_direction" },
316
- { name: "Copywriting", slug: "copywriting" },
317
- { name: "Content Strategy", slug: "content_strategy" },
292
+ { name: "UI/UX Design", slug: "ui_ux_design" },
293
+ { name: "3D Art", slug: "3d_art" },
294
+ { name: "Animation & Motion", slug: "animation_motion" },
295
+ { name: "Video Content", slug: "video_content" },
296
+ { name: "Illustration", slug: "illustration" },
297
+ { name: "Comics & Webtoons", slug: "comics_webtoons" },
298
+ { name: "Fashion & Style", slug: "fashion_style" },
299
+ { name: "Architecture & Interior", slug: "architecture_interior" },
300
+ { name: "Crafts & DIY", slug: "crafts_diy" },
301
+ { name: "Lettering & Typography", slug: "lettering_typography" },
302
+ { name: "Tattoo Art", slug: "tattoo_art" },
303
+ { name: "Music Production", slug: "music_production" },
304
+ { name: "Music Performance", slug: "music_performance" },
305
+ { name: "Game Development", slug: "game_development" },
306
+ { name: "Creative Coding", slug: "creative_coding" },
307
+ { name: "Content Creation", slug: "content_creation" },
308
+ { name: "Writing & Storytelling", slug: "writing_storytelling" },
309
+ { name: "Food Content", slug: "food_content" },
310
+ { name: "Sculpture & 3D Crafts", slug: "sculpture_3d_crafts" },
311
+ { name: "Street Art & Murals", slug: "street_art_murals" },
312
+ { name: "Concept Art", slug: "concept_art" },
313
+ { name: "Pixel Art", slug: "pixel_art" },
314
+ { name: "Virtual/Augmented Reality", slug: "virtual_augmented_reality" },
315
+ { name: "Art Education", slug: "art_education" },
316
+ { name: "Art Business", slug: "art_business" },
317
+ { name: "Art Challenges & Community", slug: "art_challenges_community" },
318
+ { name: "Miniature & Model Making", slug: "miniature_model_making" },
319
+ { name: "Brand Strategy", slug: "brand_strategy" },
320
+ { name: "Advertising & Marketing", slug: "advertising_marketing" },
318
321
  {
319
- name: "Social Media Content Creation",
320
- slug: "social_media_content_creation",
322
+ name: "Copywriting & Content Writing",
323
+ slug: "copywriting_content_writing",
321
324
  },
322
- { name: "Podcasting", slug: "podcasting" },
323
- { name: "Journalism", slug: "journalism" },
324
- { name: "Creative Coding", slug: "creative_coding" },
325
+ { name: "Sound Design & Audio", slug: "sound_design_audio" },
326
+ { name: "Web Development (Front-End)", slug: "web_development_frontend" },
327
+ { name: "Web Development (Back-End)", slug: "web_development_backend" },
328
+ { name: "Technical Illustration", slug: "technical_illustration" },
329
+ { name: "Data Visualization", slug: "data_visualization" },
330
+ { name: "Book & Editorial Design", slug: "book_editorial_design" },
325
331
  {
326
- name: "Augmented Reality (AR) Design",
327
- slug: "augmented_reality_ar_design",
332
+ name: "Product Strategy & Management",
333
+ slug: "product_strategy_management",
328
334
  },
329
- { name: "Virtual Reality (VR) Design", slug: "virtual_reality_vr_design" },
330
- { name: "Interaction Design", slug: "interaction_design" },
331
- { name: "Music", slug: "music" },
332
- { name: "Dance", slug: "dance" },
333
- { name: "Theatre / Acting", slug: "theatre_acting" },
335
+ { name: "Business & Consulting", slug: "business_consulting" },
336
+ { name: "AI & Machine Learning Art", slug: "ai_machine_learning_art" },
337
+ { name: "Storyboarding & Pre-Vis", slug: "storyboarding_previs" },
338
+ { name: "Calligraphy & Penmanship", slug: "calligraphy_penmanship" },
339
+ { name: "Visual Effects (VFX)", slug: "visual_effects_vfx" },
340
+ { name: "Digital Painting & Matte Painting", slug: "digital_painting_matte" },
334
341
  {
335
- name: "Spoken Word / Performance Poetry",
336
- slug: "spoken_word_performance_poetry",
342
+ name: "Character Rigging & Animation Setup",
343
+ slug: "character_rigging_setup",
337
344
  },
338
- { name: "DJ", slug: "dj" },
339
- { name: "Sound Design", slug: "sound_design" },
340
- { name: "Voice Acting", slug: "voice_acting" },
341
- { name: "Creative Writing", slug: "creative_writing" },
342
- { name: "Comics / Graphic Novels", slug: "comics_graphic_novels" },
343
- { name: "Curation", slug: "curation" },
344
- { name: "Creative Entrepreneurship", slug: "creative_entrepreneurship" },
345
+ { name: "Technical Writing", slug: "technical_writing" },
346
+ { name: "E-commerce & Store Design", slug: "ecommerce_store_design" },
347
+ { name: "Data Science & Analysis", slug: "data_science_analysis" },
348
+ { name: "Translation & Localization", slug: "translation_localization" },
345
349
  ];
@@ -6,6 +6,7 @@ export declare const BaseDisciplineEntitySchema: z.ZodObject<{
6
6
  export declare const TagEntitySchema: z.ZodObject<{
7
7
  id: z.ZodInt;
8
8
  name: z.ZodString;
9
+ disciplineSlug: z.ZodOptional<z.ZodString>;
9
10
  }, z.core.$strip>;
10
11
  export declare const DisciplineEntitySchema: z.ZodObject<{
11
12
  slug: z.ZodString;
@@ -8,7 +8,8 @@ exports.BaseDisciplineEntitySchema = zod_openapi_1.z.object({
8
8
  });
9
9
  exports.TagEntitySchema = zod_openapi_1.z.object({
10
10
  id: zod_openapi_1.z.int(),
11
- name: zod_openapi_1.z.string()
11
+ name: zod_openapi_1.z.string(),
12
+ disciplineSlug: zod_openapi_1.z.string().optional(),
12
13
  });
13
14
  exports.DisciplineEntitySchema = exports.BaseDisciplineEntitySchema.extend({
14
15
  tags: zod_openapi_1.z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.0.49",
3
+ "version": "2.0.51",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -344,61 +344,65 @@ export const API_ROUTES = {
344
344
  } as const;
345
345
 
346
346
  export const DEFAULT_DISCIPLINES = [
347
- { name: "Painting", slug: "painting" },
348
- { name: "Drawing", slug: "drawing" },
349
- { name: "Sculpture", slug: "sculpture" },
350
- { name: "Printmaking", slug: "printmaking" },
347
+ { name: "Digital Art", slug: "digital_art" },
348
+ { name: "Traditional Art", slug: "traditional_art" },
351
349
  { name: "Photography", slug: "photography" },
352
- { name: "Illustration", slug: "illustration" },
353
- { name: "Installation Art", slug: "installation_art" },
354
- { name: "Mixed Media Art", slug: "mixed_media_art" },
355
- { name: "Conceptual Art", slug: "conceptual_art" },
356
350
  { name: "Graphic Design", slug: "graphic_design" },
357
- { name: "Fashion Design", slug: "fashion_design" },
358
- { name: "Interior Design", slug: "interior_design" },
359
- { name: "Industrial / Product Design", slug: "industrial_product_design" },
360
- { name: "UX Design", slug: "ux_design" },
361
- { name: "UI Design", slug: "ui_design" },
362
- { name: "Motion Design", slug: "motion_design" },
363
- { name: "Textile Design", slug: "textile_design" },
364
- { name: "Jewelry Design", slug: "jewelry_design" },
365
- { name: "Furniture Design", slug: "furniture_design" },
366
- { name: "Architecture", slug: "architecture" },
367
- { name: "Web Design", slug: "web_design" },
368
- { name: "Exhibition Design", slug: "exhibition_design" },
369
- { name: "Design Research", slug: "design_research" },
370
- { name: "Film / Video Production", slug: "film_video_production" },
371
- { name: "Animation", slug: "animation" },
372
- { name: "Game Design", slug: "game_design" },
373
- { name: "Digital Media Art", slug: "digital_media_art" },
374
- { name: "Advertising / Art Direction", slug: "advertising_art_direction" },
375
- { name: "Copywriting", slug: "copywriting" },
376
- { name: "Content Strategy", slug: "content_strategy" },
351
+ { name: "UI/UX Design", slug: "ui_ux_design" },
352
+ { name: "3D Art", slug: "3d_art" },
353
+ { name: "Animation & Motion", slug: "animation_motion" },
354
+ { name: "Video Content", slug: "video_content" },
355
+ { name: "Illustration", slug: "illustration" },
356
+ { name: "Comics & Webtoons", slug: "comics_webtoons" },
357
+ { name: "Fashion & Style", slug: "fashion_style" },
358
+ { name: "Architecture & Interior", slug: "architecture_interior" },
359
+ { name: "Crafts & DIY", slug: "crafts_diy" },
360
+ { name: "Lettering & Typography", slug: "lettering_typography" },
361
+ { name: "Tattoo Art", slug: "tattoo_art" },
362
+ { name: "Music Production", slug: "music_production" },
363
+ { name: "Music Performance", slug: "music_performance" },
364
+ { name: "Game Development", slug: "game_development" },
365
+ { name: "Creative Coding", slug: "creative_coding" },
366
+ { name: "Content Creation", slug: "content_creation" },
367
+ { name: "Writing & Storytelling", slug: "writing_storytelling" },
368
+ { name: "Food Content", slug: "food_content" },
369
+ { name: "Sculpture & 3D Crafts", slug: "sculpture_3d_crafts" },
370
+ { name: "Street Art & Murals", slug: "street_art_murals" },
371
+ { name: "Concept Art", slug: "concept_art" },
372
+ { name: "Pixel Art", slug: "pixel_art" },
373
+ { name: "Virtual/Augmented Reality", slug: "virtual_augmented_reality" },
374
+ { name: "Art Education", slug: "art_education" },
375
+ { name: "Art Business", slug: "art_business" },
376
+ { name: "Art Challenges & Community", slug: "art_challenges_community" },
377
+ { name: "Miniature & Model Making", slug: "miniature_model_making" },
378
+ { name: "Brand Strategy", slug: "brand_strategy" },
379
+ { name: "Advertising & Marketing", slug: "advertising_marketing" },
377
380
  {
378
- name: "Social Media Content Creation",
379
- slug: "social_media_content_creation",
381
+ name: "Copywriting & Content Writing",
382
+ slug: "copywriting_content_writing",
380
383
  },
381
- { name: "Podcasting", slug: "podcasting" },
382
- { name: "Journalism", slug: "journalism" },
383
- { name: "Creative Coding", slug: "creative_coding" },
384
+ { name: "Sound Design & Audio", slug: "sound_design_audio" },
385
+ { name: "Web Development (Front-End)", slug: "web_development_frontend" },
386
+ { name: "Web Development (Back-End)", slug: "web_development_backend" },
387
+ { name: "Technical Illustration", slug: "technical_illustration" },
388
+ { name: "Data Visualization", slug: "data_visualization" },
389
+ { name: "Book & Editorial Design", slug: "book_editorial_design" },
384
390
  {
385
- name: "Augmented Reality (AR) Design",
386
- slug: "augmented_reality_ar_design",
391
+ name: "Product Strategy & Management",
392
+ slug: "product_strategy_management",
387
393
  },
388
- { name: "Virtual Reality (VR) Design", slug: "virtual_reality_vr_design" },
389
- { name: "Interaction Design", slug: "interaction_design" },
390
- { name: "Music", slug: "music" },
391
- { name: "Dance", slug: "dance" },
392
- { name: "Theatre / Acting", slug: "theatre_acting" },
394
+ { name: "Business & Consulting", slug: "business_consulting" },
395
+ { name: "AI & Machine Learning Art", slug: "ai_machine_learning_art" },
396
+ { name: "Storyboarding & Pre-Vis", slug: "storyboarding_previs" },
397
+ { name: "Calligraphy & Penmanship", slug: "calligraphy_penmanship" },
398
+ { name: "Visual Effects (VFX)", slug: "visual_effects_vfx" },
399
+ { name: "Digital Painting & Matte Painting", slug: "digital_painting_matte" },
393
400
  {
394
- name: "Spoken Word / Performance Poetry",
395
- slug: "spoken_word_performance_poetry",
401
+ name: "Character Rigging & Animation Setup",
402
+ slug: "character_rigging_setup",
396
403
  },
397
- { name: "DJ", slug: "dj" },
398
- { name: "Sound Design", slug: "sound_design" },
399
- { name: "Voice Acting", slug: "voice_acting" },
400
- { name: "Creative Writing", slug: "creative_writing" },
401
- { name: "Comics / Graphic Novels", slug: "comics_graphic_novels" },
402
- { name: "Curation", slug: "curation" },
403
- { name: "Creative Entrepreneurship", slug: "creative_entrepreneurship" },
404
+ { name: "Technical Writing", slug: "technical_writing" },
405
+ { name: "E-commerce & Store Design", slug: "ecommerce_store_design" },
406
+ { name: "Data Science & Analysis", slug: "data_science_analysis" },
407
+ { name: "Translation & Localization", slug: "translation_localization" },
404
408
  ];
@@ -7,8 +7,9 @@ export const BaseDisciplineEntitySchema = z.object({
7
7
 
8
8
  export const TagEntitySchema = z.object({
9
9
  id: z.int(),
10
- name: z.string()
11
- })
10
+ name: z.string(),
11
+ disciplineSlug: z.string().optional(),
12
+ });
12
13
 
13
14
  export const DisciplineEntitySchema = BaseDisciplineEntitySchema.extend({
14
15
  tags: z