@jh-tech/bff-update-feed-app-client 0.0.31 → 0.0.33

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 (56) hide show
  1. package/createClient.ts +12 -12
  2. package/dist/createClient.d.ts +8 -8
  3. package/dist/createClient.js +12 -12
  4. package/dist/methods/common/authentication.d.ts +7 -0
  5. package/dist/methods/common/authentication.js +25 -0
  6. package/dist/methods/common/collectionActions.d.ts +4 -0
  7. package/dist/methods/common/collectionActions.js +11 -0
  8. package/dist/methods/common/creatorActions.d.ts +4 -0
  9. package/dist/methods/common/creatorActions.js +11 -0
  10. package/dist/methods/common/projectActions.d.ts +4 -0
  11. package/dist/methods/common/projectActions.js +11 -0
  12. package/dist/methods/common/subscriptions.d.ts +4 -0
  13. package/dist/methods/common/subscriptions.js +9 -0
  14. package/dist/methods/common/user.d.ts +3 -0
  15. package/dist/methods/common/user.js +6 -0
  16. package/dist/methods/index.d.ts +12 -12
  17. package/dist/methods/index.js +12 -12
  18. package/dist/methods/pages/collectionPage.d.ts +3 -0
  19. package/dist/methods/pages/collectionPage.js +6 -0
  20. package/dist/methods/pages/creatorPage.d.ts +3 -0
  21. package/dist/methods/pages/creatorPage.js +6 -0
  22. package/dist/methods/pages/projectFeed.d.ts +3 -0
  23. package/dist/methods/pages/projectFeed.js +6 -0
  24. package/dist/methods/pages/projectPage.d.ts +3 -0
  25. package/dist/methods/pages/projectPage.js +6 -0
  26. package/dist/methods/pages/searchCreatorAndProject.d.ts +3 -0
  27. package/dist/methods/pages/searchCreatorAndProject.js +6 -0
  28. package/dist/methods/pages/updateFeed.d.ts +3 -0
  29. package/dist/methods/pages/updateFeed.js +6 -0
  30. package/dist/tsconfig.tsbuildinfo +1 -1
  31. package/methods/common/authentication.ts +52 -0
  32. package/methods/common/collectionActions.ts +38 -0
  33. package/methods/common/creatorActions.ts +38 -0
  34. package/methods/common/projectActions.ts +38 -0
  35. package/methods/common/subscriptions.ts +34 -0
  36. package/methods/common/user.ts +15 -0
  37. package/methods/index.ts +12 -12
  38. package/methods/pages/collectionPage.ts +19 -0
  39. package/methods/pages/creatorPage.ts +15 -0
  40. package/methods/pages/projectFeed.ts +19 -0
  41. package/methods/pages/projectPage.ts +15 -0
  42. package/methods/pages/searchCreatorAndProject.ts +19 -0
  43. package/methods/pages/updateFeed.ts +19 -0
  44. package/package.json +5 -5
  45. package/methods/authentication.ts +0 -51
  46. package/methods/collectionActions.ts +0 -50
  47. package/methods/collectionPage.ts +0 -26
  48. package/methods/creatorActions.ts +0 -50
  49. package/methods/creatorPage.ts +0 -22
  50. package/methods/projectActions.ts +0 -50
  51. package/methods/projectFeed.ts +0 -25
  52. package/methods/projectPage.ts +0 -19
  53. package/methods/searchCreatorAndProject.ts +0 -23
  54. package/methods/subscriptions.ts +0 -48
  55. package/methods/updateFeed.ts +0 -25
  56. package/methods/user.ts +0 -24
package/createClient.ts CHANGED
@@ -1,18 +1,18 @@
1
1
  import { GetProjectFeedDef, GetUpdateFeedDef, SearchCreatorProjectDef } from '@jh-tech/bff-update-feed-app-shared'
2
2
  import { ProcessingMethods } from 'jh-be-tools'
3
3
 
4
- import { signIn, signUp } from './methods/authentication.js'
5
- import { subscribeCollection, unsubscribeCollection } from './methods/collectionActions.js'
6
- import { getCollectionPage } from './methods/collectionPage.js'
7
- import { subscribeCreator, unsubscribeCreator } from './methods/creatorActions.js'
8
- import { getCreatorPage } from './methods/creatorPage.js'
9
- import { subscribeProject, unsubscribeProject } from './methods/projectActions.js'
10
- import { getProjectFeed } from './methods/projectFeed.js'
11
- import { getProjectPage } from './methods/projectPage.js'
12
- import { searchCreatorAndProject } from './methods/searchCreatorAndProject.js'
13
- import { getSubscribedCreators, getSubscribedProjects } from './methods/subscriptions.js'
14
- import { getUpdateFeed } from './methods/updateFeed.js'
15
- import { getUser } from './methods/user.js'
4
+ import { signIn, signUp } from './methods/common/authentication.js'
5
+ import { subscribeCollection, unsubscribeCollection } from './methods/common/collectionActions.js'
6
+ import { subscribeCreator, unsubscribeCreator } from './methods/common/creatorActions.js'
7
+ import { subscribeProject, unsubscribeProject } from './methods/common/projectActions.js'
8
+ import { getSubscribedCreators, getSubscribedProjects } from './methods/common/subscriptions.js'
9
+ import { getUser } from './methods/common/user.js'
10
+ import { getCollectionPage } from './methods/pages/collectionPage.js'
11
+ import { getCreatorPage } from './methods/pages/creatorPage.js'
12
+ import { getProjectFeed } from './methods/pages/projectFeed.js'
13
+ import { getProjectPage } from './methods/pages/projectPage.js'
14
+ import { searchCreatorAndProject } from './methods/pages/searchCreatorAndProject.js'
15
+ import { getUpdateFeed } from './methods/pages/updateFeed.js'
16
16
 
17
17
  export const createClient = (baseUrl: string) => ({
18
18
  signIn: (email: string, password: string, reqModifier: ProcessingMethods) => signIn(email, password, reqModifier, baseUrl),
@@ -40,10 +40,10 @@ export declare const createClient: (baseUrl: string) => {
40
40
  type: "film" | "video_game" | "music" | "tv";
41
41
  createdAt: string;
42
42
  updatedAt: string;
43
- originalLanguage: "id" | "af" | "am" | "ar" | "bg" | "bn" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "fa" | "fi" | "fr" | "ga" | "he" | "hi" | "hr" | "hu" | "is" | "it" | "ja" | "ko" | "la" | "lb" | "mr" | "ms" | "mt" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tl" | "tr" | "uk" | "ur" | "vi" | "zh";
44
- originCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
45
43
  description?: string | undefined;
46
44
  releaseDate?: string | undefined;
45
+ originalLanguage?: "id" | "af" | "am" | "ar" | "bg" | "bn" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "fa" | "fi" | "fr" | "ga" | "he" | "hi" | "hr" | "hu" | "is" | "it" | "ja" | "ko" | "la" | "lb" | "mr" | "ms" | "mt" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tl" | "tr" | "uk" | "ur" | "vi" | "zh" | undefined;
46
+ originCountry?: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | undefined;
47
47
  }[];
48
48
  creator: {
49
49
  id: string;
@@ -73,10 +73,10 @@ export declare const createClient: (baseUrl: string) => {
73
73
  type: "film" | "video_game" | "music" | "tv";
74
74
  createdAt: string;
75
75
  updatedAt: string;
76
- originalLanguage: "id" | "af" | "am" | "ar" | "bg" | "bn" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "fa" | "fi" | "fr" | "ga" | "he" | "hi" | "hr" | "hu" | "is" | "it" | "ja" | "ko" | "la" | "lb" | "mr" | "ms" | "mt" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tl" | "tr" | "uk" | "ur" | "vi" | "zh";
77
- originCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
78
76
  description?: string | undefined;
79
77
  releaseDate?: string | undefined;
78
+ originalLanguage?: "id" | "af" | "am" | "ar" | "bg" | "bn" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "fa" | "fi" | "fr" | "ga" | "he" | "hi" | "hr" | "hu" | "is" | "it" | "ja" | "ko" | "la" | "lb" | "mr" | "ms" | "mt" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tl" | "tr" | "uk" | "ur" | "vi" | "zh" | undefined;
79
+ originCountry?: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | undefined;
80
80
  };
81
81
  creators: {
82
82
  id: string;
@@ -110,8 +110,8 @@ export declare const createClient: (baseUrl: string) => {
110
110
  name: string;
111
111
  type: "collection" | "creator" | "project";
112
112
  }[];
113
- country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
114
113
  createdAt: string;
114
+ country?: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | undefined;
115
115
  }[];
116
116
  meta?: {
117
117
  cursor?: string | undefined;
@@ -161,8 +161,8 @@ export declare const createClient: (baseUrl: string) => {
161
161
  name: string;
162
162
  type: "collection" | "creator" | "project";
163
163
  }[];
164
- country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
165
164
  createdAt: string;
165
+ country?: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | undefined;
166
166
  } | {
167
167
  id: string;
168
168
  type: "collection";
@@ -211,10 +211,10 @@ export declare const createClient: (baseUrl: string) => {
211
211
  type: "film" | "video_game" | "music" | "tv";
212
212
  createdAt: string;
213
213
  updatedAt: string;
214
- originalLanguage: "id" | "af" | "am" | "ar" | "bg" | "bn" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "fa" | "fi" | "fr" | "ga" | "he" | "hi" | "hr" | "hu" | "is" | "it" | "ja" | "ko" | "la" | "lb" | "mr" | "ms" | "mt" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tl" | "tr" | "uk" | "ur" | "vi" | "zh";
215
- originCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
216
214
  description?: string | undefined;
217
215
  releaseDate?: string | undefined;
216
+ originalLanguage?: "id" | "af" | "am" | "ar" | "bg" | "bn" | "ca" | "cs" | "cy" | "da" | "de" | "el" | "en" | "eo" | "es" | "fa" | "fi" | "fr" | "ga" | "he" | "hi" | "hr" | "hu" | "is" | "it" | "ja" | "ko" | "la" | "lb" | "mr" | "ms" | "mt" | "nl" | "no" | "pl" | "pt" | "ro" | "ru" | "sk" | "sr" | "sv" | "sw" | "ta" | "te" | "th" | "tl" | "tr" | "uk" | "ur" | "vi" | "zh" | undefined;
217
+ originCountry?: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "CV" | "KH" | "CM" | "CA" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "SZ" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MK" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | undefined;
218
218
  }[];
219
219
  };
220
220
  }>;
@@ -1,15 +1,15 @@
1
- import { signIn, signUp } from './methods/authentication.js';
2
- import { subscribeCollection, unsubscribeCollection } from './methods/collectionActions.js';
3
- import { getCollectionPage } from './methods/collectionPage.js';
4
- import { subscribeCreator, unsubscribeCreator } from './methods/creatorActions.js';
5
- import { getCreatorPage } from './methods/creatorPage.js';
6
- import { subscribeProject, unsubscribeProject } from './methods/projectActions.js';
7
- import { getProjectFeed } from './methods/projectFeed.js';
8
- import { getProjectPage } from './methods/projectPage.js';
9
- import { searchCreatorAndProject } from './methods/searchCreatorAndProject.js';
10
- import { getSubscribedCreators, getSubscribedProjects } from './methods/subscriptions.js';
11
- import { getUpdateFeed } from './methods/updateFeed.js';
12
- import { getUser } from './methods/user.js';
1
+ import { signIn, signUp } from './methods/common/authentication.js';
2
+ import { subscribeCollection, unsubscribeCollection } from './methods/common/collectionActions.js';
3
+ import { subscribeCreator, unsubscribeCreator } from './methods/common/creatorActions.js';
4
+ import { subscribeProject, unsubscribeProject } from './methods/common/projectActions.js';
5
+ import { getSubscribedCreators, getSubscribedProjects } from './methods/common/subscriptions.js';
6
+ import { getUser } from './methods/common/user.js';
7
+ import { getCollectionPage } from './methods/pages/collectionPage.js';
8
+ import { getCreatorPage } from './methods/pages/creatorPage.js';
9
+ import { getProjectFeed } from './methods/pages/projectFeed.js';
10
+ import { getProjectPage } from './methods/pages/projectPage.js';
11
+ import { searchCreatorAndProject } from './methods/pages/searchCreatorAndProject.js';
12
+ import { getUpdateFeed } from './methods/pages/updateFeed.js';
13
13
  export const createClient = (baseUrl) => ({
14
14
  signIn: (email, password, reqModifier) => signIn(email, password, reqModifier, baseUrl),
15
15
  signUp: (email, password, reqModifier) => signUp(email, password, reqModifier, baseUrl),
@@ -0,0 +1,7 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ /**
4
+ * Authentication
5
+ */
6
+ export declare const signIn: (email: string, password: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.AuthSignInDef.Response>;
7
+ export declare const signUp: (email: string, password: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.AuthSignUpDef.Response>;
@@ -0,0 +1,25 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ /**
5
+ * Authentication
6
+ */
7
+ export const signIn = async (email, password, reqModifier, baseUrl) => await contentRequest(defs.AuthSignInDef.definition, {
8
+ body: {
9
+ data: {
10
+ email,
11
+ password,
12
+ },
13
+ },
14
+ headers: {
15
+ userId: '', // Dummy data
16
+ },
17
+ }, serviceName, baseUrl, reqModifier);
18
+ export const signUp = async (email, password, reqModifier, baseUrl) => await contentRequest(defs.AuthSignUpDef.definition, {
19
+ body: {
20
+ data: {
21
+ email,
22
+ password,
23
+ },
24
+ },
25
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,4 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const subscribeCollection: (collectionId: string, userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.CollectionSubscribeDef.Response>;
4
+ export declare const unsubscribeCollection: (collectionId: string, userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.CollectionUnsubscribeDef.Response>;
@@ -0,0 +1,11 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const subscribeCollection = async (collectionId, userId, reqModifier, baseUrl) => await contentRequest(defs.CollectionSubscribeDef.definition, {
5
+ query: { userId },
6
+ params: { collectionId },
7
+ }, serviceName, baseUrl, reqModifier);
8
+ export const unsubscribeCollection = async (collectionId, userId, reqModifier, baseUrl) => await contentRequest(defs.CollectionUnsubscribeDef.definition, {
9
+ query: { userId },
10
+ params: { collectionId },
11
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,4 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const subscribeCreator: (creatorId: string, userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.CreatorSubscribeDef.Response>;
4
+ export declare const unsubscribeCreator: (creatorId: string, userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.CreatorUnsubscribeDef.Response>;
@@ -0,0 +1,11 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const subscribeCreator = async (creatorId, userId, reqModifier, baseUrl) => await contentRequest(defs.CreatorSubscribeDef.definition, {
5
+ query: { userId },
6
+ params: { creatorId },
7
+ }, serviceName, baseUrl, reqModifier);
8
+ export const unsubscribeCreator = async (creatorId, userId, reqModifier, baseUrl) => await contentRequest(defs.CreatorUnsubscribeDef.definition, {
9
+ query: { userId },
10
+ params: { creatorId },
11
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,4 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const subscribeProject: (projectId: string, userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.ProjectSubscribeDef.Response>;
4
+ export declare const unsubscribeProject: (projectId: string, userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.ProjectUnsubscribeDef.Response>;
@@ -0,0 +1,11 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const subscribeProject = async (projectId, userId, reqModifier, baseUrl) => await contentRequest(defs.ProjectSubscribeDef.definition, {
5
+ query: { userId },
6
+ params: { projectId },
7
+ }, serviceName, baseUrl, reqModifier);
8
+ export const unsubscribeProject = async (projectId, userId, reqModifier, baseUrl) => await contentRequest(defs.ProjectUnsubscribeDef.definition, {
9
+ query: { userId },
10
+ params: { projectId },
11
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,4 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const getSubscribedCreators: (userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetSubscribedCreatorsDef.Response>;
4
+ export declare const getSubscribedProjects: (userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetSubscribedProjectsDef.Response>;
@@ -0,0 +1,9 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const getSubscribedCreators = async (userId, reqModifier, baseUrl) => await contentRequest(defs.GetSubscribedCreatorsDef.definition, {
5
+ query: { userId },
6
+ }, serviceName, baseUrl, reqModifier);
7
+ export const getSubscribedProjects = async (userId, reqModifier, baseUrl) => await contentRequest(defs.GetSubscribedProjectsDef.definition, {
8
+ query: { userId },
9
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,3 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const getUser: (userId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetUserDef.Response>;
@@ -0,0 +1,6 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const getUser = async (userId, reqModifier, baseUrl) => await contentRequest(defs.GetUserDef.definition, {
5
+ query: { userId },
6
+ }, serviceName, baseUrl, reqModifier);
@@ -1,12 +1,12 @@
1
- export { signIn, signUp } from './authentication.js';
2
- export * from './collectionActions.js';
3
- export { getCollectionPage } from './collectionPage.js';
4
- export { getCreatorPage } from './creatorPage.js';
5
- export { getProjectPage } from './projectPage.js';
6
- export { getUpdateFeed } from './updateFeed.js';
7
- export { searchCreatorAndProject } from './searchCreatorAndProject.js';
8
- export * from './creatorActions.js';
9
- export * from './projectActions.js';
10
- export * from './subscriptions.js';
11
- export * from './projectFeed.js';
12
- export * from './user.js';
1
+ export { signIn, signUp } from './common/authentication.js';
2
+ export * from './common/collectionActions.js';
3
+ export { getCollectionPage } from './pages/collectionPage.js';
4
+ export { getCreatorPage } from './pages/creatorPage.js';
5
+ export { getProjectPage } from './pages/projectPage.js';
6
+ export { getUpdateFeed } from './pages/updateFeed.js';
7
+ export { searchCreatorAndProject } from './pages/searchCreatorAndProject.js';
8
+ export * from './common/creatorActions.js';
9
+ export * from './common/projectActions.js';
10
+ export * from './common/subscriptions.js';
11
+ export * from './pages/projectFeed.js';
12
+ export * from './common/user.js';
@@ -1,12 +1,12 @@
1
- export { signIn, signUp } from './authentication.js';
2
- export * from './collectionActions.js';
3
- export { getCollectionPage } from './collectionPage.js';
4
- export { getCreatorPage } from './creatorPage.js';
5
- export { getProjectPage } from './projectPage.js';
6
- export { getUpdateFeed } from './updateFeed.js';
7
- export { searchCreatorAndProject } from './searchCreatorAndProject.js';
8
- export * from './creatorActions.js';
9
- export * from './projectActions.js';
10
- export * from './subscriptions.js';
11
- export * from './projectFeed.js';
12
- export * from './user.js';
1
+ export { signIn, signUp } from './common/authentication.js';
2
+ export * from './common/collectionActions.js';
3
+ export { getCollectionPage } from './pages/collectionPage.js';
4
+ export { getCreatorPage } from './pages/creatorPage.js';
5
+ export { getProjectPage } from './pages/projectPage.js';
6
+ export { getUpdateFeed } from './pages/updateFeed.js';
7
+ export { searchCreatorAndProject } from './pages/searchCreatorAndProject.js';
8
+ export * from './common/creatorActions.js';
9
+ export * from './common/projectActions.js';
10
+ export * from './common/subscriptions.js';
11
+ export * from './pages/projectFeed.js';
12
+ export * from './common/user.js';
@@ -0,0 +1,3 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const getCollectionPage: (collectionId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetCollectionPageDef.Response>;
@@ -0,0 +1,6 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const getCollectionPage = async (collectionId, reqModifier, baseUrl) => await contentRequest(defs.GetCollectionPageDef.definition, {
5
+ params: { collectionId },
6
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,3 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const getCreatorPage: (creatorId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetCreatorPageDef.Response>;
@@ -0,0 +1,6 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const getCreatorPage = async (creatorId, reqModifier, baseUrl) => await contentRequest(defs.GetCreatorPageDef.definition, {
5
+ params: { creatorId },
6
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,3 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const getProjectFeed: (query: defs.GetProjectFeedDef.Query, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetProjectFeedDef.Response>;
@@ -0,0 +1,6 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const getProjectFeed = async (query, reqModifier, baseUrl) => await contentRequest(defs.GetProjectFeedDef.definition, {
5
+ query,
6
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,3 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const getProjectPage: (projectId: string, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetProjectPageDef.Response>;
@@ -0,0 +1,6 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const getProjectPage = async (projectId, reqModifier, baseUrl) => await contentRequest(defs.GetProjectPageDef.definition, {
5
+ params: { projectId },
6
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,3 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const searchCreatorAndProject: (query: defs.SearchCreatorProjectDef.Query, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.SearchCreatorProjectDef.Response>;
@@ -0,0 +1,6 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const searchCreatorAndProject = async (query, reqModifier, baseUrl) => await contentRequest(defs.SearchCreatorProjectDef.definition, {
5
+ query,
6
+ }, serviceName, baseUrl, reqModifier);
@@ -0,0 +1,3 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { ProcessingMethods } from 'jh-be-tools';
3
+ export declare const getUpdateFeed: (query: defs.GetUpdateFeedDef.Query, reqModifier: ProcessingMethods, baseUrl: string) => Promise<defs.GetUpdateFeedDef.Response>;
@@ -0,0 +1,6 @@
1
+ import * as defs from '@jh-tech/bff-update-feed-app-shared';
2
+ import { contentRequest } from 'jh-be-tools';
3
+ import { serviceName } from '../const.js';
4
+ export const getUpdateFeed = async (query, reqModifier, baseUrl) => await contentRequest(defs.GetUpdateFeedDef.definition, {
5
+ query,
6
+ }, serviceName, baseUrl, reqModifier);