Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/examples/s3-storage-implementation.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { IFileStorage, AttachmentData, FileStorageOptions } from '@objectql/server';
import { S3Client, PutObjectCommand, GetObjectCommand, DeleteObjectCommand } from '@aws-sdk/client-s3';
import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
Expand Down
8 changes: 8 additions & 0 deletions examples/drivers/excel-demo/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Excel Driver Demo
*
Expand Down
8 changes: 8 additions & 0 deletions examples/drivers/fs-demo/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ObjectQL } from '@objectql/core';
import { FileSystemDriver } from '@objectql/driver-fs';
import * as path from 'path';
Expand Down
8 changes: 8 additions & 0 deletions examples/integrations/browser/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { defineConfig } from 'vite';
import { resolve } from 'path';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Data API Tests for Express API Starter
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Metadata API Tests for Express API Starter
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Metadata Loading Tests for Express API Starter
*
Expand Down
8 changes: 8 additions & 0 deletions examples/integrations/express-server/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
Expand Down
8 changes: 8 additions & 0 deletions examples/integrations/express-server/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import express from 'express';
import { ObjectQL } from '@objectql/core';
import { SqlDriver } from '@objectql/driver-sql';
Expand Down
8 changes: 8 additions & 0 deletions examples/quickstart/hello-world/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ObjectQL } from '@objectql/core';
import { SqlDriver } from '@objectql/driver-sql';

Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/__tests__/data-api.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Data API Tests for Enterprise Starter
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Metadata API Tests for Enterprise Starter
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Metadata Loading Tests for Enterprise Starter
*
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/core/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Core Module - Foundation Objects
*
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/extensions/user.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

// Auto-generated by ObjectQL. DO NOT EDIT.
import { ObjectDoc } from '@objectql/types';

Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ObjectQL } from '@objectql/core';
import { SqlDriver } from '@objectql/driver-sql';
import { ObjectLoader } from '@objectql/platform-node';
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/modules/crm/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* CRM Module - Customer Relationship Management
*
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/modules/finance/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Finance Module - Finance & Accounting
*
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/modules/hr/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* HR Module - Human Resources Management
*
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/modules/project/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Project Module - Project Management
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ObjectQLPlugin, IObjectQL, MutationHookContext } from '@objectql/types';

export class AuditLogPlugin implements ObjectQLPlugin {
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/plugins/audit/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

// Export the plugin for external usage
export * from './audit.plugin';

Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/shared/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Shared constants used across the application
*/
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/shared/utils.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Shared utility functions
*/
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/enterprise-erp/src/shared/validators.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Shared validation utilities
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* Comprehensive Test Suite for Project Hooks and Actions
*
Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/project-tracker/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ActionDefinition } from '@objectql/types';
import { Projects } from '../../types';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ObjectHookDefinition } from '@objectql/types';
import { Projects } from '../../types';

Expand Down
8 changes: 8 additions & 0 deletions examples/showcase/project-tracker/src/seed.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

import { ObjectQL } from '@objectql/core';
import { SqlDriver } from '@objectql/driver-sql';
import { ObjectLoader } from '@objectql/platform-node';
Expand Down
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

module.exports = {
projects: [
'<rootDir>/packages/foundation/*',
Expand Down
8 changes: 8 additions & 0 deletions objectql.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* ObjectQL
* Copyright (c) 2026-present ObjectStack Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

export default {
datasource: {
default: {
Expand Down
Loading
Loading