{"version":3,"file":"organisation-CxyRYjC0.mjs","names":[],"sources":["../src/stores/class/general/organisation.ts"],"sourcesContent":["import { Person } from \"../user/person\";\n\nexport enum MonetisationOptions {\n  YES = 'YES',\n  NO = 'NO'\n}\n\nexport type OrganisationAttributes = {\n  //[key: string]: string | number | boolean | undefined;\n  automation?: string;\n  /** JSON */\n  'modify-podcast'?: string;\n  /** The URL to the podcastmaker of the organisation */\n  podcastmakerUrl?: string;\n  /** Text to speech parameters (JSON) */\n  ttsParams?: string;\n  /** Translation parameters (JSON) */\n  'translation-config'?: string;\n  /** Language of the RSS */\n  'rss-language'?: string;\n  /** Monetisation of the organisation */\n  MONETISABLE?: MonetisationOptions;\n  /** Privacy parameters (JSON) */\n  PRIVATE?: string;\n  /** Live recordings enabled */\n  'live.active'?: boolean;\n  /** Videos enabled */\n  'video.active'?: boolean;\n  /**\n   * List of rubriquage **names**.\n   * The rubriques from these rubriquage are stored in stats and can be queried\n   * upon.\n   */\n  rubriquage4MMIdentifier?: string;\n  /** Enable individualized stats */\n  nominal_analytic?: string;\n  /** Email of contact for RSS feed */\n  RSS_CONTACT?: string;\n  /** */\n  'allow-participant-rss'?: string;\n  /** Disallow RSS sharing */\n  noSharing?: string;\n  /** Geoblocage parameters (JSON) */\n  geoblocage?: string;\n};\n\nexport interface Organisation {\n  imageUrl: string;\n  admin?: Person;\n  comments?: string;\n  attributes?: OrganisationAttributes;\n  description?: string;\n  id: string;\n  location?: {\n    longitude: number;\n    latitude: number;\n  };\n  monetisable?: MonetisationOptions;\n  name: string;\n  notSeenOnKeycloak?: number;\n  score?: number;\n  privacy?: string;\n}\n\nexport function emptyOrganisationData(): Organisation {\n  return {\n    imageUrl: \"\",\n    id: \"\",\n    name: \"\"\n  };\n}\nexport function emptyOrgaData(defaultName: string): Organisation {\n  return {\n    imageUrl: \"/img/emptypodcast.webp\",\n    id: \"\",\n    name: defaultName\n  };\n}\n"],"mappings":";AAgEA,SAAgB,wBAAsC;CACpD,OAAO;EACL,UAAU;EACV,IAAI;EACJ,MAAM;CACR;AACF;AACA,SAAgB,cAAc,aAAmC;CAC/D,OAAO;EACL,UAAU;EACV,IAAI;EACJ,MAAM;CACR;AACF"}