export const emptyInputs = {
  emptyObject: {},
  nullInput: null,
  undefinedInput: undefined,
  expectedOutput: {}
};

export const noValidPackageIdsInput = {
  input: {
    standard: [
      { _id: '1', definition: { stickerUrl: 'url1' } },
      { _id: '2', definition: {} }
    ],
    custom: [
      { _id: '3', definition: null },
      { _id: '4' }
    ]
  },
  expectedOutput: {}
};

export const singleCategoryInput = {
  input: {
    standard: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } },
      { _id: '2', definition: { packageId: 'pkg1', stickerUrl: 'url2' } },
      { _id: '3', definition: { packageId: 'pkg2', stickerUrl: 'url3' } }
    ]
  },
  expectedOutput: {
    pkg1: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } },
      { _id: '2', definition: { packageId: 'pkg1', stickerUrl: 'url2' } }
    ],
    pkg2: [
      { _id: '3', definition: { packageId: 'pkg2', stickerUrl: 'url3' } }
    ]
  }
};

export const multipleCategoriesInput = {
  input: {
    standard: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } },
      { _id: '2', definition: { packageId: 'pkg2', stickerUrl: 'url2' } }
    ],
    custom: [
      { _id: '3', definition: { packageId: 'pkg1', stickerUrl: 'url3' } },
      { _id: '4', definition: { packageId: 'pkg3', stickerUrl: 'url4' } }
    ],
    extended: [
      { _id: '5', definition: { packageId: 'pkg2', stickerUrl: 'url5' } }
    ]
  },
  expectedOutput: {
    pkg1: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } },
      { _id: '3', definition: { packageId: 'pkg1', stickerUrl: 'url3' } }
    ],
    pkg2: [
      { _id: '2', definition: { packageId: 'pkg2', stickerUrl: 'url2' } },
      { _id: '5', definition: { packageId: 'pkg2', stickerUrl: 'url5' } }
    ],
    pkg3: [
      { _id: '4', definition: { packageId: 'pkg3', stickerUrl: 'url4' } }
    ]
  }
};

export const nonArrayCategoriesInput = {
  input: {
    standard: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } }
    ],
    custom: 'not an array',
    extended: null
  },
  expectedOutput: {
    pkg1: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } }
    ]
  }
};

export const mixedStickerDataInput = {
  input: {
    standard: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } },
      { _id: '2', definition: { stickerUrl: 'url2' } },
      { _id: '3' }
    ],
    custom: [
      { _id: '4', definition: { packageId: 'pkg1', stickerUrl: 'url4' } },
      { _id: '5', definition: { packageId: null, stickerUrl: 'url5' } }
    ]
  },
  expectedOutput: {
    pkg1: [
      { _id: '1', definition: { packageId: 'pkg1', stickerUrl: 'url1' } },
      { _id: '4', definition: { packageId: 'pkg1', stickerUrl: 'url4' } }
    ]
  }
}; 