"use strict";
/**
 * Mock YAML content for lightdash project config tests
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.validConfigWithLabeledOptions = exports.validConfigWithoutCustomGranularities = exports.invalidConfigCustomGranularityConflictsWithTimeFrames = exports.invalidConfigCustomGranularityNoLabel = exports.invalidConfigCustomGranularityNoSql = exports.validConfigWithCustomGranularities = exports.validConfigWithDateParameterFromDimension = exports.validConfigWithDateParameter = exports.validConfigWithMixedArrayTypes = exports.validConfigWithStringTypeExplicit = exports.validConfigWithNumberArrayParameter = exports.validConfigWithNumberParameter = exports.invalidConfigWithIncompleteOptionsFromDimension = exports.configWithEmptyOptionsArray = exports.invalidConfigWithAllowCustomValuesFalse = exports.invalidConfigWithNoOptions = exports.validConfigWithAllowCustomValues = exports.validConfigWithOptionsFromDimension = exports.validConfigWithParameters = exports.emptyConfig = void 0;
exports.emptyConfig = '';
exports.validConfigWithParameters = `
spotlight:
  default_visibility: show
parameters:
  test_param:
    label: Test Parameter
    options:
      - option1
      - option2
`;
exports.validConfigWithOptionsFromDimension = `
spotlight:
  default_visibility: show
parameters:
  test_param:
    label: Test Parameter
    options_from_dimension:
      model: test_model
      dimension: test_dimension
`;
exports.validConfigWithAllowCustomValues = `
spotlight:
  default_visibility: show
parameters:
  test_param:
    label: Test Parameter
    allow_custom_values: true
`;
exports.invalidConfigWithNoOptions = `
spotlight:
  default_visibility: show
parameters:
  test_param:
    label: Test Parameter
`;
exports.invalidConfigWithAllowCustomValuesFalse = `
spotlight:
  default_visibility: show
parameters:
  test_param:
    label: Test Parameter
    allow_custom_values: false
`;
exports.configWithEmptyOptionsArray = `
spotlight:
  default_visibility: show
parameters:
  test_param:
    label: Test Parameter
    options: []
`;
exports.invalidConfigWithIncompleteOptionsFromDimension = `
spotlight:
  default_visibility: show
parameters:
  test_param:
    label: Test Parameter
    options_from_dimension:
      model: test_model
`;
exports.validConfigWithNumberParameter = `
spotlight:
  default_visibility: show
parameters:
  customer_id:
    label: Customer ID
    type: number
    default: 100
    options:
      - 100
      - 200
      - 300
`;
exports.validConfigWithNumberArrayParameter = `
spotlight:
  default_visibility: show
parameters:
  product_ids:
    label: Product IDs
    type: number
    multiple: true
    default:
      - 1
      - 2
      - 3
    options:
      - 1
      - 2
      - 3
      - 4
      - 5
`;
exports.validConfigWithStringTypeExplicit = `
spotlight:
  default_visibility: show
parameters:
  status:
    label: Status
    type: string
    default: active
    options:
      - active
      - inactive
      - pending
`;
exports.validConfigWithMixedArrayTypes = `
spotlight:
  default_visibility: show
parameters:
  customer_name:
    label: Customer Name
    type: string
    multiple: true
    default:
      - John
      - Jane
    options:
      - John
      - Jane
      - Bob
      - Alice
`;
exports.validConfigWithDateParameter = `
spotlight:
  default_visibility: show
parameters:
  start_date:
    label: Start Date
    type: date
    default: '2025-08-06'
    options:
      - '2025-08-06'
      - '2025-08-07'
      - '2025-08-08'
`;
exports.validConfigWithDateParameterFromDimension = `
spotlight:
  default_visibility: show
parameters:
  order_date:
    label: Order Date
    type: date
    options_from_dimension:
      model: orders
      dimension: order_date
`;
exports.validConfigWithCustomGranularities = `
spotlight:
  default_visibility: show
custom_granularities:
  slt_week:
    label: "SLT Week"
    sql: "DATE_TRUNC('week', \${COLUMN} + INTERVAL '2 days') - INTERVAL '2 days'"
  fiscal_quarter:
    label: "Fiscal Quarter"
    type: string
    sql: "'Q' || EXTRACT(QUARTER FROM \${COLUMN} + INTERVAL '1 month')"
`;
exports.invalidConfigCustomGranularityNoSql = `
spotlight:
  default_visibility: show
custom_granularities:
  bad:
    label: "Bad"
`;
exports.invalidConfigCustomGranularityNoLabel = `
spotlight:
  default_visibility: show
custom_granularities:
  bad:
    sql: "something"
`;
exports.invalidConfigCustomGranularityConflictsWithTimeFrames = `
spotlight:
  default_visibility: show
custom_granularities:
  week:
    label: "Custom Week"
    sql: "something"
`;
exports.validConfigWithoutCustomGranularities = `
spotlight:
  default_visibility: show
`;
exports.validConfigWithLabeledOptions = `
spotlight:
  default_visibility: show
parameters:
  status:
    label: Status
    options:
      - label: Active
        value: "active_id_1"
      - label: Inactive
        value: "inactive_id_2"
`;
//# sourceMappingURL=loadLightdashProjectConfig.mock.js.map