@saooti/octopus-sdk 30.0.4 → 30.0.8

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 (151) hide show
  1. package/README.md +5 -0
  2. package/index.ts +13 -2
  3. package/package.json +1 -1
  4. package/src/App.vue +4 -4
  5. package/src/api/comments.ts +1 -1
  6. package/src/assets/bootstrap-diff.scss +2 -1
  7. package/src/assets/form.scss +7 -15
  8. package/src/assets/general.scss +14 -20
  9. package/src/assets/multiselect.scss +2 -2
  10. package/src/assets/share.scss +1 -12
  11. package/src/components/display/categories/CategoryChooser.vue +1 -1
  12. package/src/components/display/categories/CategoryFilter.vue +4 -4
  13. package/src/components/display/categories/CategoryList.vue +1 -1
  14. package/src/components/display/comments/CommentInput.vue +3 -3
  15. package/src/components/display/comments/CommentItem.vue +4 -3
  16. package/src/components/display/comments/CommentList.vue +4 -4
  17. package/src/components/display/comments/CommentParentInfo.vue +1 -1
  18. package/src/components/display/comments/CommentPlayer.vue +2 -2
  19. package/src/components/display/comments/CommentSection.vue +3 -3
  20. package/src/components/display/edit/EditBox.vue +1 -1
  21. package/src/components/display/edit/EditCommentBox.vue +1 -1
  22. package/src/components/display/emission/EmissionChooser.vue +2 -2
  23. package/src/components/display/emission/EmissionInlineList.vue +3 -3
  24. package/src/components/display/emission/EmissionItem.vue +3 -3
  25. package/src/components/display/emission/EmissionList.vue +4 -4
  26. package/src/components/display/emission/EmissionPlayerItem.vue +3 -3
  27. package/src/components/display/filter/AdvancedSearch.vue +40 -106
  28. package/src/components/display/filter/CategoryFilter.vue +10 -14
  29. package/src/components/display/filter/MonetizableFilter.vue +1 -1
  30. package/src/components/display/filter/ProductorSearch.vue +21 -40
  31. package/src/components/display/filter/RubriqueChoice.vue +4 -4
  32. package/src/components/display/filter/RubriqueFilter.vue +10 -14
  33. package/src/components/display/live/LiveHorizontalList.vue +1 -1
  34. package/src/components/display/live/LiveItem.vue +2 -2
  35. package/src/components/display/live/LiveList.vue +1 -1
  36. package/src/components/display/organisation/OrganisationChooser.vue +1 -1
  37. package/src/components/display/organisation/OrganisationChooserLight.vue +9 -3
  38. package/src/components/display/participant/ParticipantItem.vue +1 -1
  39. package/src/components/display/participant/ParticipantList.vue +1 -1
  40. package/src/components/display/playlist/PlaylistItem.vue +2 -2
  41. package/src/components/display/playlist/PlaylistList.vue +1 -1
  42. package/src/components/display/playlist/PodcastList.vue +10 -21
  43. package/src/components/display/podcasts/AnimatorsItem.vue +1 -1
  44. package/src/components/display/podcasts/ParticipantDescription.vue +2 -1
  45. package/src/components/display/podcasts/PodcastFilterList.vue +11 -20
  46. package/src/components/display/podcasts/PodcastImage.vue +3 -3
  47. package/src/components/display/podcasts/PodcastInlineList.vue +3 -3
  48. package/src/components/display/podcasts/PodcastItem.vue +3 -3
  49. package/src/components/display/podcasts/PodcastList.vue +2 -2
  50. package/src/components/display/podcasts/PodcastModuleBox.vue +2 -2
  51. package/src/components/display/rubriques/RubriqueChooser.vue +1 -1
  52. package/src/components/display/rubriques/RubriqueList.vue +4 -4
  53. package/src/components/display/sharing/PlayerParameters.vue +31 -103
  54. package/src/components/display/sharing/ShareButtons.vue +3 -3
  55. package/src/components/display/sharing/ShareDistribution.vue +1 -1
  56. package/src/components/display/sharing/SharePlayer.vue +35 -51
  57. package/src/components/display/sharing/SharePlayerColors.vue +2 -2
  58. package/src/components/display/sharing/SharePlayerTypes.vue +5 -5
  59. package/src/components/display/sharing/SubscribeButtons.vue +2 -2
  60. package/src/components/form/ClassicCheckbox.vue +61 -0
  61. package/src/components/form/ClassicLoading.vue +28 -0
  62. package/src/components/form/ClassicRadio.vue +61 -0
  63. package/src/components/form/ClassicSearch.vue +82 -0
  64. package/src/components/misc/ErrorMessage.vue +1 -1
  65. package/src/components/misc/Footer.vue +28 -37
  66. package/src/components/misc/HomeDropdown.vue +44 -93
  67. package/src/components/misc/LeftMenu.vue +111 -144
  68. package/src/components/misc/Player.vue +16 -30
  69. package/src/components/misc/PlayerButtons.vue +16 -39
  70. package/src/components/misc/PlayerClockAndTimeline.vue +1 -1
  71. package/src/components/misc/PlayerProgressBar.vue +16 -51
  72. package/src/components/misc/Popover.vue +8 -2
  73. package/src/components/misc/TopBar.vue +142 -224
  74. package/src/components/misc/modal/ClipboardModal.vue +1 -1
  75. package/src/components/misc/modal/NewsletterModal.vue +15 -29
  76. package/src/components/misc/modal/QrCodeModal.vue +2 -2
  77. package/src/components/misc/modal/ShareModalPlayer.vue +1 -1
  78. package/src/components/mixins/init.ts +1 -1
  79. package/src/components/mixins/organisationFilter.ts +1 -1
  80. package/src/components/pages/Category.vue +4 -9
  81. package/src/components/pages/Emission.vue +13 -25
  82. package/src/components/pages/Emissions.vue +10 -19
  83. package/src/components/pages/Home.vue +5 -7
  84. package/src/components/pages/Lives.vue +3 -5
  85. package/src/components/pages/Participant.vue +19 -27
  86. package/src/components/pages/Participants.vue +7 -15
  87. package/src/components/pages/Playlist.vue +17 -30
  88. package/src/components/pages/Playlists.vue +1 -11
  89. package/src/components/pages/Podcast.vue +20 -34
  90. package/src/components/pages/Podcasts.vue +12 -26
  91. package/src/components/pages/Search.vue +26 -64
  92. package/src/store/class/{adserverConfig.ts → adserver/adserverConfig.ts} +0 -0
  93. package/src/store/class/adserver/adserverOtherEmission.ts +13 -0
  94. package/src/store/class/{adserverTiming.ts → adserver/adserverTiming.ts} +0 -0
  95. package/src/store/class/cartouchier/cartouche.ts +15 -0
  96. package/src/store/class/cartouchier/cartouchier.ts +9 -0
  97. package/src/store/class/conference/conference.ts +35 -0
  98. package/src/store/class/conference/conferenceMessage.ts +10 -0
  99. package/src/store/class/conference/conferenceParticipant.ts +18 -0
  100. package/src/store/class/conference/pad.ts +15 -0
  101. package/src/store/class/conference/studioCall.ts +7 -0
  102. package/src/store/class/contract/contract.ts +7 -0
  103. package/src/store/class/contract/contractOrganisation.ts +7 -0
  104. package/src/store/class/ftp/ftpEmission.ts +41 -0
  105. package/src/store/class/ftp/ftpParam.ts +12 -0
  106. package/src/store/class/ftp/testFtpEmission.ts +5 -0
  107. package/src/store/class/general/audioView.ts +21 -0
  108. package/src/store/class/{category.ts → general/category.ts} +1 -1
  109. package/src/store/class/general/comment.ts +16 -0
  110. package/src/store/class/general/customPlayer.ts +8 -0
  111. package/src/store/class/{emission.ts → general/emission.ts} +2 -2
  112. package/src/store/class/general/fetchParam.ts +33 -0
  113. package/src/store/class/general/initState.ts +25 -0
  114. package/src/store/class/general/ituneCategory.ts +5 -0
  115. package/src/store/class/general/media.ts +14 -0
  116. package/src/store/class/general/organisation.ts +19 -0
  117. package/src/store/class/general/pageable.ts +13 -0
  118. package/src/store/class/{participant.ts → general/participant.ts} +0 -0
  119. package/src/store/class/{player.ts → general/player.ts} +0 -0
  120. package/src/store/class/{playlist.ts → general/playlist.ts} +2 -2
  121. package/src/store/class/{podcast.ts → general/podcast.ts} +2 -1
  122. package/src/store/class/general/sortPageable.ts +5 -0
  123. package/src/store/class/general/soundcastCategory.ts +8 -0
  124. package/src/store/class/ouestFrance/ofTag.ts +36 -0
  125. package/src/store/class/ouestFrance/ofTagInfo.ts +9 -0
  126. package/src/store/class/ouestFrance/ofTagPage.ts +7 -0
  127. package/src/store/class/ouestFrance/ofTagSeo.ts +7 -0
  128. package/src/store/class/ouestFrance/ofTagVente.ts +6 -0
  129. package/src/store/class/ouestFrance/ofTagWithParents.ts +26 -0
  130. package/src/store/class/rss/aggregator.ts +28 -0
  131. package/src/store/class/rss/rssEmission.ts +14 -0
  132. package/src/store/class/rss/rssInfo.ts +8 -0
  133. package/src/store/class/{rubriquage.ts → rubrique/rubriquage.ts} +0 -0
  134. package/src/store/class/rubrique/rubriquageFilter.ts +6 -0
  135. package/src/store/class/rubrique/rubrique.ts +8 -0
  136. package/src/store/class/stat/statArrayIncome.ts +6 -0
  137. package/src/store/class/stat/statArrayObject.ts +34 -0
  138. package/src/store/class/stat/statGraph.ts +7 -0
  139. package/src/store/class/{person.ts → user/person.ts} +2 -2
  140. package/src/store/class/user/profile.ts +12 -0
  141. package/src/store/class/user/userKeycloak.ts +24 -0
  142. package/src/store/paramStore.ts +1 -1
  143. package/src/store/typeAppStore.ts +10 -10
  144. package/src/store/class/comment.ts +0 -16
  145. package/src/store/class/conference.ts +0 -31
  146. package/src/store/class/customPlayer.ts +0 -8
  147. package/src/store/class/fetchParam.ts +0 -33
  148. package/src/store/class/media.ts +0 -14
  149. package/src/store/class/organisation.ts +0 -19
  150. package/src/store/class/rubriquageFilter.ts +0 -6
  151. package/src/store/class/rubrique.ts +0 -9
@@ -1,43 +1,23 @@
1
1
  <template>
2
2
  <div class="page-box">
3
- <h1 v-if="!hideBar">
4
- {{ $t('Podcast search') }}
3
+ <h1>
4
+ <template v-if="!hideBar">
5
+ {{ $t('Podcast search') }}
6
+ </template>
7
+ <template v-else-if="!noResult">
8
+ {{ $t('Search results', { query: rawQuery }) }}
9
+ </template>
10
+ <template v-else>
11
+ {{ $t('Search - no results', { query: rawQuery }) }}
12
+ </template>
5
13
  </h1>
6
- <h1 v-else-if="!noResult">
7
- {{ $t('Search results', { query: rawQuery }) }}
8
- </h1>
9
- <h1 v-else>
10
- {{ $t('Search - no results', { query: rawQuery }) }}
11
- </h1>
12
- <div
14
+ <ClassicSearch
13
15
  v-if="!hideBar"
14
- class="position-relative champs-searchPage w-75"
15
- >
16
- <input
17
- id="search"
18
- ref="search"
19
- v-model="rawQuery"
20
- type="text"
21
- class="search-input border-primary w-100 p-2 input-no-outline"
22
- :placeholder="$t('Please type at least three characters')"
23
- autofocus
24
- @change="onSearchBegin"
25
- >
26
- <label
27
- for="search"
28
- class="d-inline"
29
- :aria-label="$t('Search')"
30
- />
31
- <div
32
- v-if="!rawQuery"
33
- class="saooti-search-bounty search-icon-container"
34
- />
35
- <div
36
- v-else
37
- class="saooti-cross search-icon-container c-hand"
38
- @click="rawQuery = ''"
39
- />
40
- </div>
16
+ v-model:textInit="rawQuery"
17
+ :autofocus="true"
18
+ id-checkbox="search-page-input"
19
+ :label="$t('Please type at least three characters')"
20
+ />
41
21
  <PodcastList
42
22
  v-if="!!query"
43
23
  :query="query"
@@ -50,6 +30,7 @@
50
30
 
51
31
  <script lang="ts">
52
32
  import { state } from '../../store/paramStore';
33
+ import ClassicSearch from '../form/ClassicSearch.vue';
53
34
  import PodcastList from '../display/podcasts/PodcastList.vue';
54
35
  import { defineComponent } from 'vue';
55
36
  export default defineComponent({
@@ -57,6 +38,7 @@ export default defineComponent({
57
38
 
58
39
  components: {
59
40
  PodcastList,
41
+ ClassicSearch
60
42
  },
61
43
 
62
44
  props: {
@@ -81,12 +63,13 @@ export default defineComponent({
81
63
  },
82
64
 
83
65
  watch: {
84
- query: {
85
- handler(search: string): void {
86
- this.rawQuery = search;
87
- },
88
- deep: true,
89
- immediate: true,
66
+ rawQuery(): void{
67
+ if (this.hideBar) {
68
+ this.noResult = false;
69
+ }
70
+ },
71
+ query(): void{
72
+ this.rawQuery = this.query;
90
73
  },
91
74
  queryRoute(): void{
92
75
  this.rawQuery = this.queryRoute;
@@ -97,9 +80,6 @@ export default defineComponent({
97
80
  if (this.queryRoute) {
98
81
  this.rawQuery = this.queryRoute;
99
82
  }
100
- if (this.$refs.search) {
101
- (this.$refs.search as HTMLElement).focus();
102
- }
103
83
  },
104
84
 
105
85
  methods: {
@@ -108,24 +88,6 @@ export default defineComponent({
108
88
  this.noResult = true;
109
89
  }
110
90
  },
111
- onSearchBegin(): void {
112
- if (this.hideBar) {
113
- this.noResult = false;
114
- }
115
- },
116
91
  },
117
92
  })
118
- </script>
119
-
120
- <style lang="scss">
121
- .champs-searchPage {
122
- margin: 0 auto;
123
- input {
124
- margin: 1rem 0 !important;
125
- padding-right: 40px !important;
126
- }
127
- .search-icon-container {
128
- margin: 0 1em 0 0;
129
- }
130
- }
131
- </style>
93
+ </script>
@@ -0,0 +1,13 @@
1
+ import { AdserverTiming } from "./adserverTiming";
2
+ import { Organisation } from "../general/organisation";
3
+
4
+ export interface AdserverOtherEmission {
5
+ config: {
6
+ doublets: Array<AdserverTiming>;
7
+ minIntervalDuration: number;
8
+ minTailDuration: number;
9
+ server: string;
10
+ }
11
+ elected: string;
12
+ organisation: Organisation;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { Media } from '../general/media';
2
+
3
+ export interface Cartouche {
4
+ mediaId?: number;
5
+ media?: Media;
6
+ title?: string;
7
+ cartoucheId?: number;
8
+ colorId?: string;
9
+ level?: number;
10
+ id: number;
11
+ width: number;
12
+ interval?:number;
13
+ elapsed?:number;
14
+ loop?:boolean;
15
+ }
@@ -0,0 +1,9 @@
1
+ import { Cartouche } from "./cartouche";
2
+
3
+ export interface Cartouchier {
4
+ cartouchierId?: number;
5
+ title: string;
6
+ organisationId: string;
7
+ cartouches: {[key:string] : Cartouche};
8
+ cartoucheComplete?: {[key:string] : Cartouche};
9
+ }
@@ -0,0 +1,35 @@
1
+ export interface Conference{
2
+ album?: string;
3
+ artist?: string;
4
+ conferenceId: number;
5
+ conferenceUrlIdentifier?: string;
6
+ date?: string;
7
+ debriefingDate?: string;
8
+ deletionAttempts?: number;
9
+ directCode?: string;
10
+ hostname?: string;
11
+ jingleDuration?: number;
12
+ jingleFilePath?: string;
13
+ jingleId?: number;
14
+ mediaId?: number;
15
+ organisationId?: string;
16
+ participants?: Array<{
17
+ conferenceGuestId: number,
18
+ fullName: string,
19
+ keycloakId:string,
20
+ kind: string,
21
+ sipIdentifier:string}>;
22
+ phone?: string;
23
+ podcastId?: number;
24
+ prefix?: {[key:string]:string};
25
+ queueCode?: string;
26
+ recordDate?: string;
27
+ recordingPort?: number;
28
+ status?: string;
29
+ title: string;
30
+ token?: string;
31
+ orderStatus?:number;
32
+ websocket?: string;
33
+ interval?: ReturnType<typeof setTimeout>;
34
+ duration?:number;
35
+ }
@@ -0,0 +1,10 @@
1
+ import { Conference } from './conference';
2
+
3
+ export interface ConferenceMessage {
4
+ conference?: Conference;
5
+ date: string;
6
+ message: string;
7
+ messageId?: number;
8
+ userId: string;
9
+ username: string;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { Conference } from './conference';
2
+
3
+ export interface ConferenceParticipant {
4
+ conference?: Conference;
5
+ conferenceGuestId?: number;
6
+ fullName: string;
7
+ keycloakId?: string;
8
+ kind?: string;
9
+ sipIdentifier?: string;
10
+ sipPassword?: string;
11
+ muted?: boolean;
12
+ talking?: boolean;
13
+ memberId?: number;
14
+ callerNumber?: string;
15
+ callerName?: string;
16
+ gain?: number;
17
+ img?: string;
18
+ }
@@ -0,0 +1,15 @@
1
+ export interface Pad {
2
+ lineId: number;
3
+ ligneId?: number;
4
+ interval?: number;
5
+ paletteId?: number;
6
+ loop?: boolean;
7
+ volume?: number;
8
+ automix?: boolean;
9
+ url?: string;
10
+ duration?: number;
11
+ mediaId?: number;
12
+ fadeInMode?: string;
13
+ fadeInDuration?: number;
14
+ elapsed?: number;
15
+ }
@@ -0,0 +1,7 @@
1
+ export interface StudioCall {
2
+ callId: string;
3
+ display: string;
4
+ muted: boolean;
5
+ number: string;
6
+ result: boolean;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface Contract {
2
+ contractName: string;
3
+ id: string;
4
+ updateDate: string;
5
+ validationDate: string;
6
+ contratType?: string;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { Contract } from "./contract";
2
+
3
+ export interface ContractOrganisation{
4
+ contractList: Array<Contract>;
5
+ enable: boolean;
6
+ valide: boolean;
7
+ }
@@ -0,0 +1,41 @@
1
+ export interface FtpEmission {
2
+ email: string;
3
+ serverId: number | undefined;
4
+ emissionId: number | undefined;
5
+ regexp: string;
6
+ directory: string;
7
+ formatDescription: string;
8
+ formatTitre: string;
9
+ rubriqueIds: Array<number>;
10
+ guests: Array<number>;
11
+ formatDate: string;
12
+ parsingDate: string;
13
+ visibility: boolean;
14
+ commentable: string;
15
+ animators: Array<number>;
16
+ tags: Array<string>;
17
+ importType: string;
18
+ validePodcast?: number;
19
+ tooLong?: number;
20
+ spoilPodcast?: number;
21
+ }
22
+ export function emptyFtpEmission(): FtpEmission {
23
+ return {
24
+ email: '',
25
+ serverId: undefined,
26
+ emissionId: undefined,
27
+ regexp: '',
28
+ directory: '',
29
+ formatDescription: '',
30
+ formatTitre: '',
31
+ rubriqueIds: [],
32
+ guests: [],
33
+ formatDate: '',
34
+ parsingDate: '',
35
+ visibility: true,
36
+ commentable: 'INHERIT',
37
+ animators: [],
38
+ tags: [],
39
+ importType: 'standard',
40
+ };
41
+ }
@@ -0,0 +1,12 @@
1
+ export interface FtpParam {
2
+ domain: string;
3
+ ftpProtocol: string;
4
+ id: number;
5
+ login: string;
6
+ organisationId: string;
7
+ secureFile: string;
8
+ port: number;
9
+ version: number;
10
+ name: string;
11
+ delay: number;
12
+ }
@@ -0,0 +1,5 @@
1
+ export interface TestFtpEmission {
2
+ validePodcast?: number,
3
+ tooLong?: number,
4
+ spoilPodcast?: number,
5
+ }
@@ -0,0 +1,21 @@
1
+ import { Podcast } from "./podcast";
2
+ export interface AudioView {
3
+ audioStorageUrl: string;
4
+ creationParam : Podcast;
5
+ logs: Array<string>;
6
+ sendSuccess: boolean;
7
+ publisherId:string;
8
+ creation: Date;
9
+ creationPod: string;
10
+ duration: number;
11
+ id: number;
12
+ immediate: boolean;
13
+ localUrl: string;
14
+ notifiedEmail: string;
15
+ originalName: string;
16
+ original: Int8Array;
17
+ size: number;
18
+ status: string;
19
+ tags: {[key:string]: string};
20
+ priority: string;
21
+ }
@@ -1,4 +1,4 @@
1
- import { AdserverConfig } from "./adserverConfig";
1
+ import { AdserverConfig } from "../adserver/adserverConfig";
2
2
  export interface Category {
3
3
  id: number;
4
4
  name: string;
@@ -0,0 +1,16 @@
1
+ export interface CommentPodcast {
2
+ comId?: number;
3
+ content: string;
4
+ name: string;
5
+ organisationId?: string;
6
+ userId?: string;
7
+ podcastId?: number;
8
+ commentIdReferer?: number;
9
+ timeline?: number;
10
+ status?: string;
11
+ certified?: boolean;
12
+ phase?: string;
13
+ date?: string;
14
+ relatedComments?: number;
15
+ relatedValidComments?: number;
16
+ }
@@ -0,0 +1,8 @@
1
+ export interface CustomPlayer{
2
+ customId: number,
3
+ organisationId: string,
4
+ template: string,
5
+ css: string,
6
+ typePlayer: string,
7
+ name: string
8
+ }
@@ -1,6 +1,6 @@
1
- import { AdserverConfig } from './adserverConfig';
1
+ import { AdserverConfig } from '../adserver/adserverConfig';
2
2
  import { Organisation } from './organisation';
3
- import { Person } from './person';
3
+ import { Person } from '../user/person';
4
4
 
5
5
  export interface Emission {
6
6
  imageUrl?: string;
@@ -0,0 +1,33 @@
1
+ export interface FetchParam{
2
+ first?: number,
3
+ size?: number,
4
+ organisationId?: string,
5
+ emissionId?: number,
6
+ podcastId?:number,
7
+ iabId?: number,
8
+ participantId?: number,
9
+ query?: string,
10
+ monetisable?: string,
11
+ sort?: string,
12
+ before?: string,
13
+ after?: string,
14
+ noRubriquageId?: Array<number>,
15
+ rubriqueId?:Array<number>,
16
+ rubriquageId?: Array<number>|number,
17
+ status?:Array<string>,
18
+ distributedBy?: string,
19
+ includeHidden?:boolean,
20
+ validity?:boolean,
21
+ publisherId?: string,
22
+ lang?:string,
23
+ start?:string,
24
+ end?:string,
25
+ interval?: string,
26
+ tzId?: string,
27
+ role?: string,
28
+ includeNotValid?: boolean,
29
+ type?: string,
30
+ listening?: string,
31
+ top?: number,
32
+ homePageOrder?:boolean,
33
+ }
@@ -0,0 +1,25 @@
1
+ export interface InitState {
2
+ accessToken: string;
3
+ accessTokenUri: string;
4
+ apiUri: string;
5
+ authenticated: boolean;
6
+ captchaDevelopmentProfil: boolean;
7
+ clientId: string;
8
+ commentsUri: string;
9
+ expiration: string;
10
+ frontendUri: string;
11
+ ftpUri: string;
12
+ hlsUri: string;
13
+ isEducation: boolean;
14
+ keycloakApiUri: string;
15
+ mediaUri: string;
16
+ name: string;
17
+ playerUri: string;
18
+ processorUri:string;
19
+ refreshToken: string;
20
+ role: Array<string>;
21
+ rssUri: string;
22
+ rtmpUri: string;
23
+ storageUri: string;
24
+ studioUri: string;
25
+ }
@@ -0,0 +1,5 @@
1
+ export interface ItuneCategory {
2
+ level1: string,
3
+ level2?: string,
4
+ id?: number,
5
+ }
@@ -0,0 +1,14 @@
1
+ export interface Media {
2
+ mediaId: number;
3
+ imageUrl?: string;
4
+ organisationId: string;
5
+ title: string;
6
+ year?: string;
7
+ type?: string;
8
+ artiste?: string;
9
+ album?: string;
10
+ creation?: string;
11
+ duration?: number;
12
+ filePath?: string;
13
+ audioUrl: string;
14
+ }
@@ -0,0 +1,19 @@
1
+ import { Person } from "../user/person";
2
+
3
+ export interface Organisation{
4
+ imageUrl: string;
5
+ admin?: Person;
6
+ comments?: string;
7
+ attributes?: {[key: string]:string|number|boolean|undefined}|undefined;
8
+ description?: string;
9
+ id: string;
10
+ location?: {
11
+ longitude: number;
12
+ latitude: number;
13
+ };
14
+ monetisable?: string;
15
+ name: string;
16
+ notSeenOnKeycloak?: number;
17
+ score?: number;
18
+ soundcastId?: string;
19
+ }
@@ -0,0 +1,13 @@
1
+ import { SortPageable } from "./sortPageable";
2
+
3
+ export interface Pageable {
4
+ offset: number;
5
+ pageNumber: number;
6
+ pageSize: number;
7
+ paged: boolean;
8
+ sort: SortPageable;
9
+ empty: boolean;
10
+ sorted: boolean;
11
+ unsorted: boolean;
12
+ unpaged: boolean;
13
+ }
File without changes
@@ -1,5 +1,5 @@
1
- import { Organisation } from './organisation';
2
- import { Person } from './person';
1
+ import { Organisation } from '../general/organisation';
2
+ import { Person } from '../user/person';
3
3
 
4
4
  export interface Playlist {
5
5
  imageUrl?: string;
@@ -1,7 +1,7 @@
1
1
  import { Emission } from './emission';
2
2
  import { Organisation } from './organisation';
3
3
  import { Participant } from './participant';
4
- import { Person } from './person';
4
+ import { Person } from '../user/person';
5
5
  export interface Podcast {
6
6
  imageUrl?: string;
7
7
  animators?: Array<Participant>;
@@ -35,6 +35,7 @@ export interface Podcast {
35
35
  score?: number;
36
36
  size?: number;
37
37
  tags?: Array<string>;
38
+ ofTags? : Array<string>;
38
39
  title: string;
39
40
  weekDownloadCount?: number;
40
41
  order?: number;
@@ -0,0 +1,5 @@
1
+ export interface SortPageable {
2
+ empty: boolean;
3
+ sorted: boolean;
4
+ unsorted: boolean;
5
+ }
@@ -0,0 +1,8 @@
1
+ export interface SoundcastCategory {
2
+ content_category_id: number;
3
+ content_category_name: string;
4
+ name:string;
5
+ network_id: string;
6
+ site_id: string;
7
+ uuid: string;
8
+ }
@@ -0,0 +1,36 @@
1
+ export interface OfTag{
2
+ actif: boolean;
3
+ chemin: string;
4
+ dateMaj: string;
5
+ entites: Array<string>;
6
+ id: string;
7
+ idDrupal: string;
8
+ ignoreCommuneInactive: boolean;
9
+ ignorePage: boolean;
10
+ ignorePush: boolean;
11
+ ignoreSeo: boolean;
12
+ noms: Array<string>;
13
+ redactions: Array<string>;
14
+ slug: string;
15
+ source: string;
16
+ version: number;
17
+ }
18
+ export function emptyOfTag(): OfTag {
19
+ return {
20
+ actif: false,
21
+ chemin: "",
22
+ dateMaj: "",
23
+ entites: [],
24
+ id: "fakeTag",
25
+ idDrupal: "fakeTag",
26
+ ignoreCommuneInactive: false,
27
+ ignorePage: false,
28
+ ignorePush: false,
29
+ ignoreSeo: false,
30
+ noms: [],
31
+ redactions: [],
32
+ slug: "",
33
+ source: "",
34
+ version: 0
35
+ };
36
+ }
@@ -0,0 +1,9 @@
1
+ export interface OfTagInfo{
2
+ communeInactive: boolean;
3
+ dateMaj: string;
4
+ id: string;
5
+ utilisationDebut: string;
6
+ utilisationFin:string;
7
+ utilisationNbArticles: number;
8
+ version: number;
9
+ }
@@ -0,0 +1,7 @@
1
+ export interface OfTagPage{
2
+ dateMaj: string;
3
+ id: string;
4
+ titre: string;
5
+ type: string;
6
+ version: number;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface OfTagSeo{
2
+ dateMaj: string;
3
+ description: string;
4
+ id: string;
5
+ titre: string;
6
+ version: number;
7
+ }
@@ -0,0 +1,6 @@
1
+ export interface OfTagVente{
2
+ dateMaj: string;
3
+ id: string;
4
+ version: number;
5
+ zoneCommerciale: string;
6
+ }