Skip to content

Commit

Permalink
Rename packages and repository references (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulLeCam authored Apr 15, 2024
1 parent 996989c commit db643ec
Show file tree
Hide file tree
Showing 26 changed files with 691 additions and 1,222 deletions.
13 changes: 13 additions & 0 deletions composites/points/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Points composite

Composite for interfaces and simple models to interact with points on Ceramic using ComposeDB.

## Installation

```sh
npm install @ceramic-solutions/points-composite
```

## License

Dual licensed under MIT and Apache 2
6 changes: 3 additions & 3 deletions composites/points/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@composexp/points-composite",
"name": "@ceramic-solutions/points-composite",
"version": "0.1.0",
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"repository": {
"type": "git",
"url": "https://github.com/ceramicstudio/solutions",
"url": "https://github.com/ceramicstudio/solutions-sdk",
"directory": "composites/points"
},
"type": "module",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@composedb/types": "^0.7.1",
"@composexp/composite-utils": "workspace:^",
"@ceramic-solutions/composite-utils": "workspace:^",
"@types/node": "^20.12.7",
"tsx": "^4.7.2"
}
Expand Down
2 changes: 1 addition & 1 deletion composites/points/scripts/write-composite.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { join } from 'node:path'
import { fileURLToPath } from 'node:url'
import { writeComposite } from '@composexp/composite-utils'
import { writeComposite } from '@ceramic-solutions/composite-utils'

const PACKAGE_PATH = fileURLToPath(new URL('..', import.meta.url))

Expand Down
14 changes: 7 additions & 7 deletions demo/server/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@composexp/server",
"name": "@ceramic-solutions/server-demo",
"version": "0.1.0",
"private": true,
"author": "3Box Labs",
"license": "(Apache-2.0 OR MIT)",
"repository": {
"type": "git",
"url": "https://github.com/ceramicstudio/solutions",
"url": "https://github.com/ceramicstudio/solutions-sdk",
"directory": "demo/server"
},
"type": "module",
Expand Down Expand Up @@ -35,15 +35,15 @@
"start": "node ."
},
"devDependencies": {
"@ceramic-solutions/ceramic-utils": "workspace:^",
"@ceramic-solutions/did-utils": "workspace:^",
"@ceramic-solutions/points": "workspace:^",
"@types/cors": "^2.8.15",
"@types/express": "^4.17.20",
"key-did-provider-ed25519": "^2.0.1",
"key-did-resolver": "^2.1.3",
"key-did-provider-ed25519": "^4.0.2",
"key-did-resolver": "^4.0.0",
"nodemon": "^3.1.0",
"ts-node": "^10.9.1",
"@composexp/points": "workspace:^",
"@composexp/ceramic-utils": "workspace:^",
"@composexp/did-utils": "workspace:^",
"uint8arrays": "^5.0.3"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion demo/server/src/controllers/multiController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getContext } from '../utils/context.js'
import { Request, Response, NextFunction } from 'express'
import { PointsWriter, PointsReader } from '@composexp/points'
import { PointsWriter, PointsReader } from '@ceramic-solutions/points'

type ContextAggregationContent = {
recipient: string
Expand Down
2 changes: 1 addition & 1 deletion demo/server/src/controllers/singleController.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getContext } from '../utils/context.js'
import { Request, Response, NextFunction } from 'express'
import { SinglePointReader, SinglePointWriter } from '@composexp/points'
import { SinglePointReader, SinglePointWriter } from '@ceramic-solutions/points'

export interface CreateSinglePointRequest extends Request {
body: {
Expand Down
4 changes: 2 additions & 2 deletions demo/server/src/utils/context.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getAuthenticatedDID } from '@composexp/did-utils'
import { getAuthenticatedDID } from '@ceramic-solutions/did-utils'
import { fromString } from 'uint8arrays'
import { CeramicClient } from '@ceramicnetwork/http-client'
import 'dotenv/config.js'
Expand All @@ -14,7 +14,7 @@ export const getContext = async (): Promise<Context> => {
const aggregationModelID: string = process.env.AGGREGATION_ID || ''

//eslint-disable-next-line
const key = fromString(CERAMIC_PRIVATE_KEY, 'base16') as Uint8Array
const key = fromString(CERAMIC_PRIVATE_KEY, 'base16') as Uint8Array

const ceramic = new CeramicClient(CERAMIC_URL)
ceramic.did = await getAuthenticatedDID(key)
Expand Down
4 changes: 2 additions & 2 deletions demo/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "1.0.0",
"dependencies": {
"@ceramicnetwork/http-client": "^5.6.0",
"@composexp/did-utils": "workspace:^",
"@composexp/points": "workspace:^",
"@ceramic-solutions/did-utils": "workspace:^",
"@ceramic-solutions/points": "workspace:^",
"uint8arrays": "^5.0.3"
}
}
20 changes: 10 additions & 10 deletions docs/api/classes/points.PointsReader.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@

#### Defined in

[libraries/points/src/points-reader.ts:45](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L45)
[libraries/points/src/points-reader.ts:45](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L45)

## Accessors

Expand All @@ -75,7 +75,7 @@

#### Defined in

[libraries/points/src/points-reader.ts:59](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L59)
[libraries/points/src/points-reader.ts:59](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L59)

___

Expand All @@ -89,7 +89,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:63](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L63)
[libraries/points/src/points-reader.ts:63](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L63)

___

Expand All @@ -103,7 +103,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:67](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L67)
[libraries/points/src/points-reader.ts:67](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L67)

___

Expand All @@ -117,7 +117,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:71](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L71)
[libraries/points/src/points-reader.ts:71](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L71)

## Methods

Expand All @@ -137,7 +137,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:95](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L95)
[libraries/points/src/points-reader.ts:95](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L95)

___

Expand All @@ -158,7 +158,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:75](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L75)
[libraries/points/src/points-reader.ts:75](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L75)

___

Expand All @@ -179,7 +179,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:87](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L87)
[libraries/points/src/points-reader.ts:87](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L87)

___

Expand All @@ -199,7 +199,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:100](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L100)
[libraries/points/src/points-reader.ts:100](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L100)

___

Expand All @@ -220,4 +220,4 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:106](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L106)
[libraries/points/src/points-reader.ts:106](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L106)
30 changes: 15 additions & 15 deletions docs/api/classes/points.PointsWriter.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

#### Defined in

[libraries/points/src/points-writer.ts:43](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-writer.ts#L43)
[libraries/points/src/points-writer.ts:43](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-writer.ts#L43)

## Accessors

Expand All @@ -88,7 +88,7 @@ PointsReader.aggregationModelID

#### Defined in

[libraries/points/src/points-reader.ts:59](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L59)
[libraries/points/src/points-reader.ts:59](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L59)

___

Expand All @@ -106,7 +106,7 @@ PointsReader.allocationModelID

#### Defined in

[libraries/points/src/points-reader.ts:63](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L63)
[libraries/points/src/points-reader.ts:63](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L63)

___

Expand All @@ -124,7 +124,7 @@ PointsReader.ceramic

#### Defined in

[libraries/points/src/points-reader.ts:67](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L67)
[libraries/points/src/points-reader.ts:67](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L67)

___

Expand All @@ -142,7 +142,7 @@ PointsReader.loader

#### Defined in

[libraries/points/src/points-reader.ts:71](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L71)
[libraries/points/src/points-reader.ts:71](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L71)

## Methods

Expand All @@ -164,7 +164,7 @@ PointsReader.loader

#### Defined in

[libraries/points/src/points-writer.ts:50](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-writer.ts#L50)
[libraries/points/src/points-writer.ts:50](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-writer.ts#L50)

___

Expand All @@ -188,7 +188,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:95](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L95)
[libraries/points/src/points-reader.ts:95](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L95)

___

Expand All @@ -213,7 +213,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:75](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L75)
[libraries/points/src/points-reader.ts:75](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L75)

___

Expand All @@ -238,7 +238,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:87](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L87)
[libraries/points/src/points-reader.ts:87](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L87)

___

Expand All @@ -262,7 +262,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:100](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L100)
[libraries/points/src/points-reader.ts:100](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L100)

___

Expand All @@ -287,7 +287,7 @@ ___

#### Defined in

[libraries/points/src/points-reader.ts:106](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-reader.ts#L106)
[libraries/points/src/points-reader.ts:106](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-reader.ts#L106)

___

Expand All @@ -307,7 +307,7 @@ ___

#### Defined in

[libraries/points/src/points-writer.ts:62](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-writer.ts#L62)
[libraries/points/src/points-writer.ts:62](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-writer.ts#L62)

___

Expand All @@ -329,7 +329,7 @@ ___

#### Defined in

[libraries/points/src/points-writer.ts:89](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-writer.ts#L89)
[libraries/points/src/points-writer.ts:89](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-writer.ts#L89)

___

Expand All @@ -350,7 +350,7 @@ ___

#### Defined in

[libraries/points/src/points-writer.ts:70](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-writer.ts#L70)
[libraries/points/src/points-writer.ts:70](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-writer.ts#L70)

___

Expand All @@ -377,4 +377,4 @@ ___

#### Defined in

[libraries/points/src/points-writer.ts:31](https://github.com/ceramicstudio/solutions/blob/63cb3ad5f3da236446973238558e1895a955200e/libraries/points/src/points-writer.ts#L31)
[libraries/points/src/points-writer.ts:31](https://github.com/ceramicstudio/solutions-sdk/blob/996989c557810301e582e300ab7215628488db96/libraries/points/src/points-writer.ts#L31)
Loading

0 comments on commit db643ec

Please sign in to comment.