{ "version": 3, "sources": ["../ui/app/constants/constants.js"], "sourcesContent": ["/*\nCopyright 2015-Present Couchbase, Inc.\n\nUse of this software is governed by the Business Source License included in\nthe file licenses/BSL-Couchbase.txt. As of the Change Date specified in that\nfile, in accordance with the Business Source License, use of this software will\nbe governed by the Apache License, Version 2.0, included in the file\nlicenses/APL2.txt.\n*/\n\nlet daysOfWeek = [\n 'Monday',\n 'Tuesday',\n 'Wednesday',\n 'Thursday',\n 'Friday',\n 'Saturday',\n 'Sunday'\n];\n\nlet knownAlerts = [\n 'auto_failover_node',\n 'auto_failover_maximum_reached',\n 'auto_failover_other_nodes_down',\n 'auto_failover_cluster_too_small',\n 'auto_failover_disabled',\n 'ip',\n 'disk',\n 'overhead',\n 'ep_oom_errors',\n 'ep_item_commit_failed',\n 'audit_dropped_events',\n 'indexer_ram_max_usage',\n 'ep_clock_cas_drift_threshold_exceeded',\n 'communication_issue',\n 'time_out_of_sync',\n 'disk_usage_analyzer_stuck',\n 'memory_threshold',\n 'history_size_warning',\n 'indexer_low_resident_percentage'\n];\n\nlet timeUnitToSeconds = {\n minute: 60,\n hour: 3600,\n day: 86400,\n week: 691200,\n month: 2678400,\n year: 31622400\n};\n\nlet docsLimit = 1000;\n\nlet docBytesLimit = 256 * 1024;\n\nlet viewsPerPageLimit = 6;\n\nlet IEC = {\n Ki: 1024,\n Mi: 1048576,\n Gi: 1073741824\n};\n\nlet servicesEnterprise = [\"kv\", \"n1ql\", \"index\", \"fts\", \"cbas\", \"eventing\", \"backup\"];\nlet servicesCE = [\"kv\", \"index\", \"fts\", \"n1ql\"];\n\nexport {\n daysOfWeek,\n knownAlerts,\n timeUnitToSeconds,\n docsLimit,\n docBytesLimit,\n viewsPerPageLimit,\n IEC,\n servicesEnterprise,\n servicesCE\n};\n"], "mappings": "AAUA,GAAI,YAAa,CACf,SACA,UACA,YACA,WACA,SACA,WACA,UAGE,YAAc,CAChB,qBACA,gCACA,iCACA,kCACA,yBACA,KACA,OACA,WACA,gBACA,wBACA,uBACA,wBACA,wCACA,sBACA,mBACA,4BACA,mBACA,uBACA,mCAGE,kBAAoB,CACtB,OAAQ,GACR,KAAM,KACN,IAAK,MACL,KAAM,OACN,MAAO,QACP,KAAM,UAGJ,UAAY,IAEZ,cAAgB,IAAM,KAEtB,kBAAoB,EAEpB,IAAM,CACR,GAAI,KACJ,GAAI,QACJ,GAAI,YAGF,mBAAqB,CAAC,KAAM,OAAQ,QAAS,MAAO,OAAQ,WAAY,UACxE,WAAa,CAAC,KAAM,QAAS,MAAO", "names": [] }