@zyacreatives/shared 2.2.62 → 2.2.64

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.
@@ -377,10 +377,163 @@ export declare const API_ROUTES: {
377
377
  readonly getProjectUser: "/:projectId/user";
378
378
  };
379
379
  };
380
- export declare const DEFAULT_DISCIPLINES: {
381
- name: string;
382
- slug: string;
383
- }[];
380
+ export declare const DEFAULT_DISCIPLINES: readonly [{
381
+ readonly name: "3D Art";
382
+ readonly slug: "3d_art";
383
+ }, {
384
+ readonly name: "Advertising & Marketing";
385
+ readonly slug: "advertising_marketing";
386
+ }, {
387
+ readonly name: "AI & Machine Learning Art";
388
+ readonly slug: "ai_machine_learning_art";
389
+ }, {
390
+ readonly name: "Animation & Motion";
391
+ readonly slug: "animation_motion";
392
+ }, {
393
+ readonly name: "Architecture & Interior";
394
+ readonly slug: "architecture_interior";
395
+ }, {
396
+ readonly name: "Art Business";
397
+ readonly slug: "art_business";
398
+ }, {
399
+ readonly name: "Art Challenges & Community";
400
+ readonly slug: "art_challenges_community";
401
+ }, {
402
+ readonly name: "Art Education";
403
+ readonly slug: "art_education";
404
+ }, {
405
+ readonly name: "Book & Editorial Design";
406
+ readonly slug: "book_editorial_design";
407
+ }, {
408
+ readonly name: "Brand Strategy";
409
+ readonly slug: "brand_strategy";
410
+ }, {
411
+ readonly name: "Business & Consulting";
412
+ readonly slug: "business_consulting";
413
+ }, {
414
+ readonly name: "Calligraphy & Penmanship";
415
+ readonly slug: "calligraphy_penmanship";
416
+ }, {
417
+ readonly name: "Character Rigging & Animation Setup";
418
+ readonly slug: "character_rigging_setup";
419
+ }, {
420
+ readonly name: "Comics & Webtoons";
421
+ readonly slug: "comics_webtoons";
422
+ }, {
423
+ readonly name: "Concept Art";
424
+ readonly slug: "concept_art";
425
+ }, {
426
+ readonly name: "Content Creation";
427
+ readonly slug: "content_creation";
428
+ }, {
429
+ readonly name: "Copywriting & Content Writing";
430
+ readonly slug: "copywriting_content_writing";
431
+ }, {
432
+ readonly name: "Crafts & DIY";
433
+ readonly slug: "crafts_diy";
434
+ }, {
435
+ readonly name: "Creative Coding";
436
+ readonly slug: "creative_coding";
437
+ }, {
438
+ readonly name: "Data Science & Analysis";
439
+ readonly slug: "data_science_analysis";
440
+ }, {
441
+ readonly name: "Data Visualization";
442
+ readonly slug: "data_visualization";
443
+ }, {
444
+ readonly name: "Digital Art";
445
+ readonly slug: "digital_art";
446
+ }, {
447
+ readonly name: "Digital Painting & Matte Painting";
448
+ readonly slug: "digital_painting_matte";
449
+ }, {
450
+ readonly name: "E-commerce & Store Design";
451
+ readonly slug: "ecommerce_store_design";
452
+ }, {
453
+ readonly name: "Fashion & Style";
454
+ readonly slug: "fashion_style";
455
+ }, {
456
+ readonly name: "Food Content";
457
+ readonly slug: "food_content";
458
+ }, {
459
+ readonly name: "Game Development";
460
+ readonly slug: "game_development";
461
+ }, {
462
+ readonly name: "Graphic Design";
463
+ readonly slug: "graphic_design";
464
+ }, {
465
+ readonly name: "Illustration";
466
+ readonly slug: "illustration";
467
+ }, {
468
+ readonly name: "Lettering & Typography";
469
+ readonly slug: "lettering_typography";
470
+ }, {
471
+ readonly name: "Miniature & Model Making";
472
+ readonly slug: "miniature_model_making";
473
+ }, {
474
+ readonly name: "Music Performance";
475
+ readonly slug: "music_performance";
476
+ }, {
477
+ readonly name: "Music Production";
478
+ readonly slug: "music_production";
479
+ }, {
480
+ readonly name: "Photography";
481
+ readonly slug: "photography";
482
+ }, {
483
+ readonly name: "Pixel Art";
484
+ readonly slug: "pixel_art";
485
+ }, {
486
+ readonly name: "Product Strategy & Management";
487
+ readonly slug: "product_strategy_management";
488
+ }, {
489
+ readonly name: "Sculpture & 3D Crafts";
490
+ readonly slug: "sculpture_3d_crafts";
491
+ }, {
492
+ readonly name: "Sound Design & Audio";
493
+ readonly slug: "sound_design_audio";
494
+ }, {
495
+ readonly name: "Storyboarding & Pre-Vis";
496
+ readonly slug: "storyboarding_previs";
497
+ }, {
498
+ readonly name: "Street Art & Murals";
499
+ readonly slug: "street_art_murals";
500
+ }, {
501
+ readonly name: "Tattoo Art";
502
+ readonly slug: "tattoo_art";
503
+ }, {
504
+ readonly name: "Technical Illustration";
505
+ readonly slug: "technical_illustration";
506
+ }, {
507
+ readonly name: "Technical Writing";
508
+ readonly slug: "technical_writing";
509
+ }, {
510
+ readonly name: "Traditional Art";
511
+ readonly slug: "traditional_art";
512
+ }, {
513
+ readonly name: "Translation & Localization";
514
+ readonly slug: "translation_localization";
515
+ }, {
516
+ readonly name: "UI/UX Design";
517
+ readonly slug: "ui_ux_design";
518
+ }, {
519
+ readonly name: "Video Content";
520
+ readonly slug: "video_content";
521
+ }, {
522
+ readonly name: "Virtual/Augmented Reality";
523
+ readonly slug: "virtual_augmented_reality";
524
+ }, {
525
+ readonly name: "Visual Effects (VFX)";
526
+ readonly slug: "visual_effects_vfx";
527
+ }, {
528
+ readonly name: "Web Development (Back-End)";
529
+ readonly slug: "web_development_backend";
530
+ }, {
531
+ readonly name: "Web Development (Front-End)";
532
+ readonly slug: "web_development_frontend";
533
+ }, {
534
+ readonly name: "Writing & Storytelling";
535
+ readonly slug: "writing_storytelling";
536
+ }];
384
537
  export declare const ANALYTICS_EVENTS: {
385
538
  readonly POST: {
386
539
  readonly VIEW_DETAILS: "post_view_details";
@@ -7,18 +7,11 @@ export declare const FeedTagsInputSchema: z.ZodObject<{
7
7
  tags: z.ZodArray<z.ZodString>;
8
8
  }, z.core.$strip>;
9
9
  export declare const TrendingUsersOutputSchema: z.ZodObject<{
10
- users: z.ZodArray<z.ZodObject<{
11
- email: z.ZodEmail;
12
- username: z.ZodOptional<z.ZodString>;
13
- id: z.ZodCUID2;
14
- name: z.ZodOptional<z.ZodString>;
15
- image: z.ZodOptional<z.ZodString>;
16
- role: z.ZodEnum<{
17
- CREATIVE: "CREATIVE";
18
- BRAND: "BRAND";
19
- INVESTOR: "INVESTOR";
20
- ADMIN: "ADMIN";
21
- }>;
10
+ creators: z.ZodArray<z.ZodObject<{
11
+ creatorUsername: z.ZodString;
12
+ creatorName: z.ZodString;
13
+ creatorId: z.ZodCUID2;
14
+ creatorImageUrl: z.ZodURL;
22
15
  isFollowing: z.ZodOptional<z.ZodBoolean>;
23
16
  followsYou: z.ZodOptional<z.ZodBoolean>;
24
17
  }, z.core.$strip>>;
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrendingUsersOutputSchema = exports.FeedTagsInputSchema = exports.FeedTagsSchema = void 0;
4
4
  const zod_openapi_1 = require("@hono/zod-openapi");
5
- const user_1 = require("./user");
6
5
  exports.FeedTagsSchema = zod_openapi_1.z.object({
7
6
  userId: zod_openapi_1.z.cuid2(),
8
7
  tags: zod_openapi_1.z.array(zod_openapi_1.z.string()),
@@ -11,7 +10,11 @@ exports.FeedTagsInputSchema = zod_openapi_1.z.object({
11
10
  tags: zod_openapi_1.z.array(zod_openapi_1.z.string()),
12
11
  });
13
12
  exports.TrendingUsersOutputSchema = zod_openapi_1.z.object({
14
- users: zod_openapi_1.z.array(user_1.MinimalUserSchema.extend({
13
+ creators: zod_openapi_1.z.array(zod_openapi_1.z.object({
14
+ creatorUsername: zod_openapi_1.z.string(),
15
+ creatorName: zod_openapi_1.z.string(),
16
+ creatorId: zod_openapi_1.z.cuid2(),
17
+ creatorImageUrl: zod_openapi_1.z.url(),
15
18
  isFollowing: zod_openapi_1.z.boolean().optional(),
16
19
  followsYou: zod_openapi_1.z.boolean().optional(),
17
20
  })),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zyacreatives/shared",
3
- "version": "2.2.62",
3
+ "version": "2.2.64",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/constants.ts CHANGED
@@ -493,7 +493,7 @@ export const DEFAULT_DISCIPLINES = [
493
493
  { name: "Web Development (Back-End)", slug: "web_development_backend" },
494
494
  { name: "Web Development (Front-End)", slug: "web_development_frontend" },
495
495
  { name: "Writing & Storytelling", slug: "writing_storytelling" },
496
- ];
496
+ ] as const;
497
497
 
498
498
  export const ANALYTICS_EVENTS = {
499
499
  POST: {
@@ -11,7 +11,7 @@ export const FeedTagsInputSchema = z.object({
11
11
  });
12
12
 
13
13
  export const TrendingUsersOutputSchema = z.object({
14
- users: z.array(
14
+ creators: z.array(
15
15
  z.object({
16
16
  creatorUsername: z.string(),
17
17
  creatorName: z.string(),