Skip to content

docs: add Apache 2.0 LICENSE file and component/service reuse documentation#4

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-features-from-xcode-repositories
Draft

docs: add Apache 2.0 LICENSE file and component/service reuse documentation#4
Copilot wants to merge 2 commits intomainfrom
copilot/add-features-from-xcode-repositories

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

Source files already declared SPDX-License-Identifier: Apache-2.0 but no LICENSE file existed in the repo, and the README had no documentation on available components or services.

Changes

  • LICENSE — Added full Apache 2.0 license text, formalizing the rights already declared in file headers
  • README.md — Expanded with:
    • Bilingual (PT/EN) license notice confirming code reuse is permitted
    • Full project structure map
    • Reusable component docs with usage examples: Button, ProductCard, CartDrawer, Assistant, ImageGenerator
    • Reusable service docs with usage examples: GeminiAdapter (chat + image gen), cache
    • Exported TypeScript types overview

Example — reusing the AI adapter in another app:

import { GeminiAdapter } from './services/aiAdapter';

const reply = await GeminiAdapter.sendMessage(history, 'Hello', 'fast');
const imageUrl = await GeminiAdapter.generateImage('minimalist white crib');

Reuse is permitted under Apache 2.0 — original license headers must be retained.


⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.

… reuse documentation

Co-authored-by: avila2026 <265126500+avila2026@users.noreply.github.com>
Agent-Logs-Url: https://github.com/avila2026/site-MATERNIDADE/sessions/d9493645-61dc-476e-9b4d-191d0fb03f64
Copilot AI changed the title [WIP] Add features from multiple Xcode repositories docs: add Apache 2.0 LICENSE file and component/service reuse documentation Mar 20, 2026
Copilot AI requested a review from avila2026 March 20, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants